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 条
  • [21] Assessing NUMA Performance Based on Hardware Event Counters
    Plauth, Max
    Sterz, Christoph
    Eberhardt, Felix
    Feinbube, Frank
    Polze, Andreas
    2017 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2017, : 904 - 913
  • [22] Detecting Spectre Attacks Using Hardware Performance Counters
    Li, Congmiao
    Gaudiot, Jean-Luc
    IEEE TRANSACTIONS ON COMPUTERS, 2022, 71 (06) : 1320 - 1331
  • [23] Diagnosis Strategies for Hardware or Software Systems
    Maisaa Khalil
    Chantal Robach
    Franc Novak
    Journal of Electronic Testing, 2002, 18 : 241 - 251
  • [24] Diagnosis strategies for hardware or software systems
    Khalil, M
    Robach, C
    Novak, F
    JOURNAL OF ELECTRONIC TESTING-THEORY AND APPLICATIONS, 2002, 18 (02): : 241 - 251
  • [25] Verification of OpenSSL Version via Hardware Performance Counters
    Bruska, James
    Blasingame, Zander
    Liu, Chen
    DISRUPTIVE TECHNOLOGIES IN SENSORS AND SENSOR SYSTEMS, 2017, 10206
  • [26] DRAC: Adaptive control system with hardware performance counters
    Pillon, M
    Richard, O
    Da Costa, G
    EURO-PAR 2004 PARALLEL PROCESSING, PROCEEDINGS, 2004, 3149 : 55 - 63
  • [27] Can Hardware Performance Counters Detect Adversarial Inputs?
    Derasari, Preet
    Koppineedi, Siva
    Venkataramani, Guru
    2020 IEEE 63RD INTERNATIONAL MIDWEST SYMPOSIUM ON CIRCUITS AND SYSTEMS (MWSCAS), 2020, : 945 - 948
  • [28] Evaluating the Hardware Performance Counters of an Xtensa Virtual Prototype
    Omotosho, Adebayo
    Iiahi, Sirine
    Castillo, Ernesto Cristopher Villegas
    Hammer, Christian
    Sauer, Christian
    2023 26TH INTERNATIONAL SYMPOSIUM ON DESIGN AND DIAGNOSTICS OF ELECTRONIC CIRCUITS AND SYSTEMS, DDECS, 2023, : 1 - 6
  • [29] OpenMP application tuning using hardware performance counters
    Smeds, N
    OPENMP SHARED MEMORY PARALLEL PROGRAMMING, 2003, 2716 : 260 - 270
  • [30] Hardware security for software privacy support
    Gilmont, T
    Legat, JD
    Quisquater, JJ
    ELECTRONICS LETTERS, 1999, 35 (24) : 2096 - 2098