Feedback-Directed Optimizations in GCC with Estimated Edge Profiles from Hardware Event Sampling
Feedback-Directed Optimizations in GCC with Estimated Edge Profiles from Hardware Event Sampling
复制标题
GCC 中的反馈导向优化,通过硬件事件采样估计边缘轮廓
DOI:
--
复制
发表时间:
2008
期刊:
影响因子:
--
通讯作者:
R. Hundt
中科院分区:
文献类型:
--
作者:
Vinodha Ramasamy;Paul Yuan;Dehao Chen;R. Hundt
Traditional feedback-directed optimization (FDO) uses static instrumentation to collect profiles. This method has shown good application performance gains, but is not commonly used in practice due to the high runtime overhead of profile collection, the tedious dual-compile usage model, and difficulties in generating representative training data sets. In this paper, we show that edge frequency estimates can be successfully constructed with heuristics using profile data collected by sampling of hardware events, incurring low runtime overhead (e.g., less then 2%), and requiring no instrumentation, yet achieving competetive performance gains. Our initial results show a 3-4% performance gain on the SPEC C benchmarks.