Speed scaling to manage energy and temperature

N. Bansal, T. Kimbrel, K.R. Pruhs

    Research output: Contribution to journalArticleAcademicpeer-review

    257 Citations (Scopus)

    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^\alpha$ for some constant $\alpha > 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^(\alpha - 1)$ $\alpha|^\alpha$-competitive with respect to energy. We provide a tight $\alpha^\alpha$ 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 a =5. Finally, we show that the optimal temperature schedule can be computed offline in polynomial-time using the Ellipsoid algorithm.
    Original languageEnglish
    Pages (from-to)3-1/39
    JournalJournal of the ACM
    Volume54
    Issue number1
    DOIs
    Publication statusPublished - 2007

    Fingerprint Dive into the research topics of 'Speed scaling to manage energy and temperature'. Together they form a unique fingerprint.

    Cite this