CachePerf: A Unified Cache Miss Classifier via Hybrid Hardware Sampling
CachePerf: A Unified Cache Miss Classifier via Hybrid Hardware Sampling
复制标题
CachePerf:通过混合硬件采样的统一缓存未命中分类器
DOI:
10.1145/3547353.3526954
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
Liu, Tongping
中科院分区:
文献类型:
--
作者:
Zhou, Jin;Tang, Steven;Yang, Hanmei;Liu, Tongping
The cache plays a key role in determining the performance of applications, no matter for sequential or concurrent programs on homogeneous and heterogeneous architecture. Fixing cache misses requires to understand the origin and the type of cache misses. However, this remains to be an unresolved issue even after decades of research. This paper proposes a unified profiling tool--CachePerf--that could correctly identify different types of cache misses, differentiate allocator-induced issues from those of applications, and exclude minor issues without much performance impact. The core idea behind CachePerf is a hybrid sampling scheme: it employs the PMU-based coarse-grained sampling to select very few susceptible instructions (with frequent cache misses) and then employs the breakpoint-based fine-grained sampling to collect the memory access pattern of these instructions. Based on our evaluation, CachePerf only imposes 14% performance overhead and 19% memory overhead (for applications with large footprints), while identifying the types of cache misses correctly. CachePerf detected 9 previous-unknown bugs. Fixing the reported bugs achieves from 3% to 3788% performance speedup. CachePerf will be an indispensable complementary to existing profilers due to its effectiveness and low overhead.
登录
查看更多内容
DOI:
--
发表时间:
2018
期刊:
ACM SIGPLAN Symposium on Principles & Practice of Parallel Programming
影响因子:
--
作者:
Milind Chabbi;Shasha Wen;Xu Liu
通讯作者:
Xu Liu
DOI:
--
发表时间:
2006
期刊:
ValueTools
影响因子:
--
作者:
J. Tao;Wolfgang Karl
通讯作者:
Wolfgang Karl
DOI:
--
发表时间:
2021
期刊:
Proceedings of the Symposium on Operating Systems Principles
影响因子:
--
作者:
Khan, Tanvir Ahmed;Neal, Ian;Pokam, Gilles;Mozafari, Barzan;Kasikci
通讯作者:
Kasikci
DOI:
10.1109/cgo.2013.6495008
发表时间:
2013-02
期刊:
Proceedings of the 2013 IEEE/ACM International Symposium on Code Generation and Optimization (CGO)
影响因子:
--
作者:
Bin Bao;C. Ding
通讯作者:
Bin Bao;C. Ding
DOI:
--
发表时间:
1992
期刊:
International Workshop on Languages and Compilers for Parallel Computing
影响因子:
--
作者:
G. Gao;R. Olsen;Vivek Sarkar;R. Thekkath
通讯作者:
R. Thekkath