Skip to main content
Log in

Algorithms for Scheduling Deadline-Sensitive Malleable Tasks

  • Original Research
  • Published:
Operations Research Forum Aims and scope Submit manuscript

Abstract

Due to the ubiquity of batch data processing, the related problems of scheduling malleable batch tasks have received significant attention. We consider a fundamental model where a set of tasks is to be processed on multiple identical machines and each task is specified by a value, a workload, a deadline and a parallelism bound. Within the parallelism bound, the number of machines assigned to a task can vary over time without affecting its workload. In this paper, we identify a boundary condition and prove by construction that a set of malleable tasks with deadlines can be finished by their deadlines if and only if it satisfies the boundary condition. This core result plays a key role in the design and analysis of scheduling algorithms: (i) when several typical objectives are considered, such as social welfare maximization, machine minimization, and minimizing the maximum weighted completion time, and, (ii) when the algorithmic design techniques such as greedy and dynamic programming are applied to the social welfare maximization problem. As a result, we give four new or improved algorithms for the above problems.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Algorithm 1
Algorithm 2
Algorithm 3
Algorithm 4
Fig. 3
Algorithm 5
Algorithm 6
Algorithm 7
Fig. 4
Algorithm 8
Algorithm 9
Algorithm 10
Algorithm 11

Similar content being viewed by others

Data Availability

Data sharing not applicable to this article as no datasets were generated or analyzed during the current study.

Notes

  1. We refer readers to [9, 19] for more details on the general techniques to design scheduling algorithms.

  2. In this paper, we use the terms “demand” and “workload” interchangeably.

