# Dynamic speed scaling to manage energy and temperature

## Abstract

We first consider online speed scaling algorithms to minimize the energy used subject to the constraint that every job finishes by its deadline. We assume that the power required to run at speed s is P(s) = s α. We provide a tight α α bound on the competitive ratio of the previously proposed Optimal Available algorithm. This improves the best known competitive ratio by a factor of 2 α. We then introduce a new online algorithm, and show that this algorithm's competitive ratio is at most 2(α/(α - 1)) αe α. This competitive ratio is significantly better and is approximately 2e α+1 for large α. Our result is essentially tight for large α. In particular, as α approaches infinity, we show that any algorithm must have competitive ratio e α (up to lower order terms). We then turn to the problem of dynamic speed scaling to minimize the maximum temperature that the device ever reaches, again subject to the constraint that all jobs finish by their deadlines. We assume that the device cools according to Fourier's law. We show how to solve this problem in polynomial time, within any error bound, using the Ellipsoid algorithm. © 2004 IEEE.