Research and Implementation of Linux-based Multi-core Parallelization on XviD Encoding
- Author
- WangShiYuan
- Advisor
- GaoFuXiang
- School
- Northeastern University
- Major
- Applied Computer Technology
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2011
- Downloads
- 30
- Citations
- 0
Abstract
With the rapid development of multimedia technology and the growing popularity of computer, the performance of the computer is changing continuously. Features on computer, for example, operational speed, large computation, powerful computing capacity, enhance constantly. Simultaneously, fast transferring and sharing of the High-quality video has become the main requirements by the Multimedia computer users at present. Most of the video codec is designed in single-core environment at the beginning. Nowadays, as the enhanced performance on the PC and Notebook and the present surge of multi-core computer, it becomes urgent and practical to develop software with the multi-core. At the same time, how to process large amounts of video data by more efficient and rational of the video codec on multi-core conditions is become the problem that should be solved as soon as possible.In this thesis, we aimed at the multi-core parallel development of application, with the help of Intel multi-core series development tools and the parallel development model TBB and based on Linux, the paralleling of a sequential program is analyzed by using Intel VTune Amplifier XE2011in XviD codec, and the hotspot of the application program is found. Then the corresponding parallel reconstruction is done by using TBB (Intel Thread Building Blocks) based on Intel SMP (Symmetric multiprocessing). Such as loop parallelization, memory parallelization, data parallelization, pipeline parallelization and task parallelization are contained in the corresponding parallel reconstruction. By using the Intel Thread Checker the parallel program is tested, then the video files are tested by the parallel program again and the results are analyzed and compared with the rate in the condition of serial program.Firstly, the research and development prospects of the Multi-core parallel software are introduced in this thesis. Then the direction of TBB, the required development tools, and the software and hardware development environment used in this design are introduced. The operation mechanism, implementation methods and programming methods of parallel development model TBB in Linux environment are focused on. Subsequently, the serial program of the XviD video codec is analyzed and studied. Then the structure of the serial program is introduced, the architecture of the XviD code is described, and the decoding process of each module and the relationship of modules are elaborated. Then, the parallelization improvement of source code is completed according to the characteristics and the structure of decoding program. Finally, the improved programs are tested in the experimental environment, and the result and data are analyzed. The results prove that the performance of the application can be greatly improved in the environment of multi-core.
Table of contents
Summary 5-6
Abstract 6-11
Chapter 1 Introduction 11-19
1.1 Introduction 11
1.2 research background situation and development prospects of research 11-15
1.2.1 multicore parallel software development applications 11-13
1.2.2 multicore parallel software 13-14
1.2.3 Status study of this subject purpose and significance of 14-15
1.2.4 of this topic 15
1.3本targets topics and main work 15-19
1.3.1 targets 15-16
1.3.2 main tasks 16-17 <br / > 1.3.3 important and difficult issues innovation 17
1.3.4 topics 17-19
Chapter 2 key technologies and research platforms 19 -29
2.1 parallelization model tool 19-20
2.1.1 parallelization model TBB 19-20
2.1.2 parallel development tools 20
2.2 Amdahl 's Law 20
2.3 development environment 20-24
2.3.1 development Platform 20-22
2.3.2 software environment 22-24
2.4 overall design 24-27
2.4.1 design Analysis 24
choice nbsp 2.4.2 parallel programming model ; 24-25
2.4.3 parallel development tool selection 25-26
2.4.4 parallel program development model 26-27
2.4. 5 parallel program development steps 27
2.5 Summary 27-29
Chapter 3 serial program can be parallelized research 29-53
3.1 traditional solutions 29-34
3.1.1 Linux POSIX thread library parallel programs 31
3.1.2 OpenMP parallel programs 31-32
3.1.3 MPI parallel program 32
3.1.4 TBB parallel programs 32-34
3.2 serial program structural features 34-46
3.2.1 serial program overall architecture software compiled 34
3.2.2 XviD video decoder implementation 34-36
3.2.3 decoding program flow analysis 36-44
3.2.4 herein decoder performance testing 44
3.2.5 serial program parallelization conditions 44-45
3.2.6 serial the possibility of parallel lines of program decoding performance 45-46
3.3 serial program analysis parallelization scheme 46-48
3.4 of the original program 48 - data 51
3.4.1 of the original program parallelization and loop parallelization function 49-50
3.4.2 of the original program parallelization analysis 50-51
3.5 parallel analysis of the original program overall solution 51
3.6 Summary 51-53
Chapter 4 serial program parallelization achieve 53-65
build 4.1 parallel environment overall architecture 53-54
4.2 concurrent design model 54-55
4.3 particle partitioning and loop parallelization achieve 55 -59
4.3.1 parallel_for loop parallelization achieve 55-58
4.3.2 parallel granularity division designs 58
divided 4.3.3 granularity achieve 58-59
4.4 memory parallel Implementation 59-60
4.5 data parallelism to achieve 60-61
4.6 pipelined parallel realization 61-63
4.7 task-level parallelism to achieve 63-64
4.7.1 TBB / scheduler_init task scheduler designed 63
4.7.2 TBB / task design 63-64
4.8 Summary 64-65
Chapter 5 parallel program debugging and running 65-75
5.1 use Intel C Compiler debugging program 65
5.2 Intel thread checker debugging 65-66
5.3 parallel program evaluation 66-73
5.3.1 evaluation conditions 66-67
5.3.2 serial program evaluation 67-69
5.3.3 parallel program evaluation 69-73
5.4 Summary 73 -75
Chapter 6 Conclusion work 75-77
6.1 This article summarizes 75
6.2 Prospects for further work 75-77
References 77-81
Thanks 81-83
studying for a master's degree theses published 83
Related dissertations
- Research and Application of Hierarchical Parallel Algorithm Based on the MPI Environment
- Research on Task Scheduling for Multicore Processor
- Octeon multicore processing based Network Intrusion Detection System Research and Design
- Resarch of Task-level Data Processing Based on Multicore CPU and Test of Its Performance on Cluster Platform
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Study on Embedded Data Acquisition System Application
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Research on Surface Defects Visual Inspection System for Metal Components
- Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
- Design of Industrial Ethernet Motion Controller Based on ARM
- Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
- The software design of intelligent control Home Furnishing gateway based on ARM11