Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1289927.1289945acmconferencesArticle/Chapter ViewAbstractPublication PagesesweekConference Proceedingsconference-collections
Article

Accurate on-line prediction of processor and memoryenergy usage under voltage scaling

Published:30 September 2007Publication History

ABSTRACT

Minimising energy use is an important factor in the operation of many classes of embedded systems - in particular, battery-powered devices. Dynamic voltage and frequency scaling (DVFS) provides some control over a processor's performance and energy consumption. In order to employ DVFS for managing a system's energy use, it is necessary to predict the effect this scaling has on the system's total energy consumption. Simple (yet widely-used) energy models lead to dramatically incorrect results for important classes of application programs.

Predicting the energy used under scaling requires (i) a prediction of the dependency of program performance (and hence duration of execution) on the frequencies and (ii) a prediction of the power drawn by the execution as a function of the frequencies and voltages.

As both of these characteristics are workload-specific our approach builds a model that, given a workload execution at one frequency setpoint, will predict the run-time and power at any other frequency setpoint. We assume temporal locality (which is valid for the vast majority of applications) so predicting the characteristics of one time slice, frame, or other instance of a task, will imply the characteristics of subsequent time slices, frames or instances (e.g. MPEG video decoding).

We present a systematic approach to building these models for a hardware platform, determining the best performance counters and weights. This characterisation, done once for a particular platform, produces platform-specific but workload-independent performance and power models.

We implemented the model on a real system and evaluated it under a comprehensive benchmark suite against measurements of the actual energy consumption. The results show that the model can accurately predict the energy use of a wide class of applications and is highly responsive to changes in the application behaviour.

