Research indexJournal article
Scalable cross-module optimization
Ayers, de Jong, Peyton and 1 other
ACM SIGPLAN Notices1 May 1998Open access
NobleIDark:/48914/w1/20261004/55F9A88EDOI10.1145/277652.277745
Scalable cross-module optimization
Ayers, de Jong, Peyton and 1 other · ACM SIGPLAN Notices · 1998
NobleIDark:/48914/w1/20261004/55F9A88EDOI10.1145/277652.277745
Free to read at the publisher
You can read the abstract here, or the full text at the publisher.
Abstract
Large applications are typically partitioned into separately compiled modules. Large performance gains in these applications are available by optimizing across module boundaries. One barrier to applying crossmodule optimization (CMO) to large applications is the potentially enormous amount of time and space consumed by the optimization process.We describe a framework for scalable CMO that provides large gains in performance on applications that contain millions of lines of code. Two major techniques are described. First, careful management of in-memory data structures results in sub-linear memory occupancy when compared to the number of lines of code being optimized. Second, profile data is used to focus optimization effort on the performance-critical portions of applications. We also present practical issues that arise in deploying this framework in a production environment. These issues include debuggability and compatibility with existing development tools, such as make . Our framework is deployed in Hewlett-Packard's (HP) UNIX compiler products and speeds up shipped independent software vendors' applications by as much as 71%.