Low-Overhead Dynamic Instruction Mix Generation using Hybrid Basic Block Profiling

被引:1
|
作者
Nowak, Andrzej [1 ,2 ]
Szostek, Pawel [3 ]
Yasin, Ahmad [4 ]
Zwaenepoel, Willy [2 ]
机构
[1] CERN Openlab, Geneva, Switzerland
[2] Ecole Polytech Fed Lausanne, Lausanne, Switzerland
[3] Criteo, Paris, France
[4] Intel Corp, Santa Clara, CA USA
来源
2018 IEEE INTERNATIONAL SYMPOSIUM ON PERFORMANCE ANALYSIS OF SYSTEMS AND SOFTWARE (ISPASS) | 2018年
关键词
D O I
10.1109/ISPASS.2018.00032
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Dynamic instruction mixes form an important part of the toolkits of performance tuners, compiler writers, and CPU architects. Instruction mixes are traditionally generated using software instrumentation, an accurate yet slow method, that is normally limited to user-mode code. We present a new method for generating instruction mixes using the Performance Monitoring Unit (PMU) of the CPU. It has very low overhead, extends coverage to kernel-mode execution, and causes only a very modest decrease in accuracy, compared to software instrumentation. In order to achieve this level of accuracy, we develop a new PMU-based data collection method, Hybrid Basic Block Profiling (HBBP). HBBP uses simple machine learning techniques to choose, on a per basic block basis, between data from two conventional sampling methods, Event Based Sampling (EBS) and Last Branch Records (LBR). We implement a profiling tool based on HBBP, and we report on experiments with the industry standard SPEC CPU2006 suite, as well as with two large-scale scientific codes. We observe an improvement in runtime compared to software instrumentation of up to 76x on the tested benchmarks, reducing wait times from hours to minutes. Instruction attribution errors average 2.1%. The results indicate that HBBP provides a favorable tradeoff between accuracy and speed, making it a suitable candidate for use in production environments.
引用
收藏
页码:189 / 198
页数:10
相关论文
共 50 条
  • [21] GMProf: A Low-Overhead, Fine-Grained Profiling Approach for GPU Programs
    Zheng, Mai
    Ravi, Vignesh T.
    Ma, Wenjing
    Qin, Feng
    Agrawal, Gagan
    2012 19TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING (HIPC), 2012,
  • [22] A Low-Overhead Countermeasure against Differential Power Analysis for AES Block Cipher
    Hafeez, Muhammad Asfand
    Hazzazi, Mohammad Mazyad
    Tariq, Hassan
    Aljaedi, Amer
    Javed, Asfa
    Alharbi, Adel R.
    APPLIED SCIENCES-BASEL, 2021, 11 (21):
  • [23] A Low-overhead Dynamic Watermarking Scheme on Scan Design for Easy Authentication
    Cui, Aijiao
    Liang, Wei
    Qu, Gang
    2014 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2014, : 778 - 781
  • [24] A low-overhead non-block checkpointing algorithm for mobile computing environment
    Gupta, Bidyut
    Rahimi, Shahram
    Rias, Rishad A.
    Bangalore, Guru.
    ADVANCES IN GRID AND PERVASIVE COMPUTING, PROCEEDINGS, 2006, 3947 : 597 - 608
  • [25] A Low-Overhead Auditing Protocol for Dynamic Cloud Storage Based on Algebra
    Ding, Fudong
    Wu, Libing
    Zhang, Zhuangzhuang
    Wu, Xianfeng
    Ma, Chao
    Liu, Qin
    Security and Communication Networks, 2023, 2023
  • [26] Low-overhead buffer level signalling using weighted prioritisation
    Tesanovic, M.
    Baker, M. P. J.
    Moulsley, T. J.
    ELECTRONICS LETTERS, 2009, 45 (25) : 1351 - 1352
  • [27] Low-Overhead RF Impedance Measurement Using Periodic Structures
    Avci, Muslum Emir
    Ozev, Sule
    IEEE TRANSACTIONS ON MICROWAVE THEORY AND TECHNIQUES, 2023, 71 (10) : 4471 - 4482
  • [28] Toward Full-Coverage and Low-Overhead Profiling of Network-Stack Latency
    Chen, Xiang
    Liu, Hongyan
    Zhang, Wenbin
    Huang, Qun
    Zhang, Dong
    Zhou, Haifeng
    Liu, Xuan
    Wu, Chunming
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2024, 32 (05) : 4441 - 4455
  • [29] Torp: Full-Coverage and Low-Overhead Profiling of Host-Side Latency
    Chen, Xiang
    Liu, Hongyan
    Guo, Junyi
    Jiang, Xinyue
    Huang, Qun
    Zhang, Dong
    Wu, Chunming
    Zhou, Haifeng
    IEEE CONFERENCE ON COMPUTER COMMUNICATIONS (IEEE INFOCOM 2022), 2022, : 1349 - 1358
  • [30] SIFT: A Low-Overhead Dynamic Information Flow Tracking Architecture for SMT Processors
    Ozsoy, Meltem
    Ponomarev, Dmitry
    Abu-Ghazaleh, Nael
    Suri, Tameesh
    PROCEEDINGS OF THE 2011 8TH ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS (CF 2011), 2011,