References

  1. Wu X, Loiseau P (2015) Algorithms for scheduling deadline-sensitive malleable tasks. In: Proceedings of the 53rd Annual Allerton Conference on Communication, Control, and Computing (Allerton). IEEE, pp 530–537

    Chapter  Google Scholar 

  2. Jain N, Menache I, Naor J, Yaniv J (2011) A truthful mechanism for value-based scheduling in cloud computing. Proceedings of the 4th International Conference on Algorithmic Game Theory. SAGT’11. Springer-Verlag, Berlin, Heidelberg, pp 178–189. https://dl.acm.org/doi/abs/10.5555/2050805.2050827

  3. Jain N, Menache I, Naor J, Yaniv J (2012) Near-optimal scheduling mechanisms for deadline-sensitive jobs in large computing clusters. In: Proceedings of the Twenty-fourth Annual ACM Symposium on Parallelism in Algorithms and Architectures. ACM, pp 255–266

    Google Scholar 

  4. Nagarajan V, Wolf J, Balmin A, Hildrum K (2019) Malleable scheduling for flows of jobs and applications to MapReduce. J Sched 22(4):393–411

    Article  Google Scholar 

  5. Wu X, Loiseau P, Hyytiä E (2019) Towards designing cost-optimal policies to utilize IaaS Clouds with Online Learning. IEEE Trans Parallel Distrib Syst

  6. Fox GC (2011) Data intensive applications on clouds. In: Proceedings of the Second International Workshop on Data Intensive Computing in the Clouds. ACM, pp 1–2

    Google Scholar 

  7. Gunarathne T, Wu T-L, Qiu J, Fox G (2010) Cloud computing paradigms for pleasingly parallel biomedical applications. In: Proceedings of the 19th ACM International Symposium on High Performance Distributed Computing (HPDC’10). ACM, pp 460–469

    Google Scholar 

  8. Lawler Eugene L (1990) A dynamic programming algorithm for preemptive scheduling of a single machine to minimize the number of late jobs. Ann Oper Res 26(1):125–133

    Article  Google Scholar 

  9. Karger D, Stein C, Wein J (1997) Scheduling algorithms. In: CRC Handbook of Computer Science

  10. Jackson JR (1955) Scheduling a production line to minimize maximum tardiness. Management Science Research Project Research Report 43, University of California, Los Angeles

  11. Horn WA (1974) Some simple scheduling algorithms. Nav Res Logist Q 21:177–185

    Article  Google Scholar 

  12. Lawler EL, Moore JM (1969) A Functional equation and its application to resource allocation and sequencing problems. Manage Sci 16(1):77–84

    Article  Google Scholar 

  13. Stankovic JA, Spuri M, Ramamritham K, Buttazzo G (1998) Deadline scheduling for real-time systems: EDF and related algorithms. Springer New York, NY. https://link.springer.com/book/10.1007/978-1-4615-5535-3

  14. Lucier B, Menache I, Naor J, Yaniv J (2013) Efficient online scheduling for deadline-sensitive jobs. In: Proceedings of the Twenty-fifth Annual ACM Symposium on Parallelism in Algorithms and Architectures. ACM, pp 305–314

    Google Scholar 

  15. Azar Y, Kalp-Shaltiel I, Lucier B, Menache I, Naor J, Yaniv J (2015) Truthful online scheduling with commitments. In: Proceedings of the Sixteenth ACM Conference on Economics and Computation. ACM, pp 715–732

    Chapter  Google Scholar 

  16. Sudipto Guha J, Khanna S, Naor J (2004) Machine minimization for scheduling jobs with interval constraints. In: Proceedings of the 45th Annual IEEE Symposium on Foundations of Computer Science. IEEE, pp 81–90

    Google Scholar 

  17. Brassard G, Bratley P (1996) Fundamentals of algorithmics. Prentice-Hall, Inc

    Google Scholar 

  18. Bodík P, Menache I, Naor J, Yaniv J (2014) Brief announcement: deadline-aware scheduling of big-data processing jobs. In: Proceedings of the 26th ACM Symposium on Parallelism in Algorithms and Architectures. ACM, pp 211–213

    Google Scholar 

  19. Williamson DP, Shmoys DB (2011) The design of approximation algorithm. Cambridge University Press

    Book  Google Scholar 

  20. Guo L, Shen H (2017) Efficient approximation algorithms for the bounded flexible scheduling problem in clouds. IEEE Trans Parallel Distrib Syst 28(12):3511–3520

    Article  Google Scholar 

  21. Dutot P-F, Mounié G, Trystram D (2004) Scheduling parallel tasks: approximation algorithms. In: Leung JY-T (ed) Handbook of Scheduling: Algorithms, Models, and Performance Analysis. CRC Press, Boca Raton

    Google Scholar 

  22. Jansen K, Rau M (2019) Closing the gap for pseudo-polynomial strip packing. In: Proceedings of the 27th Annual European Symposium on Algorithms (ESA’19). Schloss Dagstuhl - Leibniz-Zentrum für Informatik, p 62:1-62:14

    Google Scholar 

  23. Jansen K, Rau M (2019) Improved approximation for two dimensional strip packing with polynomial bounded width. Theor Comput Sci

  24. Bougeret M, Dutot P-F, Jansen K, Robenek C, Trystram D (2011) Approximation algorithms for multiple strip packing and scheduling parallel jobs in platforms. Discrete Math Algorithms Appl 3(04):553–586

    Article  Google Scholar 

  25. Jansen K, Land F (2018) Scheduling monotone moldable jobs in linear time. 2018 IEEE International Parallel and Distributed Processing Symposium (IPDPS). IEEE, pp 172–181. https://doi.org/10.1109/IPDPS.2018.00027, https://ieeexplore.ieee.org/document/8425171

  26. Bleuse R, Hunold S, Kedad-Sidhoum S, Monna F, Mounié G, Trystram D (2017) Scheduling independent moldable tasks on multi-cores with GPUs. IEEE Trans Parallel Distrib Syst 28(9):2689–2702

    Article  Google Scholar 

  27. Wu X, Loiseau P (2016) Efficient algorithms for scheduling moldable tasks. Preprint at http://arxiv.org/abs/1609.08588v8

  28. Wu X, Loiseau P (2023) Efficient approximation algorithms for scheduling moldable tasks. Eur J Oper Res 310(1):71–83

    Article  Google Scholar 

  29. Mounié G, Rapine C, Trystram D (2007) A \(\frac{3}{2}\)-approximation algorithm for scheduling independent monotonic malleable tasks. SIAM J Comput 37(2):401–412

    Article  Google Scholar 

  30. Dutot P-F, Trystram D (2001) Scheduling on hierarchical clusters using malleable tasks. In: Proceedings of the Thirteenth annual ACM Symposium on Parallel Algorithms and Architectures. ACM, pp 199–208

    Google Scholar 

  31. Lepère R, Trystram D, Woeginger GJ (2002) Approximation algorithms for scheduling malleable tasks under precedence constraints. Int J Found Comput Sci 13(04):613–627

    Article  Google Scholar 

  32. Jansen K, Porkolab L (2002) Linear-time approximation schemes for scheduling malleable parallel tasks. Algorithmica 32(3):507–520

    Article  Google Scholar 

  33. Ludwig W, Tiwari P (1994) Scheduling malleable and nonmalleable parallel tasks. In: Proceedings of the Fifth Annual ACM-SIAM Symposium on Discrete Algorithms. SIAM, pp 167–179

    Google Scholar 

  34. White T (2012) Hadoop: the definitive guide. O’Reilly Media, Inc

    Google Scholar 

  35. Even G (2007) Recursive greedy methods. In: Gonzalez TF (ed) Handbook of Approximation Algorithms and Metaheuristics. CRC, Boca Raton, FL, ch. 5

Download references

Funding

The work of Patrick Loiseau has been partially supported by MIAI @ Grenoble Alpes (ANR-19- P3IA-0003), by the French National Research Agency (ANR) through grant ANR-20-CE23-0007 and through the “Investissements d’avenir” program (ANR-15-IDEX- 02); and by the Alexander von Humboldt Foundation.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xiaohu Wu.

Ethics declarations

Conflict of Interest

The authors declare no competing interests.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

This paper is an extended version of [1]

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Wu, X., Loiseau, P. Algorithms for Scheduling Deadline-Sensitive Malleable Tasks. Oper. Res. Forum 5, 30 (2024). https://doi.org/10.1007/s43069-024-00300-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s43069-024-00300-4

Navigation