References

  1. A. Acquaviva, L. Benini, and B. Ricco. Software-controlled processor speed setting for low-power streaming multimedia. IEEE Transactions on CAD ICAS, 20(11):1283--1292, Nov. 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. F. Bellosa. The benefits of event-driven energy accounting in power-sensitive systems. In Proceedings of the 9th SIGOPS European Workshop, Kolding, Denmark, Sept. 17-20 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. L. Bircher, M. Valluri, J. Law, and L. John. Runtime identification of microprocessor energy saving opportunities. In Proceedings of the 2005 International Symposium on Low Power Electronics and Design, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. G. Contreras and M. Martonosi. Power prediction for Intel XScale processors using performance monitoring unit events. In Proceedings of the 2005 International Symposium on Low Power Electronics and Design, San Diego, CA, USA, Aug. 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. E. Duesterwald, C. Cascaval, and S. Dwarkadas. Characterizing and predicting program behavior and its variability. In Proceedings of the 12th International Conferenece on Parallel Architectures and Compilation Techniques, Sept. 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. J. Flinn and M. Satyanarayanan. Powerscope: A tool for profiling the energy usage of mobile applications. In Proceedings of the Second IEEE, Workshop on Mobile Computing Systems and Applications, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. F. Fruth. Run-time energy characterization of the Intel PXA. Study thesis, Operating System Group, University of Erlangen, Germany, Apr. 2005.Google ScholarGoogle Scholar
  8. D. Grunwald, P. Levis, K. I. Farkas, C. B. Morrey III, and M. Neufeld. Policies for dynamic clock scheduling. In Proceedings of the 4th USENIX Symposium on Operating Systems Design and Implementation, pages 73--86, San Diego, CA, USA, Oct. 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. M. R. Guthaus, J. S. Reingenberg, D. Ernst, T. M. Austing, T. Mudge, and R. B. Brown. Mibench: A free, commercially representative embedded benchmark suite. In Proceedings of the 4th IEEE Annual Workshop on Workload Characterization, Dec. 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Intel Corporation. Intel PXA250 and PXA210 applications processors developers manual. http://www.intel.com/design/pca/products/pxa255/techdocs.htm, 2005.Google ScholarGoogle Scholar
  11. T. L. Martin and D. P. Siewiorek. Nonideal battery and main memory effects on cpu speed-setting for low power. IEEE Transactions on Very Large Scale Integration Systems, 9(1):29--34, Feb. 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Microchip Technology Incorporated. MCP3909: Energy metering IC with SPI interface and active power pulse output. http://www.microchip.com/MCP3909, 2006.Google ScholarGoogle Scholar
  13. A. Miyoshi, C. Lefurgy, E. V. Hensbergen, R. Rajamony, and R. Rajkumar. Critical power slope: understanding theruntime effects of frequency scaling. In Proceedings of the 16th International Conference on Supercomputing, pages 35--44, New York, NY, USA, 2002. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. R. Nathuji, B. Seshasayee, and K. Schwan. Combining compiler and operating system support for energy efficient i/o on embedded platforms. In Proceedings of the ACM Workshop on Software and Compilers for Embedded Systems, Dallas, TX, USA, 2005. ACM Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. R. Neugebauer and D. McAuley. Energy is just another resource: Energy accounting and energy pricing in the nemesis os. In Proceedings of the 8th Workshop on Hot Topics in Operating Systems, Schloss Elmau, Germany, 2001. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. J. Peddersen and S. Parameswaran. CLIPPER: Counter-based low impact processor power estimation at runtime. In Proceedings of the 12th Asia and South Pacific Design Automation Conference, Yokohama, Japan, Jan. 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Seiko Epson Corporation. S1F81100 technical manual. http://www.epsondevice.com, 2003.Google ScholarGoogle Scholar
  18. K. Seth, A. Anantaraman, F. Mueller, and E. Rotenberg. FAST: Frequency-aware static timing analysis. ACM Transactions on Embedded Computing Systems, 5(1):200--224, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. D. C. Snowdon. PLEB 2 web site. http://www.ertos.nicta.com.au/hardware/pleb, 2006.Google ScholarGoogle Scholar
  20. D. C. Snowdon, S. M. Petters, and G. Heiser. Power measurement as the basis for power management. In Proceedings of the 2005 Workshop on Operating System Platforms for Embedded Real-Time Applications, Palma, Mallorca, Spain, July 2005.Google ScholarGoogle Scholar
  21. D. C. Snowdon, S. Ruocco, and G. Heiser. Power Management and Dynamic Voltage Scaling: Myths and Facts. In Proceedings of the 2005 Workshop on Power Aware Real-time Computing, New Jersey, USA, Sept. 2005. Unpublished proceedings, available from http://ertos.nicta.com.au/publications.Google ScholarGoogle Scholar
  22. D. C. Snowdon, G. van der Linden, S. M. Petters, and G. Heiser. Accurate run-time prediction of performance degradation under frequency scaling. In Proceedings of the 2007 Workshop on Operating System Platforms for Embedded Real-Time Applications, Pisa, Italy, July 2007.Google ScholarGoogle Scholar
  23. M. Waitz. Accounting and control of power consumption in energy-aware operating systems. Diploma thesis, Operating System Group, University of Erlangen, Germany, Jan. 2003.Google ScholarGoogle Scholar
  24. M. Weiser, B. Welch, A. J. Demers, and S. Shenker. Scheduling for reduced CPU energy. In Proceedings of the 1st USENIX Symposium on Operating Systems Design and Implementation, pages 13--23, 1994. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. A. Weissel and F. Bellosa. Process cruise control - event-driven clock scaling for dynamic power management. In Proceedings of the International Conference on Compilers, Architecture and Synthesis for Embedded Systems, Grenoble, France, Oct. 8--11 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. A. Wei&3223;el, B. Beutel, and F. Bellosa. Cooperative IO - a novel IO semantics for energy-aware applications. In Proceedings of the 5th USENIX Symposium on Operating Systems Design and Implementation, Boston, MA, USA, Dec. 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. H. Zeng, C. S. Ellis, A. R. Lebeck, and A. Vahdat. Currentcy: Unifying policies for resource management. In Proceedings of the 2003 Annual USENIX Technical Conference, San Antonio, Texas, June 2003. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Accurate on-line prediction of processor and memoryenergy usage under voltage scaling

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        EMSOFT '07: Proceedings of the 7th ACM & IEEE international conference on Embedded software
        September 2007
        304 pages
        ISBN:9781595938251
        DOI:10.1145/1289927

        Copyright © 2007 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 30 September 2007

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • Article

        Acceptance Rates

        Overall Acceptance Rate60of203submissions,30%

        Upcoming Conference

        ESWEEK '24
        Twentieth Embedded Systems Week
        September 29 - October 4, 2024
        Raleigh , NC , USA

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader