Online Code Layout Optimizations via OCOLOS
- 10 May 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Micro
- Vol. 43 (4) , 71-79
Abstract
The processor front-end has become an increasingly important bottleneck in recent years due to growing application code footprints, particularly in data centers. Profile-guided optimizations performed by compilers represent a promising approach, as they rearrange code to maximize instruction cache locality and branch prediction efficiency along a relatively small number of hot code paths. However, these optimizations require continuous profiling and rebuilding of applications to ensure that the code layout matches the collected profiles. In this paper, we propose OCOLOS, the first online code layout optimization system for unmodified applications written in unmanaged languages. OCOLOS allows profile-guided optimization to be performed on a running process, instead of being performed offline and requiring the application to be re-launched. Our experiments show that OCOLOS can accelerate MySQL by up to 41%.Keywords
Funding Information
- NSF/Intel (2010810, 2011168)
- National Science Foundation (1942754)
This publication has 8 references indexed in Scilit:
- Propeller: A Profile Guided, Relinking Optimizer for Warehouse-Scale Applications2023
- Profile inference revisitedProceedings of the ACM on Programming Languages, 2022
- Lightning BOLT: powerful, fast, and scalable binary optimization2021
- BOLT: A Practical Binary Optimizer for Data Centers and Beyond2019
- AutoFDO: automatic feedback-directed optimization for warehouse-scale applications2016
- Profiling a warehouse-scale computer2015
- PinACM SIGPLAN Notices, 2005
- Profile guided code positioning1990