Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

Online Throughput Maximization on Unrelated Machines: Commitment is No Burden

Published: 20 February 2023 Publication History

Abstract

We consider a fundamental online scheduling problem in which jobs with processing times and deadlines arrive online over time at their release dates. The task is to determine a feasible preemptive schedule on a single or multiple possibly unrelated machines that maximizes the number of jobs that complete before their deadline. Due to strong impossibility results for competitive analysis on a single machine, we require that jobs contain some slack ɛ > 0, which means that the feasible time window for scheduling a job is at least 1+ɛ times its processing time on each eligible machine. Our contribution is two-fold: (i) We give the first non-trivial online algorithms for throughput maximization on unrelated machines, and (ii), this is the main focus of our paper, we answer the question on how to handle commitment requirements which enforce that a scheduler has to guarantee at a certain point in time the completion of admitted jobs. This is very relevant, e.g., in providing cloud-computing services, and disallows last-minute rejections of critical tasks. We present an algorithm for unrelated machines that is \(\Theta (\frac{1}{\varepsilon })\)-competitive when the scheduler must commit upon starting a job. Somewhat surprisingly, this is the same optimal performance bound (up to constants) as for scheduling without commitment on a single machine. If commitment decisions must be made before a job’s slack becomes less than a δ-fraction of its size, we prove a competitive ratio of \(\mathcal {O}(\frac{1}{\varepsilon - \delta })\) for 0 < δ < ɛ. This result nicely interpolates between commitment upon starting a job and commitment upon arrival. For the latter commitment model, it is known that no (randomized) online algorithm admits any bounded competitive ratio. While we mainly focus on scheduling without migration, our results also hold when comparing against a migratory optimal solution in case of identical machines.

References

