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.
- Advanced Micro Devices. BIOS and Kernel Developer's Guide (BKDG) for AMD Family 15h Models 00h-0Fh Processors. 2012.Google Scholar
- A. Carroll and G. Heiser. An analysis of power consumption in a smartphone. In Proceedings of the 2010 USENIX Annual Technical Conference, pages 1--14, Boston, MA, USA, Jun 2010. Google ScholarDigital Library
- FFmpeg project. http://www.ffmpeg.org.Google Scholar
- J. Flinn and M. Satyanarayanan. Managing battery lifetime with energy-aware adaptation. ACM Trans. Comput. Syst., 22(2):137--179, May 2004. Google ScholarDigital Library
- J. Haartsen, M. Naghshineh, J. Inouye, O. J. Joeressen, and W. Allen. Bluetooth: vision, goals, and architecture. SIGMOBILE Mob. Comput. Commun. Rev., 2(4):38--45, Oct. 1998. Google ScholarDigital Library
- Intel Corp. Intel Xeon processor. http://www.intel.com/xeon, 2012.Google Scholar
- Intel Corp. Intel R 64 and IA-32 Architectures Software Developer Manual. 2012.Google Scholar
- ISO/IEC 14496-10. Coding of audio-visual objects, part 10: Advanced video coding.Google Scholar
- Marvel Studios. The Avengers -- Big Game (31s). http://trailers.apple.com/trailers/marvel/avengers/.Google Scholar
- J. C. McCullough, Y. Agarwal, J. Chandrashekar, S. Kuppuswamy, A. C. Snoeren, and R. K. Gupta. Evaluating the effectiveness of model-based power characterization. In Proceedings of the 2011 USENIX Annual Technical Conference, USENIX ATC'11, Berkeley, CA, USA, 2011. USENIX Association. Google ScholarDigital Library
- A. Merkel and F. Bellosa. Balancing power consumption in multiprocessor systems. In Proceedings of the 1st ACM SIGOPS European Conference on Computer Systems 2006, pages 403--414, New York, NY, USA, 2006. ACM. Google ScholarDigital Library
- A. Pathak, Y. C. Hu, and M. Zhang. Where is the energy spent inside my app?: Fine grained energy accounting on smartphones with eprof. In Proceedings of the 7th ACM Europ. Conference on Computer Systems, pages 29--42, New York, NY, USA, 2012. ACM. Google ScholarDigital Library
- M. Pohlack, B. Döbel, and A. Lackorzynski. Towards runtime monitoring in real-time systems. In In Proceedings of the Eighth Real-Time Linux Workshop, Lanzhou, P.R. China, 2006.Google Scholar
- M. Roitzsch. Slice-balancing H.264 video encoding for improved scalability of multicore decoding. In Proceedings of the 7th International Conference on Embedded Sofware, Salzburg, Austria, EMSOFT'07. ACM, 2007. Google ScholarDigital Library
- D. C. Snowdon, S. M. Petters, and G. Heiser. Accurate on-line prediction of processor and memory energy usage under voltage scaling. In Proceedings of the 7th International Conference on Embedded Software, pages 84--93, Salzburg, Austria, Oct 2007. Google ScholarDigital Library
- TU Dresden OS Group. L4/Fiasco.OC microkernel. http://www.tudos.org/fiasco, 2012.Google Scholar
- M. Weiser, B. Welch, A. Demers, and S. Shenker. Scheduling for reduced CPU energy. In Proceedings of the 1st USENIX conference on Operating Systems Design and Implementation, OSDI '94, Berkeley, CA, USA, 1994. USENIX Association. Google ScholarDigital Library
- T. Wiegand, G. J. Sullivan, G. Bjntegaard, and A. Luthra. Overview of the H.264/AVC video coding standard. IEEE Trans. Circuits Syst. Video Techn., 13(7):560--576, 2003. Google ScholarDigital Library
Index Terms
- Measuring energy consumption for short code paths using RAPL
Recommendations
RAPL in Action: Experiences in Using RAPL for Power Measurements
Special Issue on ICPE 2017 and Regular PapersTo improve energy efficiency and comply with the power budgets, it is important to be able to measure the power consumption of cloud computing servers. Intel’s Running Average Power Limit (RAPL) interface is a powerful tool for this purpose. RAPL ...
A Validation of DRAM RAPL Power Measurements
MEMSYS '16: Proceedings of the Second International Symposium on Memory SystemsRecent Intel processors support the Running Average Power Level (RAPL) interface, which among other things provides estimated energy measurements for the CPUs, integrated GPU, and DRAM. These measurements are easily accessible by the user, and can be ...
Power consumption evaluation of an MHD simulation with CPU power capping
CCGRID '14: Proceedings of the 14th IEEE/ACM International Symposium on Cluster, Cloud, and Grid ComputingRecently to achieve the Exa-flops next generation computer system, the power consumption becomes the important issue. On the other hand, the power consumption character of application program is not so considered now. In this study we examine the power ...
Comments