Online Flexible Busy Time Scheduling on Heterogeneous Machines

Authors Gruia Călinescu, Sami Davies, Samir Khuller, Shirley Zhang



PDF
Thumbnail PDF

File

LIPIcs.ESA.2024.37.pdf
  • Filesize: 1.76 MB
  • 18 pages

Document Identifiers

Author Details

Gruia Călinescu
  • Department of Computer Science, Illinois Institute of Technology, Chicago, IL, USA
Sami Davies
  • Department of EECS and the Simons Institute for the Theory of Computing, UC Berkeley, CA, USA
Samir Khuller
  • Computer Science Department, Northwestern University, Evanston, IL, USA
Shirley Zhang
  • Computer Science Department, Harvard University, Cambridge, MA, USA

Acknowledgements

We would like to thank an anonymous referee for suggesting that our Algorithm 2 can be adapted to jobs of uniform processing time instead of just unit; indeed this was true.

Cite AsGet BibTex

Gruia Călinescu, Sami Davies, Samir Khuller, and Shirley Zhang. Online Flexible Busy Time Scheduling on Heterogeneous Machines. In 32nd Annual European Symposium on Algorithms (ESA 2024). Leibniz International Proceedings in Informatics (LIPIcs), Volume 308, pp. 37:1-37:18, Schloss Dagstuhl – Leibniz-Zentrum für Informatik (2024)
https://doi.org/10.4230/LIPIcs.ESA.2024.37

Abstract

We study the online busy time scheduling model on heterogeneous machines. In our setting, jobs with uniform length arrive online with a deadline that becomes known to the algorithm at the job’s arrival time. An algorithm has access to machines, each with different associated capacities and costs. The goal is to schedule jobs on machines by their deadline, so that the total cost incurred by the scheduling algorithm is minimized. While busy time scheduling has been well-studied, relatively little is known when machines are heterogeneous (i.e., have different costs and capacities), despite this natural theoretical generalization being the most practical model for clients using cloud computing services. We make significant progress in understanding this model by designing an 8-competitive algorithm for the problem on unit-length jobs and provide a lower bound of 2 on the competitive ratio. The lower bound is tight in the setting when jobs form non-nested intervals. Our 8-competitive algorithm generalizes to one with competitive ratio 8(2p-1)/p < 16 when all jobs have uniform length p.

Subject Classification

ACM Subject Classification
  • Theory of computation → Online algorithms
  • Theory of computation → Scheduling algorithms
Keywords
  • Online algorithms
  • Scheduling
  • Competitive analysis

Metrics

  • Access Statistics
  • Total Accesses (updated on a weekly basis)
    0
    PDF Downloads

