Affiliation:
1. DIAG Sapienza, University of Rome Rome Italy
2. DICII University of Rome “Tor Vergata” Rome Italy
3. Centro Nazionale di Ricerca in High Performance Computing, Big Data and Quantum Computing Casalecchio di Reno BO Italy
Abstract
AbstractHardware 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.
Funder
Ministry for Universities and Research
Reference63 articles.
1. A survey of power and energy predictive models in HPC systems and applications;O'Brien K;ACM Comput Surv,2017
2. Complete System Power Estimation Using Processor Performance Events
3. Fight hardware with hardware: system‐wide detection and mitigation of side‐channel attacks using performance counters;Carnà S;Digit Threat Res Pract,2022
4. Hardware-Assisted Incremental Checkpointing in Speculative Parallel Discrete Event Simulation