Code compression

Jens Ernst, William Evans, Christopher W. Fraser, Steven Lucco, Todd A. Proebsting

Research output: Contribution to conferencePaper

71 Scopus citations

Abstract

Current research in compiler optimization counts mainly CPU time and perhaps the first cache level or two. This view has been important but is becoming myopic, at least from a system-wide viewpoint, as the ratio of network and disk speeds to CPU speeds grows exponentially. For example, we have seen the CPU idle for most of the time during paging, so compressing pages can increase total performance even though the CPU must decompress or interpret the page contents. Another profile shows that many functions are called just once, so reduced paging could pay for their interpretation overhead. This paper describes: Measurements that show how code compression can save space and total time in some important real-world scenarios. A compressed executable representation that is roughly the same size as gzipped x86 programs and can be interpreted without decompression. It can also be compiled to high-quality machine code at 2.5 megabytes per second on a 120 MHz Pentium processor. A compressed `wire' representation that must be decompressed before execution but is, for example, roughly 21% the size of SPARC code when compressing gcc.

Original languageEnglish (US)
Pages358-365
Number of pages8
StatePublished - Jan 1 1997
EventProceedings of the 1997 ACM SIGPLAM Conference on Programming Language Design and Implementation, PLDI - Las Vegas, NV, USA
Duration: Jun 15 1997Jun 18 1997

Other

OtherProceedings of the 1997 ACM SIGPLAM Conference on Programming Language Design and Implementation, PLDI
CityLas Vegas, NV, USA
Period6/15/976/18/97

ASJC Scopus subject areas

  • Software

Fingerprint Dive into the research topics of 'Code compression'. Together they form a unique fingerprint.

  • Cite this

    Ernst, J., Evans, W., Fraser, C. W., Lucco, S., & Proebsting, T. A. (1997). Code compression. 358-365. Paper presented at Proceedings of the 1997 ACM SIGPLAM Conference on Programming Language Design and Implementation, PLDI, Las Vegas, NV, USA, .