Primal Dual Gives Almost Optimal Energy Efficient Online Algorithms

  • Nikhil Devanur ,
  • Zhiyi Huang

In Proc. SODA 2014 |

We consider the problem of online scheduling of jobs on unrelated machines with dynamic speed scaling to minimize the sum of energy and weighted flow time. We give an algorithm with an almost optimal competitive ratio for arbitrary power functions. (No earlier results handled arbitrary power functions for minimizing flow time plus energy with unrelated machines.) For power functions of the form f(s) = s α for some constant α > 1, we get a competitive ratio of O( α log α ), improving upon a previous competitive ratio of O(α 2 ) by Anand et al. [3], along with a matching lower bound of Ω( α log α ). Further, in the resource augmentation model, with a 1 +  speed up, we give a 2( 1  + 1) competitive algorithm, with essentially the same techniques, improving the bound of 1 + O( 1  2 ) by Gupta et al. [15] and matching the bound of Anand et al. [3] for the special case of fixed speed unrelated machines. Unlike the previous results most of which used an amortized local competitiveness argument or dual fitting methods, we use a primal-dual method, which is useful not only to analyze the algorithms but also to design the algorithm itself.