Strategies and software support for the management of hardware performance counters

被引:0
|
作者
Carna, Stefano [1 ]
Marotta, Romolo [2 ,3 ]
Pellegrini, Alessandro [2 ]
Quaglia, Francesco [2 ]
机构
[1] Sapienza Univ Rome, DIAG, Rome, Italy
[2] Univ Roma Tor Vergata, DICII, Rome, Italy
[3] Ctr Nazl Ric High Performance Comp Big Data & Quan, Casalecchio Di Reno, BO, Italy
来源
SOFTWARE-PRACTICE & EXPERIENCE | 2023年 / 53卷 / 10期
关键词
autonomic computing; hardware performance counters; profiling; self-tuning;
D O I
10.1002/spe.3236
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Hardware performance counters (HPCs) are facilities offered by most off-the-shelf CPU architectures. They are a vital support to post-mortem performance profiling and are exploited by standard tools such as Linux or Intel V-Tune. Nevertheless, an increasing number of application domains (e.g., simulation, task-based high-performance computing, or cybersecurity) are exploiting them to perform different activities, such as self-tuning, autonomic optimization, and/or system inspection. This repurposing of HPCs can be difficult, for example, because of the overhead for extracting relevant information. This overhead might render any online or self-tuning activity ineffective. This article discusses various practical strategies to exploit HPCs beyond post-mortem profiling, suitable for different application contexts. The presented strategies are accompanied by a general primer on HPCs usage on Linux. We also provide reference x86 (both Intel and AMD) implementations targeting the Linux kernel, upon which we present an experimental assessment of the viability of our proposals.
引用
收藏
页码:1928 / 1957
页数:30
相关论文
共 50 条
  • [11] Can Hardware Performance Counters be Trusted?
    Weaver, Vincent M.
    Mckee, Sally A.
    2008 IEEE INTERNATIONAL SYMPOSIUM ON WORKLOAD CHARACTERIZATION, 2008, : 131 - 140
  • [12] Design and implementation of Software Defined Hardware Counters for SDN
    Zhao, Tao
    Li, Tao
    Han, Biao
    Sun, Zhigang
    Huang, Jinfeng
    COMPUTER NETWORKS, 2016, 102 : 129 - 144
  • [13] Enabling Software Management for Multicore Caches with a Lightweight Hardware Support
    Lin, Jiang
    Lu, Qingda
    Ding, Xiaoning
    Zhang, Zhao
    Zhang, Xiaodong
    Sadayappan, P.
    PROCEEDINGS OF THE CONFERENCE ON HIGH PERFORMANCE COMPUTING NETWORKING, STORAGE AND ANALYSIS, 2009,
  • [14] An Automated Approach to Hardware Performance Monitoring Counters
    Tinetti, Fernando G.
    Mendez, Mariano
    2014 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND COMPUTATIONAL INTELLIGENCE (CSCI), VOL 1, 2014, : 71 - 76
  • [15] Malicious Firmware Detection with Hardware Performance Counters
    Wang, Xueyang
    Konstantinou, Charalambos
    Maniatakos, Michail
    Karri, Ramesh
    Lee, Serena
    Robison, Patricia
    Stergiou, Paul
    Kim, Steve
    IEEE TRANSACTIONS ON MULTI-SCALE COMPUTING SYSTEMS, 2016, 2 (03): : 160 - 173
  • [16] SOFTWARE-SUPPORT IN HARDWARE
    BERNDT, H
    MICROPROCESSING AND MICROPROGRAMMING, 1984, 13 (01): : 1 - 9
  • [17] Hardware Performance Counters for System Reliability Monitoring
    Leng, Elena Woo Lai
    Zwolinski, Mark
    Halak, Basel
    2017 IEEE 2ND INTERNATIONAL VERIFICATION AND SECURITY WORKSHOP (IVSW), 2017, : 76 - 81
  • [18] Profiling Cloud Applications with Hardware Performance Counters
    Kandalintsev, Alexandre
    Lo Cigno, Renato
    Kliazovich, Dzmitry
    Bouvry, Pascal
    2014 INTERNATIONAL CONFERENCE ON INFORMATION NETWORKING (ICOIN 2014), 2014, : 52 - 57
  • [19] Software-based Control-Flow Error Detection with Hardware Performance Counters in ARM Processors
    Ahmad, Hussien Al-Haj
    Sedaghat, Yasser
    2022 CPSSI 4TH INTERNATIONAL SYMPOSIUM ON REAL-TIME AND EMBEDDED SYSTEMS AND TECHNOLOGIES (RTEST 2022), 2022,
  • [20] On the Performance of Malware Detection Classifiers Using Hardware Performance Counters
    Zeraatkar, Alireza Abolhasani
    Kamran, Parnian Shabani
    Kaur, Inderpreet
    Ramu, Nagabindu
    Sheaves, Tyler
    Al-Asaad, Hussain
    2024 INTERNATIONAL CONFERENCE ON SMART APPLICATIONS, COMMUNICATIONS AND NETWORKING, SMARTNETS-2024, 2024,