Design of Parallel Huffman Compress Algorithm Program Based on OpenMP and Multi-Core Architecture

Author
HuRong
Advisor
RenXiaoXi , HuangYing
School
Hunan University
Major
Computer technology
Classification
TP311.11 Programming method
Degree
Master's thesis
Year
2012
Downloads
38
Citations
0

Request the full text

Abstract

The linear relation between the instruction throughput and the clock speed is becoming obsolete as the manufacture technologies of micro-processors are approaching their physical limit. Under the constraints from power and processor architectures, processor designers can’t increase the CPU performance simply by piling more hardware resource on a single chip anymore. It has become the trend to design multi-core processors to increase the performance and better utilize the hardware resources on a chip. This has brought many challenges as well as opportunities that had never been met into the whole research world of computer science. In order to make full use of the multi-core processor, it is also important to study the techniques for parallel programming. Application developers have to spend more time to re-design and test their code in order to take the full advantages of multi-core processors. There is no simple and automated way to develop a parallel program, which makes it demand more effort in order to get a correct and efficient program for multi-core processors.This paper is an exploration of the multi-core programming under such background. A parallel Huffman compress algorithm is developed based on OpenMP programming model. The traditional serial-execution procedures were analyzed, and the Intel performance analyzer was used to find the hot spot in the serial-execution program. Then the hot spot code was parallelized. Intel Vtune performance analyzer was used to find the most time-consuming part in the program. There is no need to change the code structure, so the application developers can understand the operations in the code, find performance bottlenecks, and work towards the correct directions for code parallelization and optimization.The code based on OpenMP was further optimized and debugged with the help from various developing tools. An experiment platform was built, which is used to evaluated and compare the code performance between the parallelized version and the serial-execution version. The evaluation results show that:the parallelized code is about1.5to2times faster than the serial-executed version.Finally, it discussed the various factors that could have impacts on the program performance on multi-core platforms based on the algorithm and experiment results mentioned above, and proposed some suggestions to develop parallel programs.

Table of contents

Summary 5-6 Abstract 6-7 directory 7-9 illustrations index 9-10 attached table Index 10-11 Chapter 1 Introduction 11-19 1.1 background and status 11-16 1.1.1 multicore processors Overview 11-13 1.1.2 Current Situation 13-16 1.2 purpose and significance 16-17 1.3 content and organization of research papers structure 17-19 Chapter 2 parallel programming analysis 19-24 2.1 Introduction to parallel Programming 19-21 2.1.1 parallel programming concepts 19-20 2.1.2 multi-threaded and parallel programming structure 20-21 2.2 parallel programming research 21-23 <br / > 2.3 Summary 23-24 multicore architecture under Chapter 3 serial Huffman compression algorithm design 24-31 3.1 serial programming ideas 24-25 3.2 compression serial programming 25-30 3.2.1 Huffman compression algorithm analysis 26-27 3.2.2 serial text file compression program designed 27-28 3.2.3 serial testing procedures performance 28-29 3.2.4 serial program optimization 29-30 3.3 Summary under 30-31 Chapter 4 Huffman compression algorithm for parallel multi-core architecture design 31-46 4.1 parallel programming model 31 4.2 OpenMP About 31-34 4.3 compression program parallelization analysis 34-36 4.3.1 determine hotspots code 34-35 4.3.2 compression program parallelization feasibility analysis concrete realization 35-36 4.4 parallel program debugging and optimization 36-41 4.5 parallel program 41-44 <br / > 4.5.1 detection parallel program load balancing 42-43 4.5.2 to detect potential errors in parallel programs 43-44 4.5.3 serial program parallelization issues solution 44 4.6 Summary 44-46 Chapter 5 Huffman compression algorithm performance serial and parallel -designed comparative analysis 46-53 5.1 program methods and indicators of performance evaluation 46 5.2 serial and parallel program compression and decompression procedures compare 46-48 5.3 serial program with parallel program performance comparison 48-50 5.4 factors parallel program analysis 50-51 5.5 parallel program performance analysis 51-52 5.6 Summary 52-53 Conclusion 53-54 References 54-57 Thanks 57

Related dissertations

  1. Research and Application of Multi-Processing Load Balancing Technology Based on Multi-Core in Cloud Computing
    WuHeSheng ·Nanjing University ·2013 ·Doctoral dissertation
  2. Research on High-Performance Computing Supporting Technologies for Large-Scale3D Terrain Construction
    GuoHaoRan ·PLA Information Engineering University ·2013 ·Doctoral dissertation
  3. The Research of Multi-face Recognition Algorithm for Intelligent Video Surveillance
    ChengZhanYuan ·Wuhan University of Technology ·2013 ·Master's thesis
  4. Implementation and Design of Multi-core Support for Micro-kernel Operating System
    YanJieJun ·Nanjing University ·2011 ·Master's thesis
  5. Research and Implementation of Checkpoint System Based on Embeded Multi-core Environment
  6. Failure Avoidance Based on Discrete Control Theory in Multithreaded Software
  7. Design and Realization of Plastic Detection MIS Based on.NET
    DuLinFeng ·Zhejiang Sci-Tech University ·2014 ·Master's thesis
  8. Research on the Scheduling Algorithm of Virtual Machine in Multi-core System
    ChenHuiXing ·Hunan University ·2013 ·Master's thesis
  9. Research of Task Scheduling Algorithm Based on Critical Path for Multi-core
  10. Research on Implementation and Optimization of Flashcache
  11. Energy-efficient Real-time Scheduling for Multi-core and Multiprocessor System
  12. Improved L7-Filter’s Pattern Matching Algorithm Based on Multi-core Processors
  13. PACDSP CORE Oriented Multi-core Debug Controller Hardware Design and Software Validation
  14. Research on Schedule Performance of VMM Based on Multi-core
    Li ·Nanjing University ·2011 ·Master's thesis
  15. Research on Parallel Processing of SAR Image Change Detection
  16. Research and Development of a Multi-core CPU Based Software Radio Platform and Applications
    FangZuo ·Beijing Jiaotong University ·2013 ·Doctoral dissertation
  17. Design and implementation of universal software radio platform based on multi core DSP
  18. Research on Data-driven Crosspoint-Queued on Chip Router
    WangZhen ·Shanghai University ·2013 ·Master's thesis
  19. Research on Hard Real-time Multi-core Architecture Based on Shared Sram Automotive Control Applications
    ZhouXueWen ·Shanghai Jiaotong University ·2012 ·Master's thesis
  20. Design and Simulation of Multi-core DSP Parallel Route Planning Based on Route Segments