The Research and Implementation of Compression Program Optimization from 32 Bit to 64 Bit Platform
- Author
- TangWei
- Advisor
- ZhengYouCai , GanChi
- School
- Xi'an University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 9
- Citations
- 0
Abstract
With the calculation of the growing amount of data , the data is compressed more and more people pay attention to it , after decades of development and innovation efforts of scientists , today 's data compression technology has become increasingly mature , Gzip is the typical representative of one of them . The same time , a large amount of data requires a fast processor computing , Intel , as the world's largest chip manufacturer , are also constantly strive to improve processing speed . This paper studies the optimization problem of the Gzip EM64T processor . The author introduces two Intel processors and the Gzip related technologies through of processor and Gzip analysis , the first to use the processor architecture and Architecture Gzip analysis from the macro have a preliminary concept understanding ; followed by a further analysis on the compression principle as well as the realization of the entire compression process process , Gzip on the basis of an application from a 32-bit environment successfully transplanted into a 64-bit environment ; Finally, the the processor and Gzip characteristics of fully combined and after repeated experiments and testing to achieve the expected effect of the optimization . Optimization mentioned in this article is how to take advantage of the characteristics of the processor itself so as to enhance application performance optimization , I believe that his application is not just limited to Gzip , but there is much room for development . Article only Gzip EM64T processor optimized , we will use this as a starting point , and will in the future will further Gzip optimize on Itanium 2 , which further improve compression efficiency .
Table of contents
Abstract 3-4
ABSTRACT 4-7
first chapter 7-9
1.1 Introduction 7-8
1.2 research purposes 8
1.3 thesis structure 8-9
Chapter II, 32-bit and 64-bit platform architecture Introduction 9-13
2.1 Intel processor Brief History 9-10
2.2 Pentium 4 CPU new features 10-12
2.3 64-bit architecture Introduction 12-13
Chapter compression program structure analysis 13-36
3.1 Gzip compression principle analysis: 13-19
the LZ77 algorithm principle used in 3.1.1 Gzip 14-16
3.1.2 Gzip use Huffman coding compression principle 16-19
3.2 Gzip compression method analysis 19-26
3.2.1 to find a matching string 20-21
3.2.2 Lazy match 21
3.2.3 window to achieve 21-23
3.2.4 build dictionary 23
3.2.5 inserted to achieve 23-25
3.2.6 to use matching chaining 25-26
3.3 Gzip compression principle to achieve 26-36
3.3.1 LZ77 part of the realization of points 26-27
3.3.2 block output 27-28
3.3.3 Huffman coding to achieve 28
3.3.4 encoding generation 28-29
3.3.5 5 trees 29-30
3.3.6 Static Huffman coding 30-33
3.3.7 Dynamic Huffman coding 33-36
Chapter 32 program to the 64 transplant procedure 36-47
4.1 transplantation brief 36
4.2 migration steps 36-37
the 4.3 Select program mode 37-38
4.3.1 pure 64-bit program mode 37-38
4.3.2 64-bit application programming interface and 32-bit address of the program mode 38
4.3.3 32-bit application interface and 32-bit address program mode 38
4.3.4 original 32 program mode 38
4.4 porting process should take into account the problem 38-40
4.4.1 to determine the application-dependent 38-39
4.4.2 removed unused code or library 39
4.4.3 to eliminate self-modifying code 39
4.4.4 64-bit application benchmarks 39
4.4.5 32-bit / 64-bit applications to eliminate known problems 39-40
4.4.6 developed 64 test plans 40
4.5 32-bit programs and 64-bit programs distinction 40-45
4.6 Gzip transplant and compile results 45-47
Chapter 64 platform program optimization and realization 47-52
5.1 on a 64-bit platform to optimize the program's purpose 47
5.2 to optimize overall analysis 47-48
5.3 to optimize the overall design 48-52
5.3.1 pointer strstart 48-49
5.3.2 variable lookahead 49
5.3.3 variable max_lazy_match 49-50
5.3.4 variable prev_length 50
5.3.5 variable bi_valid 50-52
Chapter test optimized program 52-60
6.1 software testing 52-53
6.2 before optimization performance 53-55
6.3 optimized test 55-60
Chapter VII Conclusion 60-61
Acknowledgements 61-62
the
References 62-64
Related dissertations
- Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
- Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
- The Optimization of Fund Contract in the Perspective of Governance Structure
- The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
- Research on Optimization of commercial bank loans business processes Chinese micro enterprise
- Optimization of Commercial Bank Credit Rating Index System for SMEs
- An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
- The Credit Process Optimization of A Bank
- The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
- The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
- Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
- The Study on Constructing Harmony in Urban Communities
- An Investigation of the Management System of Yancheng Local Tax Inspection
- Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
- Research on China’s Tax Cost and Optimization
- Analysis on Tax Scale Optimization of Liaoning Province
- Study on the optimization of tax system of China's current stock market
- The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model
- Developing Strategy for Service Industry of the Nankai District Tianjin
- Fuzhou Mail Processing Center Optimization Research