Taming Hardware Event Samples for Precise and Versatile Feedback Directed Optimizations

计算机科学 架空(工程) 仪表(计算机编程) 规格# 编译程序 采样(信号处理) 优化编译器 事件(粒子物理) 启发式 计算机硬件 块(置换群论) 实时计算 嵌入式系统 计算机工程 探测器 操作系统 物理 电信 程序设计语言 量子力学 数学 几何学
作者
Dehao Chen,Neil Vachharajani,Robert Hundt,Xinliang David Li,Stéphane Eranian,Wenguang Chen,Weimin Zheng
出处
期刊:IEEE Transactions on Computers [Institute of Electrical and Electronics Engineers]
卷期号:62 (2): 376-389 被引量:39
标识
DOI:10.1109/tc.2011.233
摘要

Feedback-directed optimization (FDO) is effective in improving application runtime performance, but has not been widely adopted due to the tedious dual-compilation model, the difficulties in generating representative training data sets, and the high runtime overhead of profile collection. The use of hardware-event sampling overcomes these drawbacks by providing a lightweight approach to collect execution profiles in the production environment, which naturally consumes representative input. Yet, hardware event samples are typically not precise at the instruction or basic-block granularity. These inaccuracies lead to missed performance when compared to instrumentation-based FDO. In this paper, we use Performance Monitoring Unit (PMU)-based sampling to collect the instruction frequency profiles. By collecting profiles using multiple events, and applying heuristics to predict the accuracy, we improve the accuracy of the profile. We also show how emerging techniques can be used to further improve the accuracy of the sample-based profile. Additionally, these emerging techniques are used to collect value profiles, as well as to assist a lightweight interprocedural optimizer. All these profiles are represented in a portable form, thus they can be used across different platforms. We demonstrate that sampling-based FDO can achieve an average of 92 percent of the performance gains obtained using instrumentation-based exact profiles for both SPEC CINT2000 and CINT2006 benchmarks. The overhead of collection is only 0.93 percent on average, while compiler-based instrumentation incurs 2.0-351.5 percent overhead (and 10x overhead on an industrial web search application).
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
归玖完成签到 ,获得积分10
刚刚
六神曲完成签到,获得积分10
刚刚
WS发布了新的文献求助10
刚刚
刚刚
山槐123完成签到,获得积分10
1秒前
xiong完成签到,获得积分10
1秒前
诡异的饭团完成签到,获得积分10
1秒前
星河完成签到,获得积分10
2秒前
乄屸完成签到 ,获得积分10
2秒前
zhuding1978完成签到,获得积分10
2秒前
2秒前
马里兰州蛙泳胡萝卜完成签到,获得积分10
3秒前
3秒前
随机名字就可以完成签到,获得积分10
3秒前
上官若男的应助被科研通管家采纳,获得10
3秒前
大个的应助被向日葵的星期天采纳,获得10
3秒前
yy完成签到 ,获得积分10
3秒前
3秒前
打打的应助被科研通管家采纳,获得10
4秒前
yaya的应助被科研通管家采纳,获得20
4秒前
FashionBoy的应助被科研通管家采纳,获得10
4秒前
斯文败类的应助被科研通管家采纳,获得10
4秒前
ding的应助被科研通管家采纳,获得10
4秒前
4秒前
HAHAHA完成签到,获得积分10
4秒前
4秒前
5秒前
5秒前
多情的捕完成签到,获得积分10
5秒前
糖丸子啊啊啊啊完成签到,获得积分10
5秒前
fxx完成签到,获得积分10
5秒前
稚生w完成签到,获得积分10
5秒前
你好呀呀呀完成签到 ,获得积分10
6秒前
cch完成签到,获得积分10
6秒前
小红勇闯科研界完成签到,获得积分10
6秒前
mumu完成签到 ,获得积分10
7秒前
瀼瀼完成签到,获得积分10
7秒前
要早早睡呀完成签到,获得积分10
8秒前
传统的枫叶完成签到 ,获得积分10
8秒前
苗觉觉完成签到,获得积分10
8秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Encyclopedia of Modern Artificial Intelligence 1000
Особенности технологий и методов информационно-психологических войн СССР с Великобританией и США в период 1939-1953 гг 1000
Das Matthäusevangelium: Kapitel 1:1–17 1000
IRTSD: Open-Source Data and Toolset for Electromagnetic Transient Analysis of Disturbances and IBR Control Malfunctions in Transmission Systems 1000
Entre Praga y Madrid : los contactos checoslovaco-españoles (1948-1977) 600
A REVIEW OF THE V-22 DYNAMICS VALIDATION PROGRAM 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8130151
求助须知:如何正确求助?哪些是违规求助? 9532406
关于积分的说明 21595265
捐赠科研通 7711889
什么是DOI,文献DOI怎么找? 3418072
关于科研通互助平台的介绍 2543760
邀请新用户注册赠送积分活动 2459295