Looking closely at the Top500 list of high-performance computers (HPC) in the world, it becomes clear that computing power is not the only number that has been growing in the last three decades. The amount of power required to operate such massive computing machines has been steadily increasing, earning HPC users a higher than usual carbon footprint. While the problem is well known in academia, the exact energy requirements of hardware, software and how to optimize it are hard to quantify. To tackle this issue, we need tools to understand the software and its relationship with power consumption in today’s high performance computers. With that in mind, we present perun, a Python package and command line interface to measure energy consumption based on hardware performance counters and selected physical measurement sensors. This enables accurate energy measurements on various scales of computing, from a single laptop to an MPI-distributed HPC application. We include an analysis of the discrepancies between these sensor readings and hardware performance counters, with particular focus on the power draw of the usually overlooked non-compute components such as memory. One of our major insights is their significant share of the total energy consumption. We have equally analyzed the runtime and energy overhead perun generates when monitoring common HPC applications, and found it to be minimal. Finally, an analysis on the accuracy of different measuring methodologies when applied at large scales is presented.
| Related KIT institution | Scientific Computing Center (SCC) |
|---|---|
| Language | English |
| KITopen ID | 1000172675 |
| Keywords | Energy Benchmarking, High-performance Computing, Artificial Intelligence, Distributed Memory System |
| Publisher | Springer Nature Switzerland |
| ISBN of the conference proceedings | 978-3-031-39698-4 |
| Series | Lecture Notes in Computer Science (14100) ISSN: 0302-9743 |
| Event | 29th International European Conference on Parallel and Distributed Computing (Euro-Par), Limassol, Cyprus, Aug 28 – Sep 1, 2023 |
| Referenced in | Scopus Dimensions OpenAlex |
| HGF programme | 46.21.04 (POF IV, LK 01) HAICU |
| Further HGF programme | 46.21.02 (POF IV, LK 01) Cross-Domain ATMLs and Research Groups |
| Sustainable Development Goals (SDGs) |