References

  1. Mansoor Alicherry and Randeep Bhatia. Line system design and a generalized coloring problem. In European Symposium on Algorithms, pages 19-30. Springer, 2003. Google Scholar
  2. Antonios Antoniadis, Naveen Garg, Gunjan Kumar, and Nikhil Kumar. Parallel machine scheduling to minimize energy consumption. In Proceedings of the fourteenth annual ACM-SIAM symposium on discrete algorithms, pages 2758-2769. SIAM, 2020. Google Scholar
  3. John Augustine, Sandy Irani, and Chaitanya Swamy. Optimal power-down strategies. SIAM Journal on Computing, 37(5):1499-1516, 2008. Google Scholar
  4. Yossi Azar and Danny Vainstein. Tight bounds for clairvoyant dynamic bin packing. ACM Transactions on Parallel Computing (TOPC), 6(3):1-21, 2019. Google Scholar
  5. Nikhil Bansal and Kirk Pruhs. The geometry of scheduling. SIAM Journal on Computing, 43(5):1684-1698, 2014. Google Scholar
  6. Philippe Baptiste. Scheduling unit tasks to minimize the number of idle periods: a polynomial time algorithm for offline dynamic power management. In SODA, volume 6, pages 364-367, 2006. Google Scholar
  7. Amotz Bar-Noy, Sudipto Guha, Yoav Katz, Joseph Naor, Baruch Schieber, and Hadas Shachnai. Throughput maximization of real-time scheduling with batching. ACM Transactions on Algorithms (TALG), 5(2):1-17, 2009. Google Scholar
  8. Hans L. Bodlaender and Klaus Jansen. Restrictions of graph partition problems. part i. Theoretical Computer Science, 148(1):93-109, 1995. URL: https://doi.org/10.1016/0304-3975(95)00057-4.
  9. Allan Borodin and Ran El-Yaniv. Online computation and competitive analysis. Cambridge University Press, 1998. Google Scholar
  10. Niv Buchbinder, Yaron Fairstein, Konstantina Mellou, Ishai Menache, and Joseph Naor. Online virtual machine allocation with lifetime and load predictions. ACM SIGMETRICS Performance Evaluation Review, 49(1):9-10, 2021. Google Scholar
  11. Niv Buchbinder, Tracy Kimbrelt, Retsef Levi, Konstantin Makarychev, and Maxim Sviridenko. Online make-to-order joint replenishment model: primal dual competitive algorithms. In Proceedings of the nineteenth annual ACM-SIAM symposium on Discrete algorithms, pages 952-961, 2008. Google Scholar
  12. Gruia Călinescu and Kai Wang. A new LP rounding algorithm for the active time problem. J. Sched., 24(5):543-552, 2021. URL: https://doi.org/10.1007/S10951-020-00676-1.
  13. Nairen Cao, Jeremy T. Fineman, Shi Li, Julián Mestre, Katina Russell, and Seeun William Umboh. Brief announcement: Nested active-time scheduling. In Kunal Agrawal and I-Ting Angelina Lee, editors, SPAA '22: 34th ACM Symposium on Parallelism in Algorithms and Architectures, Philadelphia, PA, USA, July 11 - 14, 2022, pages 381-383. ACM, 2022. URL: https://doi.org/10.1145/3490148.3538554.
  14. Tim Carnes and David B Shmoys. Primal-dual schema for capacitated covering problems. Mathematical Programming, 153:289-308, 2015. Google Scholar
  15. Ho-Leung Chan, Wun-Tat Chan, Tak Wah Lam, Lap-Kei Lee, Kin-Sum Mak, and Prudence WH Wong. Energy efficient online deadline scheduling. In SODA, volume 7, pages 795-804. Citeseer, 2007. Google Scholar
  16. Jessica Chang, Harold N. Gabow, and Samir Khuller. A model for minimizing active processor time. Algorithmica, 70(3):368-405, 2014. URL: https://doi.org/10.1007/S00453-013-9807-Y.
  17. Jessica Chang, Samir Khuller, and Koyel Mukherjee. LP rounding and combinatorial algorithms for minimizing active and busy time. In Proceedings of the 26th ACM symposium on Parallelism in algorithms and architectures, pages 118-127, 2014. Google Scholar
  18. Julia Chuzhoy and Joseph Naor. Covering problems with hard capacities. SIAM Journal on Computing, 36(2):498-515, 2006. Google Scholar
  19. Sami Davies, Samir Khuller, and Shirley Zhang. Balancing flow time and energy consumption. In Proceedings of the 34th ACM Symposium on Parallelism in Algorithms and Architectures, pages 369-380, 2022. Google Scholar
  20. Leah Epstein, Thomas Erlebach, and Asaf Levin. Online capacitated interval coloring. SIAM Journal on Discrete Mathematics, 23(2):822-841, 2009. Google Scholar
  21. Guy Even, Retsef Levi, Dror Rawitz, Baruch Schieber, Shimon Shahar, and Maxim Sviridenko. Algorithms for capacitated rectangle stabbing and lot sizing with joint set-up costs. ACM Transactions on Algorithms (TALG), 4(3):1-17, 2008. Google Scholar
  22. Gerd Finke, Vincent Jost, Maurice Queyranne, and András Sebő. Batch processing with interval graph compatibilities between tasks. Discrete Applied Mathematics, 156(5):556-568, 2008. URL: https://doi.org/10.1016/j.dam.2006.03.039.
  23. Daya Ram Gaur, Toshihide Ibaraki, and Ramesh Krishnamurti. Constant ratio approximation algorithms for the rectangle stabbing problem and the rectilinear partitioning problem. Journal of Algorithms, 43(1):138-152, 2002. Google Scholar
  24. Refael Hassin and Nimrod Megiddo. Approximation algorithms for hitting objects with straight lines. Discrete Applied Mathematics, 30(1):29-42, 1991. Google Scholar
  25. Sungjin Im and Benjamin Moseley. Online batch scheduling for flow objectives. In Proceedings of the twenty-fifth annual ACM symposium on Parallelism in algorithms and architectures, pages 102-104, 2013. Google Scholar
  26. Sandy Irani and Kirk R Pruhs. Algorithmic problems in power management. ACM Sigact News, 36(2):63-76, 2005. Google Scholar
  27. Sandy Irani, Sandeep Shukla, and Rajesh Gupta. Algorithms for power savings. ACM Transactions on Algorithms (TALG), 3(4):41-es, 2007. Google Scholar
  28. Rohit Khandekar, Baruch Schieber, Hadas Shachnai, and Tami Tamir. Minimizing busy time in multiple machine real-time scheduling. In IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science (FSTTCS 2010). Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2010. Google Scholar
  29. Frederic Koehler and Samir Khuller. Busy time scheduling on a bounded number of machines. In Workshop on Algorithms and Data Structures, pages 521-532. Springer, 2017. Google Scholar
  30. Saurabh Kumar and Samir Khuller. Brief announcement: A greedy 2 approximation for the active time problem. In Christian Scheideler and Jeremy T. Fineman, editors, Proceedings of the 30th on Symposium on Parallelism in Algorithms and Architectures, SPAA 2018, Vienna, Austria, July 16-18, 2018, pages 347-349. ACM, 2018. URL: https://doi.org/10.1145/3210377.3210659.
  31. Vijay Kumar and Atri Rudra. Approximation algorithms for wavelength assignment. In FSTTCS 2005: Foundations of Software Technology and Theoretical Computer Science: 25th International Conference, Hyderabad, India, December 15-18, 2005. Proceedings 25, pages 152-163. Springer, 2005. Google Scholar
  32. Yusen Li, Xueyan Tang, and Wentong Cai. On dynamic bin packing for resource allocation in the cloud. In Proceedings of the 26th ACM Symposium on Parallelism in Algorithms and Architectures, pages 2-11, 2014. Google Scholar
  33. Minghong Lin, Adam Wierman, Lachlan LH Andrew, and Eno Thereska. Dynamic right-sizing for power-proportional data centers. IEEE/ACM Transactions on Networking, 21(5):1378-1391, 2012. Google Scholar
  34. Mozhengfu Liu and Xueyan Tang. Analysis of busy-time scheduling on heterogeneous machines. In Proceedings of the 33rd ACM Symposium on Parallelism in Algorithms and Architectures, pages 340-350, 2021. Google Scholar
  35. Adam Meyerson. The parking permit problem. In 46th Annual IEEE Symposium on Foundations of Computer Science (FOCS'05), pages 274-282. IEEE, 2005. Google Scholar
  36. Runtian Ren and Xueyan Tang. Online flexible job scheduling for minimum span. In Proceedings of the 29th ACM Symposium on Parallelism in Algorithms and Architectures, pages 55-66, 2017. Google Scholar
  37. Runtian Ren and Xueyan Tang. Busy-time scheduling on heterogeneous machines. In 2020 IEEE International Parallel and Distributed Processing Symposium (IPDPS), pages 306-315, 2020. URL: https://doi.org/10.1109/IPDPS47924.2020.00040.
  38. Runtian Ren, Xueyan Tang, Yusen Li, and Wentong Cai. Competitiveness of dynamic bin packing for online cloud server allocation. IEEE/ACM Transactions on Networking, 25(3):1324-1331, 2016. Google Scholar
  39. Barna Saha and Samir Khuller. Set cover revisited: Hypergraph cover with hard capacities. In International Colloquium on Automata, Languages, and Programming, pages 762-773. Springer, 2012. Google Scholar
  40. Kanthi Sarpatwar, Baruch Schieber, and Hadas Shachnai. The preemptive resource allocation problem. Journal of Scheduling, pages 1-16, 2023. Google Scholar
  41. Qian Wang, Ji Tian, Ruyan Fu, and Xiangjuan Yao. Online algorithms for scheduling on batch processing machines with interval graph compatibilities between jobs. Theoretical Computer Science, 700:37-44, 2017. URL: https://doi.org/10.1016/j.tcs.2017.07.022.
  42. Peter Winkler and Lisa Zhang. Wavelength assignment and generalized interval graph coloring. In Proceedings of the fourteenth annual ACM-SIAM symposium on Discrete algorithms, pages 830-831, 2003. Google Scholar
  43. Frances Yao, Alan Demers, and Scott Shenker. A scheduling model for reduced CPU energy. In Proceedings of IEEE 36th annual foundations of computer science, pages 374-382. IEEE, 1995. Google Scholar
  44. Guiqing Zhang, Chung Keung Poon, and Yinfeng Xu. The ski-rental problem with multiple discount options. Information Processing Letters, 111(18):903-906, 2011. Google Scholar
Questions / Remarks / Feedback
X

Feedback for Dagstuhl Publishing


Thanks for your feedback!

Feedback submitted

Could not send message

Please try again later or send an E-mail