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.
- Apple. 2005. Why apple chose intel. http://www.business2.com/b2/web/articles/0,17863,1084781,00.html.Google Scholar
- 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 ScholarDigital Library
- Boyd, S., and Vandenberghe, L. 2004. Convex Optimization. Cambridge University Press, Cambridge, MA. Google ScholarDigital Library
- 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 ScholarDigital Library
- Buttazzo, G. 1997. Hard Real-Time Computing Systems. Kluwer. Google ScholarDigital Library
- Cormen, T., Leiserson, C., Rivest, R., and Stein, C. 2001. Introduction to Algorithms. MIT Press, Cambridge, MA. Google ScholarDigital Library
- Crusoe. 2002. Crusoe tm550/tm5800 thermal design guide. http://crusoe.com/crusoe_docs/TM5800_ThermDesGuide_6-18-02.pdf.Google Scholar
- 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 ScholarDigital Library
- Gabriel, R. M. 1931. An additional proof of a maximal theorem of hardy and littlewood. J. London Math. Soc. 6, 163--166.Google ScholarCross Ref
- Hardy, G. H., and Littlewood, J. 1930. A maximal theorem with function-theoretic applications. Acta Math. 54, 81--116.Google ScholarCross Ref
- Hardy, G. H., Littlewood, J. E., and Polya, G. 1952. Inequalities. Cambridge University Press, Cambridge, MA.Google Scholar
- 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 ScholarDigital Library
- Irani, S., and Pruhs, K. R. 2005. Algorithmic problems in power management. SIGACT News 36, 2, 63--76. Google ScholarDigital Library
- Kwon, W., and Kim, T. 2003. Optimal voltage allocation techniques for dynamically variable voltage processors. In Design Automation. 125--130. Google ScholarDigital Library
- 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 ScholarCross Ref
- 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 Scholar
- Li, M., and Yao, F. F. 2005. An efficient algorithm for computing optimal discrete voltage schedules. SIAM J. Comput. 35, 658--671. Google ScholarDigital Library
- 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 Scholar
- Mudge, T. 2001. Power: A first-class architectural design constraint. Computer 34, 4, 52--58. Google ScholarDigital Library
- Nestorov, Y. 2003. Introductory lectures on convex programming.Google Scholar
- Sergent, J. E., and Krum, A. 1998. Thermal Management Handbook. McGraw-Hill, New York.Google Scholar
- 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 ScholarDigital Library
- Smith, D. R. 1974. Variational Methods in Optimization. Prentice-Hall, Englewood Cliffs, NJ.Google Scholar
- 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 ScholarDigital Library
- 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 ScholarDigital Library
- 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 ScholarDigital Library
Index Terms
- Speed scaling to manage energy and temperature
Recommendations
Average Rate Speed Scaling
Speed scaling is a power management technique that involves dynamically changing the speed of a processor. This gives rise to dual-objective scheduling problems, where the operating system both wants to conserve energy and optimize some Quality of ...
Optimality, fairness, and robustness in speed scaling designs
SIGMETRICS '10: Proceedings of the ACM SIGMETRICS international conference on Measurement and modeling of computer systemsThis work examines fundamental tradeoffs incurred by a speed scaler seeking to minimize the sum of expected response time and energy use per job. We prove that a popular speed scaler is 2-competitive for this objective and no "natural" speed scaler can ...
Optimality, fairness, and robustness in speed scaling designs
Performance evaluation reviewThis work examines fundamental tradeoffs incurred by a speed scaler seeking to minimize the sum of expected response time and energy use per job. We prove that a popular speed scaler is 2-competitive for this objective and no "natural" speed scaler can ...
Comments