Research on Performance Acceleration of DEFLATE Algorithm with Collaborative Computing of CPU and GPU
- Author
- LiJing
- Advisor
- YuQiangYuan
- School
- Jilin University
- Major
- Applied Computer Technology
- Classification
- TP338.6 Parallel computer
- Degree
- Master's thesis
- Year
- 2013
- Downloads
- 70
- Citations
- 0
Abstract
Heterogeneous computing is the main trend of high performance computing. Followingthis trend, GPU general purpose computing has been given the best developing opportunityever. GPU general purpose computing is based on the features of graphics processing hard-ware, using its High FLOPS, suitability for large-scale and high-density parallel data pro-cessing to fulfill the general purpose computing task in non-graphical field. With the devel-opment of GPU programming technology, using GPU in cooperation with CPU to buildhigh-performance and low-cost computing platform has gained great prospects.Today is the times of the information technology and mobile communication; thelarge-data processing brings too much storage and transmission problems. The role which da-ta compression play, and its social, economic efficiency will become increasingly. If there isno data compression, it’s hard for data storage and transmission. The advantages of using datacompression: data compression is not only for the purpose of saving storage space. However,another very important meaning of it is reducing the communication delay in data transmitting;furthermore, data compression also play a significant role in saving communication band-width and resource consumption.There have been many popular lossless compression algorithms: DEFLATE, BZIP2,LZMA, LZMA2, etc. DEFLATE has the fastest compression speed of them. Based on testingon DEFLATE algorithms, however, the compression speed of it is still not so satisfactory.This paper is for optimizing the DEFLATE algorithm and researching the method to use GPUfor improving the performance of software.We choose the DEFLATE implementation in GZIP software in this paper, because thisversion of DEFLATE implementation is the closest to the description to the RFC1951docu-ment. As with optimization design, we’ll use CPU in collaboration with GPU to accelerate thisDEFLATE, which mainly include designing a new pipeline system and distribute workloadsthat are suitable for GPU computing to GPU. According to testing result, implementation ofthis solution can obviously accelerate some of the test cases.In this paper, while realizing an implementation of CPU and GPU computing design toaccelerate the DEFLATE algorithm, it also includes relatively deep research and analysis ofthe following contents:1. It’s the research work of GPU architecture and GPU programming techniques. Wedid a systematic analysis of the features of the GPU architectures of both NVIDIAand AMD. Then we described the history of GPU programming techniques and how to program with OpenCL.2. Following is the description of data compression techniques. Based on BZIP2andDEFLATE algorithms, we analyzed data compression theories and common com-pression techniques, which include a detailed description about the Huffman entropyencoding in the LZ77compression encoding part of DEFLATE algorithm.3. Analysis of GZIP source code. It’s mostly about its code architecture, implementationdetails of its key functions and the optimization possibility analysis and etc. In theend, we built a reasonable optimization solution based on this analysis and imple-ment our code in the GZIP.
Table of contents
Summary 4-6
Abstract 6-10
Chapter 1 Introduction 10-13
1.1 Background 10-12
1.1.1 GPU parallel computing 10-11
1.1.2 CPU and GPU collaborative computing 11-12
1.1.3 DEFLATE compression algorithm 12
1.2 research value and purpose structure nbsp 12
1.3 herein ; 12-13
Chapter 2 GPU programming techniques 13-22 <br / > 2.1 GPU architecture of 13-18
2.1.1 CUDA -based GPU architecture 13-15
2.1.2 AMD graphics accelerator 15-18
2.2 GPU programming and OPENCL 18-22
development Introduction 2.2.1 GPU programming techniques 18-19
2.2.2 OpenCL programming framework 19-20
2.2.3 OpenCL programming example 20-22
Chapter 3 data Compression DEFLATE compression algorithm theory and analysis 22-31
3.1 data compression 22-24
3.1.1 general method of data compression 22-23
3.1.2 lossless compression algorithm , for example 23-24
3.2 DEFLATE compression algorithm theory and analysis basic principles 24-31
3.2.1 DEFLATE compression algorithm 24-25
3.2.2 LZ77 algorithm 25-27 <br / > 3.2.3 Huffman coding 27-31
Chapter 4 GZIP performance analysis and optimization program designed 31-45
4.1 GZIP source code analysis 31-44
4.1.1 GZIP running processes implementation and optimization 31-33
4.1.2 GZIP main function analysis 33-42
4.1.3 GZIP performance testing and analysis 42-44
4.2 GZIP optimization program implementation and performance testing 44-45
Chapter 5 GZIP optimization program 45-55
achieve 5.1 GZIP optimization scheme 45-52
5.1.1 pipeline model transformation 45-47
5.1.2 optimized implementation of hash after 52
5.2 optimization ; 47-48
5.1.3 longest match OpenCL optimization algorithm to achieve 48-52
5.1.4 CPU and GPU co-processing nbsp the GZIP performance evaluation 52-55
5.2.1 test environment 52-53
5.2.2 performance test results 53
5.2.3 test analysis 53-55
Chapter 6 summary and Outlook 55-57
6.1 summarizes 55-56
6.2 Prospects 56 -57
References About 57-60
authors and learning gained during research 60-61
Thanks 61
Related dissertations
- Parallel Analysis and Acceleration Method of AES Algorithm Based on OpenCL
- Design and Implementation of Video Blur Algorithm Based on OpenCL
- Research on Haze Removal and Image Decoding Accelerating
- A Compile-time Optimization Method for Heterogeneous Computing Platforms Based on LLVM
- The Multi-thread Parallel AES Algorithm Based on Opencl
- Design and Implementation of Parallel Algorithms for Some H.264Encoding Modules Based on OpenCL
- Design and Implementation of a Password Cracking System Based on Distributed Computing and GPU Computing
- Research of120Emergency Vehicle Terminal Multi-channel Data Acquisition System Based on Beidou Navigation Satellite System
- Research of Efficient Computing Method on GPU-based LS-SVM
- Research on Key Technologies of Network Traffic Analysis and System Implementation
- A Study of GPU-based Parallel Learning to Rank
- Optimization of CUDA-based Parallel SOM Algorithm and Its Application
- Research on GPU General Computing on Text Classification
- Research on GPU-based Flame Effects Technology
- Research on Fast Method for Triangular Mesh Recnostruction
- Research and Implementation of FIR Filtering Parallel Algorithm Based on GPU
- The Multimedia Monitoring System of Gas Blackness
- Research on Multimodal Visualization of Heart
- Image Super-resolution on Improvig Motion Estimation
- Design and Implementation of Image Matching Based Wavelet Transform