PPMexe
Milenko Drinić, Darko Kirovski, Hoi Vo · ACM Transactions on Programming Languages and Systems · 2007
With the emergence of software delivery platforms, code compression has become an important system component that strongly affects performance. This article presents PPMexe, a compression mechanism for program binaries that analyzes their syntax and semantics to achieve superior compression ratios. We use the generic paradigm of prediction by partial matching (PPM) as the foundation of our compression codec. PPMexe combines PPM with two preprocessing steps: ( i ) instruction rescheduling to improve prediction rates and ( ii ) heuristic partitioning of a program binary into streams with high autocorrelation. We improve the traditional PPM algorithm by ( iii ) using an additional alphabet of frequent variable-length supersymbols extracted from the input stream of fixed-length symbols. In addition, PPMexe features ( iv ) a low-overhead mechanism that enables decompression starting from an arbitrary instruction of the executable, a property pivotal for runtime software delivery. We implemented PPMexe for x86 binaries and tested it on several large applications. Binaries compressed using PPMexe were 18--24% smaller than files created using off-the-shelf PPMD, one of the best available compressors
Cited by 14 works. doi:10.1145/1180475.1180478 Open-access PDF
Authors
References
- A Method for the Construction of Minimum-Redundancy Codes
- Computer Architecture: A Quantitative Approach
- Introduction to automata theory, languages and computation
- Prediction and Entropy of Printed English
- Modeling by shortest data description
- Compression of individual sequences via variable-rate coding
- A Block-sorting Lossless Data Compression Algorithm
- Three approaches to the quantitative definition of information *
- Computer architecture: a quantitative approach
- J.E.Hopcroft, J.D. Ullman 著, "Introduction to Automata Theory, Languages, and Computation", Addison-Wesley, A5変形版, X+418, \6,670, 1979