Measuring energy consumption for short code paths using RAPL

Autor: Björn Döbel, Hermann Härtig, Marcus Völp, Marcus Hähnel
Jazyk: angličtina
Rok vydání: 2013
Předmět:
Zdroj: ACM SIGMETRICS Performance Evaluation Review, Volume 40 Issue 3, December 2012, S. 13-17, ISSN: 0163-5999
Popis: 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.
Databáze: OpenAIRE