Efficient Approximation Algorithms for the Bounded Flexible Scheduling Problem in Clouds

Clouds, such as Amazon Infrastructure-as-a-Service (IaaS) clouds and EMC Hybrid Cloud, impose growing requirements of resource-efficiency scheduling. The bounded flexible scheduling (BFS) problem is one of the problems proposed to meet such requirements. In BFS, we are given a set of identical machines and a set of jobs, each of which is with a value, a workload, a deadline and a parallelism degree, i.e., the maximum number of machines on which the job can execute concurrently. The problem is to compute an assignment of the given jobs to the machines, such that the total value of the jobs successfully completed by their deadlines is maximized. This paper presents a factor- <inline-formula><tex-math notation="LaTeX">$\frac{C-k}{C}$</tex-math><alternatives> <inline-graphic xlink:href="shen-ieq1-2731843.gif"/></alternatives></inline-formula> approximation algorithm for BFS, where <inline-formula><tex-math notation="LaTeX">$k$</tex-math><alternatives> <inline-graphic xlink:href="shen-ieq2-2731843.gif"/></alternatives></inline-formula> is the maximum parallelism degree and <inline-formula><tex-math notation="LaTeX">$C$</tex-math><alternatives> <inline-graphic xlink:href="shen-ieq3-2731843.gif"/></alternatives></inline-formula> is the capacity of the system (i.e., the number of machines). Since <inline-formula><tex-math notation="LaTeX">$C\gg k$</tex-math><alternatives> <inline-graphic xlink:href="shen-ieq4-2731843.gif"/></alternatives></inline-formula> in BFS, our result significantly improves the known best approximation ratio of <inline-formula><tex-math notation="LaTeX"> $(\frac{C-k}{2C-k})(1-\epsilon)$</tex-math><alternatives><inline-graphic xlink:href="shen-ieq5-2731843.gif"/> </alternatives></inline-formula> for tight deadlines <xref ref-type="bibr" rid="ref17">[17]</xref> , and <inline-formula><tex-math notation="LaTeX">$\frac{C-k}{C}\cdot \frac{s-1}{s}$</tex-math><alternatives> <inline-graphic xlink:href="shen-ieq6-2731843.gif"/></alternatives></inline-formula> for loose deadlines <xref ref-type="bibr" rid="ref18">[18]</xref> on a slackness ratio <inline-formula><tex-math notation="LaTeX">$s\geq 1$</tex-math><alternatives> <inline-graphic xlink:href="shen-ieq7-2731843.gif"/></alternatives></inline-formula> that is the maximum ratio between a job’s earliest actual finish time and its deadline. We first propose <italic>feasibility condition</italic> to determine whether an instance of BFS is feasible, i.e., whether there exists a scheduling according to which all jobs can finish before their deadlines, which is the key to achieve the ratio improvement of our algorithm. To prove the correctness of the feasibility condition, we give a simple linear program (LP) for a weaker version of BFS, and show that it is with an integral polyhedron and hence the version of BFS is polynomial-time solvable. Then we present a greedy algorithm and its equivalent primal-dual algorithm for the complementary problem of BFS. Both algorithms have an approximation ratio of <inline-formula><tex-math notation="LaTeX">$\frac{C-k}{C}$</tex-math><alternatives> <inline-graphic xlink:href="shen-ieq8-2731843.gif"/></alternatives></inline-formula>, and time complexity <inline-formula><tex-math notation="LaTeX">$O(n^{2}+nT)$</tex-math><alternatives> <inline-graphic xlink:href="shen-ieq9-2731843.gif"/></alternatives></inline-formula>, where <inline-formula> <tex-math notation="LaTeX">$n$</tex-math><alternatives><inline-graphic xlink:href="shen-ieq10-2731843.gif"/> </alternatives></inline-formula> is the number of jobs and <inline-formula><tex-math notation="LaTeX">$T$</tex-math> <alternatives><inline-graphic xlink:href="shen-ieq11-2731843.gif"/></alternatives></inline-formula> is the number of time slots. As a by-product, we show that the BFS admits a polynomial-time approximation scheme (PTAS) when <inline-formula><tex-math notation="LaTeX">$T$</tex-math><alternatives> <inline-graphic xlink:href="shen-ieq12-2731843.gif"/></alternatives></inline-formula> is fixed.

[1]  Jarek Nabrzyski,et al.  Cost- and deadline-constrained provisioning for scientific workflow ensembles in IaaS clouds , 2012, 2012 International Conference for High Performance Computing, Networking, Storage and Analysis.

[2]  David P. Williamson,et al.  Primal-Dual Approximation Algorithms for Integral Flow and Multicut in Trees, with Applications to Matching and Set Cover , 1993, ICALP.

[3]  Abbas Bazzi,et al.  Towards Tight Lower Bounds for Scheduling Problems , 2015, ESA.

[4]  Chris N. Potts,et al.  Fifty years of scheduling: a survey of milestones , 2009, J. Oper. Res. Soc..

[5]  Joseph Naor,et al.  Deadline-aware scheduling of big-data processing jobs , 2014, SPAA.

[6]  E.L. Lawler,et al.  Optimization and Approximation in Deterministic Sequencing and Scheduling: a Survey , 1977 .

[7]  Joseph Naor,et al.  A Truthful Mechanism for Value-Based Scheduling in Cloud Computing , 2011, SAGT.

[8]  Yossi Azar,et al.  Truthful Online Scheduling with Commitments , 2015, EC.

[9]  Arnaud Fréville,et al.  The multidimensional 0-1 knapsack problem: An overview , 2004, Eur. J. Oper. Res..

[10]  Odile Bellenguez-Morineau,et al.  Impact of precedence constraints on complexity of scheduling problems: a survey , 2015, ArXiv.

[11]  Joseph Y.-T. Leung,et al.  Minimizing total completion time on uniform machines with deadline constraints , 2006, TALG.

[12]  Prabhakar Raghavan,et al.  Randomized rounding: A technique for provably good algorithms and algorithmic proofs , 1985, Comb..

[13]  Abhiram G. Ranade,et al.  Precedence constrained scheduling in (2 - 7/(3p+1)) optimal , 2008, J. Comput. Syst. Sci..

[14]  Ishai Menache,et al.  Efficient online scheduling for deadline-sensitive jobs: extended abstract , 2013, SPAA.

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

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

[17]  Hadas Shachnai,et al.  Scheduling jobs with dwindling resource requirements in clouds , 2014, IEEE INFOCOM 2014 - IEEE Conference on Computer Communications.

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

[19]  Ronald L. Graham,et al.  Bounds for certain multiprocessing anomalies , 1966 .

[20]  Joseph Naor,et al.  Efficient online scheduling for deadline-sensitive jobs: extended abstract , 2013, SPAA.

[21]  David S. Johnson,et al.  Scheduling Tasks with Nonuniform Deadlines on Two Processors , 1976, J. ACM.

[22]  Vijay V. Vazirani,et al.  Primal-Dual Schema Based Approximation Algorithms , 2000, Theoretical Aspects of Computer Science.

[23]  P. K. Gupta,et al.  Linear programming and theory of games , 1979 .

[24]  Jan Karel Lenstra,et al.  Approximation algorithms for scheduling unrelated parallel machines , 1987, 28th Annual Symposium on Foundations of Computer Science (sfcs 1987).

[25]  Reuven Bar-Yehuda,et al.  A Local-Ratio Theorem for Approximating the Weighted Vertex Cover Problem , 1983, WG.

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