The preemptive resource allocation problem

We revisit a classical scheduling model to incorporate modern trends in data center networks and cloud services. Addressing some key challenges in the allocation of shared resources to user requests (jobs) in such settings, we consider the following variants of the classic {\em resource allocation problem} (\textsf{RAP}). The input to our problems is a set $J$ of jobs and a set $M$ of homogeneous hosts, each has an available amount of some resource. A job is associated with a release time, a due date, a weight, and a given length, as well as its resource requirement. A \emph{feasible} schedule is an allocation of the resource to a subset of the jobs, satisfying the job release times/due dates as well as the resource constraints. A crucial distinction between classic {\textsf{RAP}} and our problems is that we allow preemption and migration of jobs, motivated by virtualization techniques. We consider two natural objectives: {\em throughput maximization} (\textsf{MaxT}), which seeks a maximum weight subset of the jobs that can be feasibly scheduled on the hosts in $M$, and {\em resource minimization} (\textsf{MinR}), that is finding the minimum number of (homogeneous) hosts needed to feasibly schedule all jobs. Both problems are known to be NP-hard. We first present a $\Omega(1)$-approximation algorithm for \textsf{MaxT} instances where time-windows form a laminar family of intervals. We then extend the algorithm to handle instances with arbitrary time-windows, assuming there is sufficient slack for each job to be completed. For \textsf{MinR} we study a more general setting with $d$ resources and derive an $O(\log d)$-approximation for any fixed $d \geq 1$, under the assumption that time-windows are not too small. This assumption can be removed leading to a slightly worse ratio of $O(\log d\log^* T)$, where $T$ is the maximum due date of any job.

[1]  A. Frieze,et al.  Approximation algorithms for the m-dimensional 0–1 knapsack problem: Worst-case and probabilistic analyses , 1984 .

[2]  Julia Chuzhoy,et al.  Resource Minimization Job Scheduling , 2009, APPROX-RANDOM.

[3]  Bala Kalyanasundaram,et al.  Eliminating migration in multi-processor scheduling , 1999, SODA '99.

[4]  Arshia Kaul,et al.  Optimal advertising on a two-dimensional web banner , 2018, Int. J. Syst. Assur. Eng. Manag..

[5]  E. L. Lawler,et al.  A dynamic programming algorithm for preemptive scheduling of a single machine to minimize the number of late jobs , 1991 .

[6]  Refael Hassin,et al.  Allocation of bandwidth and storage , 2002 .

[7]  Klaus Jansen,et al.  On Preemptive Resource Constrained Scheduling: Polynomial-Time Approximation Schemes , 2002, IPCO.

[8]  Sudipto Guha,et al.  Approximating the Throughput of Multiple Machines in Real-Time Scheduling , 2002, SIAM J. Comput..

[9]  Vahab S. Mirrokni,et al.  Tight Approximation Algorithms for Maximum Separable Assignment Problems , 2019 .

[10]  Sanjeev Khanna,et al.  On Multidimensional Packing Problems , 2004, SIAM J. Comput..

[11]  Joseph Naor,et al.  Approximating the Advertisement Placement Problem , 2002, IPCO.

[12]  Sudipto Guha,et al.  Machine minimization for scheduling jobs with interval constraints , 2004, 45th Annual IEEE Symposium on Foundations of Computer Science.

[13]  Milind Dawande,et al.  Optimal Scheduling and Placement of Internet Banner Advertisements , 2007, IEEE Transactions on Knowledge and Data Engineering.

[14]  Alberto Caprara,et al.  A New Approximation Method for Set Covering Problems, with Applications to Multidimensional Bin Packing , 2009, SIAM J. Comput..

[15]  Milind Dawande,et al.  Scheduling Web Advertisements: A Note on the Minspace Problem , 2005, J. Sched..

[16]  Joseph Naor,et al.  Near-optimal scheduling mechanisms for deadline-sensitive jobs in large computing clusters , 2012, SPAA '12.

[17]  Yuval Rabani,et al.  An improved approximation algorithm for resource allocation , 2011, TALG.

[18]  Milind Dawande,et al.  Performance Bounds of Algorithms for Scheduling Advertisements on a Web Page , 2003, J. Sched..

[19]  Colin McDiarmid,et al.  Surveys in Combinatorics, 1989: On the method of bounded differences , 1989 .

[20]  Maxim Sviridenko,et al.  Pipage Rounding: A New Method of Constructing Algorithms with Proven Performance Guarantee , 2004, J. Comb. Optim..

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

[22]  Nikhil Bansal,et al.  A logarithmic approximation for unsplittable flow on line graphs , 2014, TALG.

[23]  Anamitra R. Choudhury,et al.  Improved algorithms for resource allocation under varying capacity , 2018, J. Sched..

[24]  Nikhil Bansal,et al.  Improved Approximation for Vector Bin Packing , 2016, SODA.

[25]  Yossi Matias,et al.  Scheduling space-sharing for internet advertising , 2002, Journal of Scheduling.

[26]  Cynthia A. Phillips,et al.  Off-line admission control for general scheduling problems , 2000, SODA '00.

[27]  Goutam Dutta,et al.  Survey on Revenue Management in Media and Broadcasting , 2017, Interfaces.

[28]  Reuven Bar-Yehuda,et al.  A unified approach to approximating resource allocation and scheduling , 2000, STOC '00.