Nonclairvoyant sleep management and flow-time scheduling on multiple processors

In large data centers, managing the availability of servers is often non-trivial, especially when the workload is unpredictable. Using too many servers would waste energy, while using too few would affect the performance. A recent theoretical study, which assumes the clairvoyant model where job size is known at arrival time, has successfully integrated sleep-and-wakeup management into multi-processor job scheduling and obtained a competitive tradeoff between flow time and energy [6]. This paper extends the study to the nonclairvoyant model where the size of a job is not known until the job is finished. We give a new online algorithm SATA which is, for any ε > 0, (1 + ε)-speed O( 1⁄ε2 )-competitive for the objective of minimizing the sum of flow time and energy. SATA also gives a new nonclairvoyant result for the classic setting where all processors are always on and the concern is flow time only. In this case, the previous work of Chekuri et al. [7] and Chadha et al. [8] has revealed that random dispatching can give a non-migratory algorithm that is (1 + ε)-speed O( 1⁄ε3 )-competitive, and any deterministic non-migratory algorithm is Ω(m⁄s)-competitive using s-speed processors [7], where m is the number of processors. SATA, which is a deterministic algorithm migrating each job at most four times on average, has a competitive ratio of O(1⁄ε2). The number of migrations used by SATA is optimal up to a constant factor as we can extend the above lower bound result.

[1]  Stefano Leonardi,et al.  Approximating total flow time on parallel machines , 2007, J. Comput. Syst. Sci..

[2]  Yossi Azar,et al.  Minimizing Total Flow Time and Total Completion Time with Immediate Dispatching , 2003, SPAA '03.

[3]  Leon Atkins,et al.  Algorithms for power savings , 2014 .

[4]  Susanne Albers,et al.  Energy-efficient algorithms for flow time minimization , 2006, STACS.

[5]  Kirk Pruhs,et al.  Scalably scheduling processes with arbitrary speedup curves , 2009, TALG.

[6]  Kirk Pruhs,et al.  Scalably Scheduling Power-Heterogeneous Processors , 2010, ICALP.

[7]  Eric Torng,et al.  SRPT optimally utilizes faster machines to minimize flow time , 2004, SODA '04.

[8]  Ashish Goel,et al.  Multi-processor scheduling to minimize flow time with ε resource augmentation , 2004, STOC '04.

[9]  Samir Khuller,et al.  Energy efficient scheduling via partial shutdown , 2009, SODA '10.

[10]  Lap-Kei Lee,et al.  Non-clairvoyant Speed Scaling for Weighted Flow Time , 2010, ESA.

[11]  V. N. Muralidhara,et al.  A competitive algorithm for minimizing weighted flow time on unrelatedmachines with speed augmentation , 2009, STOC '09.

[12]  Prudence W. H. Wong,et al.  Sleep with Guilt and Work Faster to Minimize Flow Plus Energy , 2009, ICALP.

[13]  Mor Harchol-Balter,et al.  Optimality analysis of energy-performance trade-off for server farm management , 2010, Perform. Evaluation.

[14]  Kyle Fox,et al.  Online scheduling on identical machines using SRPT , 2010, SODA '11.

[15]  Kirk Pruhs,et al.  Scheduling heterogeneous processors isn't as easy as you think , 2012, SODA.

[16]  Kirk Pruhs,et al.  Speed Scaling with an Arbitrary Power Function , 2009, TALG.