skip to main content
article

Speed scaling to manage energy and temperature

Published:01 March 2007Publication History
Skip Abstract Section

Abstract

Speed scaling is a power management technique that involves dynamically changing the speed of a processor. We study policies for setting the speed of the processor for both of the goals of minimizing the energy used and the maximum temperature attained. The theoretical study of speed scaling policies to manage energy was initiated in a seminal paper by Yao et al. [1995], and we adopt their setting. We assume that the power required to run at speed s is P(s) = sα for some constant α > 1. We assume a collection of tasks, each with a release time, a deadline, and an arbitrary amount of work that must be done between the release time and the deadline. Yao et al. [1995] gave an offline greedy algorithm YDS to compute the minimum energy schedule. They further proposed two online algorithms Average Rate (AVR) and Optimal Available (OA), and showed that AVR is 2α − 1 αα-competitive with respect to energy. We provide a tight αα bound on the competitive ratio of OA with respect to energy.

We initiate the study of speed scaling to manage temperature. We assume that the environment has a fixed ambient temperature and that the device cools according to Newton's law of cooling. We observe that the maximum temperature can be approximated within a factor of two by the maximum energy used over any interval of length 1/b, where b is the cooling parameter of the device. We define a speed scaling policy to be cooling-oblivious if it is simultaneously constant-competitive with respect to temperature for all cooling parameters. We then observe that cooling-oblivious algorithms are also constant-competitive with respect to energy, maximum speed and maximum power. We show that YDS is a cooling-oblivious algorithm. In contrast, we show that the online algorithms OA and AVR are not cooling-oblivious. We then propose a new online algorithm that we call BKP. We show that BKP is cooling-oblivious. We further show that BKP is e-competitive with respect to the maximum speed, and that no deterministic online algorithm can have a better competitive ratio. BKP also has a lower competitive ratio for energy than OA for α ≥5.

Finally, we show that the optimal temperature schedule can be computed offline in polynomial-time using the Ellipsoid algorithm.

References

  1. Apple. 2005. Why apple chose intel. http://www.business2.com/b2/web/articles/0,17863,1084781,00.html.Google ScholarGoogle Scholar
  2. Bansal, N., Kimbrel, T., and Pruhs, K. 2004. Dynamic speed scaling to manage energy and temperature. In Proceedings of the IEEE Syposium on Foundations of Computer Science. IEEE Computer Society Press, Los Alamitos, CA. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Boyd, S., and Vandenberghe, L. 2004. Convex Optimization. Cambridge University Press, Cambridge, MA. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Brooks, D. M., Bose, P., Schuster, S. E., Jacobson, H., Kudva, P. N., Buyuktosunoglu, A., Wellman, J.-D., Zyuban, V., Gupta, M., and Cook, P. W. 2000. Power-aware microarchitecture: Design and modeling challenges for next-generation microprocessors. IEEE Micro 20, 6, 26--44. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Buttazzo, G. 1997. Hard Real-Time Computing Systems. Kluwer. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Cormen, T., Leiserson, C., Rivest, R., and Stein, C. 2001. Introduction to Algorithms. MIT Press, Cambridge, MA. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Crusoe. 2002. Crusoe tm550/tm5800 thermal design guide. http://crusoe.com/crusoe_docs/TM5800_ThermDesGuide_6-18-02.pdf.Google ScholarGoogle Scholar
  8. Ellis, C. S. 1999. The case for higher-level power management. In Proceedings of the IEEE Workshop on Hot Topics in Operating Systems. IEEE Computer Society Press, Los Alamitos, CA. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Gabriel, R. M. 1931. An additional proof of a maximal theorem of hardy and littlewood. J. London Math. Soc. 6, 163--166.Google ScholarGoogle ScholarCross RefCross Ref
  10. Hardy, G. H., and Littlewood, J. 1930. A maximal theorem with function-theoretic applications. Acta Math. 54, 81--116.Google ScholarGoogle ScholarCross RefCross Ref
  11. Hardy, G. H., Littlewood, J. E., and Polya, G. 1952. Inequalities. Cambridge University Press, Cambridge, MA.Google ScholarGoogle Scholar
  12. Irani, S., Gupta, R. K., and Shukla, S. 2003. Algorithms for Power Savings. In Proceedings of the ACM/SIAM Symposium on Discrete Algorithms. 37--46. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Irani, S., and Pruhs, K. R. 2005. Algorithmic problems in power management. SIGACT News 36, 2, 63--76. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Kwon, W., and Kim, T. 2003. Optimal voltage allocation techniques for dynamically variable voltage processors. In Design Automation. 125--130. Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Li, M., Liu, B. J., and Yao, F. F. 2006a. Min-energy voltage allocation for tree-structured tasks. J. Combin. Optim. 11, 3, 305--319.Google ScholarGoogle ScholarCross RefCross Ref
  16. Li, M., Yao, A. C., and Yao, F. F. 2006b. Discrete and continuous min-energy schedules for variable voltage processors. In Proceedings of the National Academy of Sciences USA. Vol. 103. 3983--3987.Google ScholarGoogle Scholar
  17. Li, M., and Yao, F. F. 2005. An efficient algorithm for computing optimal discrete voltage schedules. SIAM J. Comput. 35, 658--671. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Markoff, J. 2004. Intel's big shift after hitting technical wall, New York Times (May 17, 2004). http://www.nytimes.com/2004/05/17/business/17intel.html?ex=1400212800&en=482e58801aa02ede&ei=5007&partner=USERLAND.Google ScholarGoogle Scholar
  19. Mudge, T. 2001. Power: A first-class architectural design constraint. Computer 34, 4, 52--58. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Nestorov, Y. 2003. Introductory lectures on convex programming.Google ScholarGoogle Scholar
  21. Sergent, J. E., and Krum, A. 1998. Thermal Management Handbook. McGraw-Hill, New York.Google ScholarGoogle Scholar
  22. Skadron, K., Stan, M. R., Huang, W., Velusamy, S., Sankaranarayanan, K., and Tarjan, D. 2003. Temperature-aware microarchitecture. In Proceedings of the International Symposium on Computer Architecture. 2--13. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. Smith, D. R. 1974. Variational Methods in Optimization. Prentice-Hall, Englewood Cliffs, NJ.Google ScholarGoogle Scholar
  24. Tiwari, V., Singh, D., Rajgopal, S., Mehta, G., Patel, R., and Baez, F. 1998. Reducing power in high-performance microprocessors. In Proceedings of the Design Automation Conference. 732--737. Google ScholarGoogle ScholarDigital LibraryDigital Library
  25. Yao, F., Demers, A., and Shenker, S. 1995. A scheduling model for reduced CPU energy. In Proceedings of the IEEE Syposium on Foundations of Computer Science. IEEE Computer Society Press, Los Alamitos, CA, 374--382. Google ScholarGoogle ScholarDigital LibraryDigital Library
  26. Yun, H., and Kim, J. 2003. On energy-optimal voltage scheduling for fixed priority hard real-time systems. ACM Trans. Embed. Comput. Syst. 2, 3, 393--430. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Speed scaling to manage energy and temperature

          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

          Full Access

          • Published in

            cover image Journal of the ACM
            Journal of the ACM  Volume 54, Issue 1
            March 2007
            130 pages
            ISSN:0004-5411
            EISSN:1557-735X
            DOI:10.1145/1206035
            Issue’s Table of Contents

            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: 1 March 2007
            Published in jacm Volume 54, Issue 1

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • article

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader