PPMexe: PPM for compressing software
Milenko Drinić, Darko Kirovski · DCC · 2003
With the emergence of software delivery platforms such as Microsoft's .NET, code compression has become one of the core enabling technologies strongly affecting system performance. We present PPMexe - a set of compression mechanisms for executables that explores their syntax and semantics to achieve superior compression rates. The fundament of PPMexe is the generic paradigm of prediction by partial matching (PPM). We combine PPM with two pre-processing steps: instruction rescheduling to improve prediction rates and partitioning of a program binary into streams with high auto-correlation. We improve the traditional PPM algorithm by using: an additional alphabet of frequent variable-length super-symbols extracted from the input stream of fixed-length symbols and a low-overhead mechanism that enables decompression starting from an arbitrary instruction of the executable, a feature pivotal for run-time software delivery. PPMexe was implemented for x86 binaries and tested on several large Microsoft applications. Binaries compressed using PPMexe were 16-23% smaller than files created using PPMD, the best available compressor.
Cited by 15 works. doi:10.1109/dcc.2002.999957
Authors
References
- Data Compression Using Adaptive Coding and Partial String Matching
- Implementing the PPM data compression scheme
- Compiler techniques for code compaction
- Unbounded length contexts for PPM
- Code compression
- Design and analysis of fast text compression based on quasi-arithmetic coding
- Random access decompression using binary arithmetic coding
- Automatic inference of models for statistical code compression
- Potential-driven statistical ordering of transformations
- Split-stream dictionary program compression