Abstract
Energy is a critical resource in many computing systems, motivating the need for energy-efficient software design. This work proposes a new approach, energy-driven statistical sampling, to help software developers reason about the energy impact of software design decisions. We describe a prototype implementation of this approach built on the Itsy pocket computing platform. Our experimental results of 14 benchmark programs show that when multiple power states are exercised, energy-driven statistical sampling provides greater accuracy than existing time-driven statistical sampling approaches. Furthermore, if instruction-level energy attribution is desired, energy-driven statistical sampling may provide better resolution. On simple handheld systems, however, many applications may exercise only a single power state other than idle mode. In this case, time profiling may sufficiently approximate energy profiling for the purpose of assisting programmers, without requiring any hardware support.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
J. Anderson, L. Berc, J. Dean, S. Ghemawat, M. Henzinger, S. Leung, D. Sites, M. Vandevoorde, C. Waldspurger, and W. Weihl. Continuous profiling: where have all the cycles gone. In Proceedings of the 16th Symposium on Operating Systems Principles, October 1997.
F. Bellosa. The benefits of event-driven energy accounting in power sensitive systems. In Proceedings of the 9th ACM SIGOPS European Workshop, September 2000.
D. Brooks, V. Tiwari, and M. Martonosi. Wattch: A framework for architectural-level power analysis and optimizations. In Proceedings of the 27th International Symposium on Computer Architecture (ISCA), June 2000.
T.L. Cignetti, K. Komarov, and C. Ellis. Energy estimation tools for the Palm. In Proceedings of the ACM MSWiM’2000: Modeling, Analysis and Simulation of Wireless and Mobile Systems, August 2000.
J. Dean, J. E. Hicks, C. Waldspurger, B. Weihl, and George Chrysos. ProfileMe: Hardware support for instruction-level profiling on out-of-order processors. In Proceedings of the 30th Annual International Symposium on Microarchitecture, December 1997.
X. Zhang et al. Operating system support for automated profiling and optimization. In Proceedings of the 16th ACM Symposium on Operating Systems Principles, October 1997.
J. Flinn and M. Satyanarayanan. PowerScope: A tool for profiling the energy usage of mobile applications. In Proceedings of the Workshop on Mobile Computing Systems and Applications (WMCSA), pages 2–10, February 1999.
Jason Flinn, Keith I. Farkas, and Jennifer Anderson. Power and energy characterization of the itsy pocket computer (version 1.5). Technical Report Technical Note TN-56, Compaq Western Research Laboratory, February 2000.
W.R. Hamburgen, D.A. Wallach, M. A. Viredaz, L.S. Brakmo, C. A. Waldspurger, J. F. Bartlett, T. Mann, and K. I. Farkas. Itsy: Stretching the bounds of mobile computing. IEEE Computer, 34(4), April 2001.
J. Lorch and A. J. Smith. Energy consumption of Apple Macintosh computers. IEEE Micro Magazine, 18(6), November/December 1998.
T. Simunic, L. Benini, and G. De Micheli. Energy-efficient design of battery-powered embedded systems. In Proceedings of the International Symposium on Low-Power Electronics and Design’ 98, June 1998.
Amit Sinha and Anantha P. Chandrakasan. Jouletrack-a web based tool for software energy profiling. In Design Automation Conference (DAC 2001), June 2001.
W. Ye, N. Vijaykrishan, M. Kandemir, and M. J. Irwin. The design and use of SimplePower: A cycle-accurate energy estimation tool. In Proceedings of the Design Automation Conference, June 2000.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Chang, F., Farkas, K.I., Ranganathan, P. (2003). Energy-Driven Statistical Sampling: Detecting Software Hotspots. In: Falsafi, B., Vijaykumar, T.N. (eds) Power-Aware Computer Systems. PACS 2002. Lecture Notes in Computer Science, vol 2325. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36612-1_8
Download citation
DOI: https://doi.org/10.1007/3-540-36612-1_8
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-01028-9
Online ISBN: 978-3-540-36612-6
eBook Packages: Springer Book Archive