[1]
Kunal Agrawal, Jing Li, Kefu Lu, and Benjamin Moseley. 2018. Scheduling parallelizable jobs online to maximize throughput. In LATIN, Vol. 10807. Springer, 755–776. DOI:
[2]
Yossi Azar, Inna Kalp-Shaltiel, Brendan Lucier, Ishai Menache, Joseph Naor, and Jonathan Yaniv. 2015. Truthful online scheduling with commitments. In EC. ACM, 715–732. DOI:
[3]
Nikhil Bansal, Ho-Leung Chan, and Kirk Pruhs. 2011. Competitive algorithms for due date scheduling. Algorithmica 59, 4 (2011), 569–582. DOI:
[4]
Amotz Bar-Noy, Sudipto Guha, Joseph Naor, and Baruch Schieber. 2001. Approximating the throughput of multiple machines in real-time scheduling. SIAM J. Comput. 31, 2 (2001), 331–352. DOI:
[5]
Sanjoy K. Baruah and Jayant R. Haritsa. 1997. Scheduling for overload in real-time systems. IEEE Trans. Computers 46, 9 (1997), 1034–1039. DOI:
[6]
Sanjoy K. Baruah, Jayant R. Haritsa, and Nitin Sharma. 1994. On-line scheduling to maximize task completions. In RTSS. IEEE Computer Society, 228–236. DOI:
[7]
Sanjoy K. Baruah, Gilad Koren, Decao Mao, Bhubaneswar Mishra, Arvind Raghunathan, Louis E. Rosier, Dennis E. Shasha, and Fuxing Wang. 1992. On the competitiveness of on-line real-time task scheduling. Real-Time Systems 4, 2 (1992), 125–144. DOI:
[8]
Sanjoy K. Baruah, Gilad Koren, Bhubaneswar Mishra, Arvind Raghunathan, Louis E. Rosier, and Dennis E. Shasha. 1991. On-line scheduling in the presence of overload. In FOCS. IEEE Computer Society, 100–110. DOI:
[9]
Piotr Berman and Bhaskar DasGupta. 2000. Improvements in throughout maximization for real-time scheduling. In STOC. ACM, 680–687.
[10]
Lin Chen, Franziska Eberle, Nicole Megow, Kevin Schewior, and Cliff Stein. 2020. A general framework for handling commitment in online throughput maximization. Math. Prog. 183 (2020), 215–247. DOI:
[11]
Bhaskar DasGupta and Michael A. Palis. 2000. Online real-time preemptive scheduling of jobs with deadlines. In APPROX (Lecture Notes in Computer Science), Vol. 1913. Springer, 96–107. DOI:
[12]
Michael L. Dertouzos and Aloysius K. Mok. 1989. Multiprocessor on-line scheduling of hard-real-time tasks. IEEE Trans. Software Eng. 15, 12 (1989), 1497–1506. DOI:
[13]
Nikhil R. Devanur and Janardhan Kulkarni. 2018. A unified rounding algorithm for unrelated machines scheduling problems. In SPAA, Christian Scheideler and Jeremy T. Fineman (Eds.). ACM, 283–290. DOI:
[14]
Jianzhong Du and Joseph Y.-T. Leung. 1991. Minimizing the number of late jobs on unrelated machines. Oper. Res. Lett. 10, 3 (1991), 153–158.
[15]
Franziska Eberle, Nicole Megow, and Kevin Schewior. 2020. Optimally handling commitment issues in online throughput maximization. In ESA (LIPIcs), Vol. 173. Schloss Dagstuhl - Leibniz-Zentrum für Informatik.
[16]
Andrew D. Ferguson, Peter Bodík, Srikanth Kandula, Eric Boutin, and Rodrigo Fonseca. 2012. Jockey: Guaranteed job latency in data parallel clusters. In EuroSys. ACM, 99–112. DOI:
[17]
Juan A. Garay, Joseph Naor, Bülent Yener, and Peng Zhao. 2002. On-line admission control and packet scheduling with interleaving. In INFOCOM. IEEE Computer Society, 94–103. DOI:
[18]
Michael H. Goldwasser. 2003. Patience is a virtue: The effect of slack on competitiveness for admission control. J. Sched. 6, 2 (2003), 183–211. DOI:
[19]
Michael H. Goldwasser and Boris Kerbikov. 2003. Admission control with immediate notification. J. Sched. 6, 3 (2003), 269–285. DOI:
[20]
Sungjin Im, Shi Li, and Benjamin Moseley. 2017. Breaking 1-1/e barrier for non-preemptive throughput maximization. In IPCO (Lecture Notes in Computer Science), Friedrich Eisenbrand and Jochen Könemann (Eds.), Vol. 10328. Springer, 292–304. DOI:
[21]
Sungjin Im, Shi Li, and Benjamin Moseley. 2020. Breaking 1-1/e barrier for nonpreemptive throughput maximization. SIAM J. Discret. Math. 34, 3 (2020), 1649–1669. DOI:
[22]
Sungjin Im and Benjamin Moseley. 2018. General profit scheduling and the power of migration on heterogeneous machines. In SPAA (Lecture Notes in Computer Science), Vol. 10807. Springer, 755–776. DOI:
[23]
Samin Jamalabadi, Chris Schwiegelshohn, and Uwe Schwiegelshohn. 2020. Commitment and slack for online load maximization. In SPAA. ACM, 339–348. DOI:
[24]
Bala Kalyanasundaram and Kirk Pruhs. 2000. Speed is as powerful as clairvoyance. J. ACM 47, 4 (2000), 617–643. DOI:
[25]
Bala Kalyanasundaram and Kirk Pruhs. 2001. Eliminating migration in multi-processor scheduling. J. Algorithms 38, 1 (2001), 2–24. DOI:
[26]
Bala Kalyanasundaram and Kirk Pruhs. 2003. Maximizing job completions online. J. Algorithms 49, 1 (2003), 63–85. DOI:
[27]
Gilad Koren and Dennis E. Shasha. 1994. MOCA: A multiprocessor on-line competitive algorithm for real-time system scheduling. Theor. Comput. Sci. 128, 1&2 (1994), 75–97. DOI:
[28]
Gilad Koren and Dennis E. Shasha. 1995. Dover: An optimal on-line scheduling algorithm for overloaded uniprocessor real-time systems. SIAM J. Comput. 24, 2 (1995), 318–339. DOI:
[29]
E.L. Lawler. 1990. A dynamic programming algorithm for preemptive scheduling of a single machine to minimize the number of late jobs. Ann. Oper. Res. 26, 1-4 (1990), 125–133.
[30]
E. L. Lawler. 1982. Recent results in the theory of machine scheduling. In Mathematical Programming The State of the Art, Achim Bachem, Bernhard Korte, and Martin Grötschel (Eds.). Springer, 202–234. DOI:
[31]
Brendan Lucier, Ishai Menache, Joseph Naor, and Jonathan Yaniv. 2013. Efficient online scheduling for deadline-sensitive jobs: Extended abstract. In SPAA. ACM, 305–314. DOI:
[32]
Benjamin Moseley, Kirk Pruhs, Clifford Stein, and Rudy Zhou. 2022. A competitive algorithm for throughput maximization on identical machines. In IPCO (Lecture Notes in Computer Science), Vol. 13265. Springer, 402–414.
[33]
Kirk Pruhs and Clifford Stein. 2010. How to schedule when you have to buy your energy. In APPROX (Lecture Notes in Computer Science), Vol. 6302. Springer, 352–365. DOI:
[34]
Kirk Pruhs and Gerhard J. Woeginger. 2007. Approximation schemes for a class of subset selection problems. Theor. Comput. Sci. 382, 2 (2007), 151–156. DOI:
[35]
Chris Schwiegelshohn and Uwe Schwiegelshohn. 2016. The power of migration for online slack scheduling. In ESA (LIPIcs), Vol. 57. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 75:1–75:17. DOI:
[36]
René Sitters. 2005. Complexity of preemptive minsum scheduling on unrelated parallel machines. Journal of Algorithms 57, 1 (2005), 37–48. DOI:

Cited By

View all
  • (2023)Scheduling Firm Real-time Applications on the Edge with Single-bit Execution Time Prediction2023 IEEE 26th International Symposium on Real-Time Distributed Computing (ISORC)10.1109/ISORC58943.2023.00037(207-213)Online publication date: May-2023

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Transactions on Algorithms
ACM Transactions on Algorithms  Volume 19, Issue 1
January 2023
254 pages
ISSN:1549-6325
EISSN:1549-6333
DOI:10.1145/3582898
  • Editor:
  • Edith Cohen
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 20 February 2023
Online AM: 14 December 2022
Accepted: 17 October 2022
Revised: 01 August 2022
Received: 18 June 2021
Published in TALG Volume 19, Issue 1

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Deadline scheduling
  2. throughput
  3. online algorithms
  4. competitive analysis
  5. unrelated machines
  6. migration

Qualifiers

  • Research-article

Funding Sources

  • Netherlands Organisation for Scientific Research (NWO) through a VIDI
  • German Science Foundation (DFG)
  • Independent Research Fund Denmark, Natural Sciences

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)96
  • Downloads (Last 6 weeks)6
Reflects downloads up to 17 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2023)Scheduling Firm Real-time Applications on the Edge with Single-bit Execution Time Prediction2023 IEEE 26th International Symposium on Real-Time Distributed Computing (ISORC)10.1109/ISORC58943.2023.00037(207-213)Online publication date: May-2023

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Full Text

View this article in Full Text.

Full Text

HTML Format

View this article in HTML Format.

HTML Format

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media