Measuring energy consumption for short code paths using RAPL
- 4 January 2012
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGMETRICS Performance Evaluation Review
- Vol. 40 (3), 13-17
- https://doi.org/10.1145/2425248.2425252
Abstract
Measuring the energy consumption of software components is a major building block for generating models that allow for energy-aware scheduling, accounting and budgeting. Current measurement techniques focus on coarse-grained measurements of application or system events. However, fine grain adjustments in particular in the operating-system kernel and in application-level servers require power profiles at the level of a single software function. Until recently, this appeared to be impossible due to the lacking fine grain resolution and high costs of measurement equipment. In this paper we report on our experience in using the Running Average Power Limit (RAPL) energy sensors available in recent Intel CPUs for measuring energy consumption of short code paths. We investigate the granularity at which RAPL measurements can be performed and discuss practical obstacles that occur when performing these measurements on complex modern CPUs. Furthermore, we demonstrate how to use the RAPL infrastructure to characterize the energy costs for decoding video slices.Keywords
This publication has 7 references indexed in Scilit:
- Where is the energy spent inside my app?Published by Association for Computing Machinery (ACM) ,2012
- Slice-balancing H.264 video encoding for improved scalability of multicore decodingPublished by Association for Computing Machinery (ACM) ,2007
- Accurate on-line prediction of processor and memoryenergy usage under voltage scalingPublished by Association for Computing Machinery (ACM) ,2007
- Balancing power consumption in multiprocessor systemsPublished by Association for Computing Machinery (ACM) ,2006
- Managing battery lifetime with energy-aware adaptationACM Transactions on Computer Systems, 2004
- Overview of the H.264/AVC video coding standardIEEE Transactions on Circuits and Systems for Video Technology, 2003
- BluetoothACM SIGMOBILE Mobile Computing and Communications Review, 1998