Lagrangian Duality in Online Scheduling with Resource Augmentation and Speed Scaling

We present an unified approach to study online scheduling problems in the resource augmentation/speed scaling models. Potential function method is extensively used for analyzing algorithms in these models; however, they yields little insight on how to construct potential functions and how to design algorithms for related problems. In the paper, we generalize and strengthen the dual-fitting technique proposed by Anand et al. [1]. The approach consists of considering a possibly non-convex relaxation and its Lagrangian dual; then constructing dual variables such that the Lagrangian dual has objective value within a desired factor of the primal optimum. The competitive ratio follows by the standard Lagrangian weak duality. This approach is simple yet powerful and it is seemingly a right tool to study problems with resource augmentation or speed scaling. We illustrate the approach through the following results. 1 We revisit algorithms EQUI and LAPS in Non-clairvoyant Scheduling to minimize total flow-time. We give simple analyses to prove known facts on the competitiveness of such algorithms. Not only are the analyses much simpler than the previous ones, they also explain why LAPS is a natural extension of EQUI to design a scalable algorithm for the problem. 2 We consider the online scheduling problem to minimize total weighted flow-time plus energy where the energy power f(s) is a function of speed s and is given by s α for α ≥ 1. For a single machine, we showed an improved competitive ratio for a non-clairvoyant memoryless algorithm. For unrelated machines, we give an O(α/logα)-competitive algorithm. The currently best algorithm for unrelated machines is O(α 2)-competitive. 3 We consider the online scheduling problem on unrelated machines with the objective of minimizing ∑ i,j w ij f(F j ) where F j is the flow-time of job j and f is an arbitrary non-decreasing cost function with some nice properties. We present an algorithm which is \(\frac{1}{1-3\epsilon}\)-speed, \(\frac{2K(\epsilon)}{\epsilon}\)-competitive where K(e) is a function depending on f and e. The algorithm does not need to know the speed (1 + e) a priori. A corollary is a (1 + e)-speed, \(\frac{k}{\epsilon^{1+1/k}}\)-competitive algorithm (which does not know e a priori) for the objective of minimizing the weighted l k -norm of flow-time.

[1]  Rajeev Motwani,et al.  Non-clairvoyant scheduling , 1994, SODA '93.

[2]  Jeff Edmonds Scheduling in the dark , 2000, Theor. Comput. Sci..

[3]  Bala Kalyanasundaram,et al.  Speed is as powerful as clairvoyance , 2000, JACM.

[4]  Sanjeev Khanna,et al.  Algorithms for minimizing weighted flow time , 2001, STOC '01.

[5]  Kirk Pruhs,et al.  Server Scheduling in the Weighted lp Norm , 2004, LATIN.

[6]  Gerhard J. Woeginger,et al.  All-norm approximation algorithms , 2002, J. Algorithms.

[7]  Amit Kumar,et al.  Minimizing Average Flow-time : Upper and Lower Bounds , 2007, 48th Annual IEEE Symposium on Foundations of Computer Science (FOCS'07).

[8]  Nikhil Bansal,et al.  Scheduling for Speed Bounded Processors , 2008, ICALP.

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

[10]  Aravind Srinivasan,et al.  A unified approach to scheduling on unrelated parallel machines , 2009, JACM.

[11]  Joseph Naor,et al.  The Design of Competitive Online Algorithms via a Primal-Dual Approach , 2009, Found. Trends Theor. Comput. Sci..

[12]  N. Bansal,et al.  Speed scaling with an arbitrary power function , 2009, SODA 2009.

[13]  Kirk Pruhs,et al.  Nonclairvoyant Speed Scaling for Flow and Energy , 2009, STACS.

[14]  Nikhil Bansal,et al.  Weighted flow time does not admit O(1)-competitive algorithms , 2009, SODA.

[15]  Nikhil Bansal,et al.  Better Scalable Algorithms for Broadcast Scheduling , 2010, ICALP.

[16]  Peng Zhang,et al.  Non-clairvoyant Scheduling for Weighted Flow Time and Energy on Speed Bounded Processors , 2011, Chic. J. Theor. Comput. Sci..

[17]  Kirk Pruhs,et al.  The Geometry of Scheduling , 2010, FOCS.

[18]  Kirk Pruhs,et al.  A tutorial on amortized local competitiveness in online scheduling , 2011, SIGA.

[19]  Nikhil R. Devanur,et al.  Online matching with concave returns , 2012, STOC '12.

[20]  Kirk Pruhs,et al.  Weighted geometric set multi-cover via quasi-uniform sampling , 2012, J. Comput. Geom..

[21]  Sungjin Im,et al.  Online scheduling algorithms for average flow time and its variants , 2012 .

[22]  Prudence W. H. Wong,et al.  Online Speed Scaling Based on Active Job Count to Minimize Flow Plus Energy , 2012, Algorithmica.

[23]  Amit Kumar,et al.  Resource augmentation for weighted flow-time explained by dual fitting , 2012, SODA.

[24]  Kirk Pruhs,et al.  Online Primal-Dual for Non-linear Optimization with Applications to Speed Scaling , 2011, WAOA.

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

[26]  Kyle Fox,et al.  Weighted Flowtime on Capacitated Machines , 2013, SODA.

[27]  Peter Kling,et al.  Profitable scheduling on multiple speed-scalable processors , 2012, SPAA.

[28]  Kirk Pruhs,et al.  Online Scheduling with General Cost Functions , 2012, SIAM J. Comput..