Conference paper
Cite …

perun: Benchmarking Energy Consumption of High-Performance Computing Applications

Juan Pedro Gutiérrez Hermosillo Muriedas  ORCID iD icon 1, Katharina Flügel 1, Charlotte Debus 1, Holger Obermaier 1, Achim Streit ORCID iD icon 1 and Markus Götz ORCID iD icon 1
1 Scientific Computing Center (SCC), Karlsruhe Institute of Technology (KIT)
Abstract

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.