VESPA: static profiling for binary optimization
Angelica Aparecida Moreira, Guilherme Ottoni, Fernando Magno Quintão Pereira
摘要
Over the past few years, there has been a surge in the popularity of binary optimizers such as BOLT, Propeller, Janus and HALO. These tools use dynamic profiling information to make optimization decisions. Although effective, gathering runtime data presents developers with inconveniences such as unrepresentative inputs, the need to accommodate software modifications, and longer build times. In this paper, we revisit the static profiling technique proposed by Calder et al. in the late 90’s, and investigate its application to drive binary optimizations, in the context of the BOLT binary optimizer, as a replacement for dynamic profiling. A few core modifications to Calder et al.’s original proposal, consisting of new program features and a new regression model, are sufficient to enable some of the gains obtained through runtime profiling. An evaluation of BOLT powered by our static profiler on four large benchmarks (clang, GCC, MySQL and PostgreSQL) yields binaries that are 5.47 % faster than the executables produced by clang -O3.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Symbolic Basic Block Profiling for Machine Learning Kernels 引用了 Thermometer: profile-guided btb replacement for data center applications
- Wax: Optimizing Data Center Applications With Stale Profile 引用了 Thermometer: profile-guided btb replacement for data center applications
- Wax: Optimizing Data Center Applications With Stale Profile 引用了 Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications
- Wax: Optimizing Data Center Applications With Stale Profile 引用了 OCOLOS: Online COde Layout OptimizationS
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications 引用了 Thermometer: profile-guided btb replacement for data center applications
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications 引用了 OCOLOS: Online COde Layout OptimizationS
- OCOLOS: Online COde Layout OptimizationS 引用了 Whisper: Profile-Guided Branch Misprediction Elimination for Data Center Applications
- OCOLOS: Online COde Layout OptimizationS 引用了 Thermometer: profile-guided btb replacement for data center applications
引用它的顶会 Paper7
- Whisper: Profile-Guided Branch Misprediction Elimination for Data Center ApplicationsTanvir Ahmed Khan, Muhammed Ugur, Krishnendra Nathella, Dam Sunwoo 等MICRO 2022 · 25 次引用
- Thermometer: profile-guided btb replacement for data center applicationsShixin Song, Tanvir Ahmed Khan, Sara Mahdizadeh-Shahri, Akshitha Sriraman 等ISCA 2022 · 23 次引用
- OCOLOS: Online COde Layout OptimizationSYuxuan Zhang, Tanvir Ahmed Khan, Gilles Pokam, Baris Kasikci 等MICRO 2022 · 14 次引用
- Wax: Optimizing Data Center Applications With Stale ProfileTawhid Bhuiyan, Sumya Hoque, Angelica Aparecida Moreira, Tanvir Ahmed KhanASPLOS 2026 · 1 次引用
- Symbolic Basic Block Profiling for Machine Learning KernelsJingyu Qiu, Rongcui Dong, Sreepathi PaiOOPSLA 2026
相关 Paper
- Automatic Propagation of Profile Information through the Optimization PipelineElisa Fröhlich, Angelica Aparecida Moreira, Fernando Magno Quintão PereiraOOPSLA 2026
- Propeller: A Profile Guided, Relinking Optimizer for Warehouse-Scale ApplicationsHan Shen, Krzysztof Pszeniczny, Rahman Lavaee, Snehasish Kumar 等ASPLOS 2023 · 37 次引用
- Phaedrus: Predicting Dynamic Application Behavior with Lightweight Generative Models and LLMsBodhisatwa Chatterjee, Neeraj Jadhav, Santosh PandeOOPSLA 2026
- Arbiter: Bridging the Static and Dynamic Divide in Vulnerability Discovery on Binary ProgramsJayakrishna Vadayath, Moritz Eckert, Kyle Zeng, Nicolaas Weideman 等USENIX Security 2022
- Zero-Value Code Specialization via Profile-Guided Control Data Flow AnalysisShaokang Du, Kelun Lei, Xin You, Hailong Yang 等SC 2025 · 1 次引用
