Skip to main content
Top
Published in: Journal of Scheduling 1/2024

21-06-2023

The preemptive resource allocation problem

Authors: Kanthi Sarpatwar, Baruch Schieber, Hadas Shachnai

Published in: Journal of Scheduling | Issue 1/2024

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

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 resource allocation problem (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. Assuming that time is slotted, a job is associated with a release time, a due date, a weight and a given length, as well as its resource requirement. A 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 RAP and our problems is that we allow preemption and migration of jobs, motivated by virtualization techniques. We consider two natural objectives: throughput maximization (MaxT), which seeks a maximum weight subset of the jobs that can be feasibly scheduled on the hosts in M, and resource minimization (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 an \(\Omega (1)\)-approximation algorithm for 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 MinR we study a more general setting with d resources and derive an \(O(\log d)\)-approximation for any fixed \(d \ge 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.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Footnotes
1
RAP is also known as the bandwidth allocation problem.
 
2
See the formal definition in Sect. 2.
 
3
The area of \(j \in J\) is the total resource requirement of j (see Sect. 2.)
 
4
This procedure bears some similarity to the pipage rounding technique of Ageev and Sviridenko (2004).
 
5
Throughout the discussion we use interchangeably the terms node and interval when referring to a time-window \(\chi \in \mathcal {L}\).
 
6
See Theorem 3.1 in Kalyanasundaram and Pruhs (2001).
 
7
As we show in the proof, we implicitly use here the constant c in Step 2 of Algorithm 4, which depends on \(\omega \). For the case where \(T=O(d^\delta )\), c depends on \(\varepsilon \), \(\omega \), and \(\delta \).
 
8
The constant in the Big-\(O_\epsilon \) depends on \(\epsilon \).
 
Literature
go back to reference Adler, M., Gibbons, P. B., & Matias, Y. (2002). Scheduling space-sharing for internet advertising. Journal of Scheduling, 5(2), 103–119.MathSciNetCrossRef Adler, M., Gibbons, P. B., & Matias, Y. (2002). Scheduling space-sharing for internet advertising. Journal of Scheduling, 5(2), 103–119.MathSciNetCrossRef
go back to reference Ageev, A. A., & Sviridenko, M. (2004). Pipage rounding: A new method of constructing algorithms with proven performance guarantee. Journal of Combinatorial Optimization, 8(3), 307–328.MathSciNetCrossRef Ageev, A. A., & Sviridenko, M. (2004). Pipage rounding: A new method of constructing algorithms with proven performance guarantee. Journal of Combinatorial Optimization, 8(3), 307–328.MathSciNetCrossRef
go back to reference Bansal, N., Eliáš, M., & Khan, A. (2016). Improved approximation for vector bin packing. In Proceedings of the twenty-seventh annual ACM-SIAM symposium on discrete algorithms (pp. 1561–1579). Bansal, N., Eliáš, M., & Khan, A. (2016). Improved approximation for vector bin packing. In Proceedings of the twenty-seventh annual ACM-SIAM symposium on discrete algorithms (pp. 1561–1579).
go back to reference Bansal, N., Caprara, A., & Sviridenko, M. (2009). A new approximation method for set covering problems, with applications to multidimensional bin packing. SIAM Journal on Computing, 39(4), 1256–1278.MathSciNetCrossRef Bansal, N., Caprara, A., & Sviridenko, M. (2009). A new approximation method for set covering problems, with applications to multidimensional bin packing. SIAM Journal on Computing, 39(4), 1256–1278.MathSciNetCrossRef
go back to reference Bansal, N., Friggstad, Z., Khandekar, R., & Salavatipour, M. R. (2014). A logarithmic approximation for unsplittable flow on line graphs. ACM Transactions on Algorithms, 10(1), 1.MathSciNetCrossRef Bansal, N., Friggstad, Z., Khandekar, R., & Salavatipour, M. R. (2014). A logarithmic approximation for unsplittable flow on line graphs. ACM Transactions on Algorithms, 10(1), 1.MathSciNetCrossRef
go back to reference Bar-Noy, A., Bar-Yehuda, R., Freund, A., Naor, J., & Schieber, B. (2001). A unified approach to approximating resource allocation and scheduling. Journal of the ACM, 48(5), 1069–1090.MathSciNetCrossRef Bar-Noy, A., Bar-Yehuda, R., Freund, A., Naor, J., & Schieber, B. (2001). A unified approach to approximating resource allocation and scheduling. Journal of the ACM, 48(5), 1069–1090.MathSciNetCrossRef
go back to reference Bar-Noy, A., Guha, S., Naor, J., & Schieber, B. (2001). Approximating the throughput of multiple machines in real-time scheduling. SIAM Journal on Computing, 31(2), 331–352.MathSciNetCrossRef Bar-Noy, A., Guha, S., Naor, J., & Schieber, B. (2001). Approximating the throughput of multiple machines in real-time scheduling. SIAM Journal on Computing, 31(2), 331–352.MathSciNetCrossRef
go back to reference Călinescu, G., Chakrabarti, A., Karloff, H. J., & Rabani, Y. (2011). An improved approximation algorithm for resource allocation. ACM Transactions on Algorithms, 7(4), 48:1-48:7.MathSciNetCrossRef Călinescu, G., Chakrabarti, A., Karloff, H. J., & Rabani, Y. (2011). An improved approximation algorithm for resource allocation. ACM Transactions on Algorithms, 7(4), 48:1-48:7.MathSciNetCrossRef
go back to reference Chakaravarthy, V. T., Choudhury, A. R., Gupta, S., Roy, S., & Sabharwal, Y. (2014). Improved algorithms for resource allocation under varying capacity. In European symposium on algorithms (pp. 222–234). Chakaravarthy, V. T., Choudhury, A. R., Gupta, S., Roy, S., & Sabharwal, Y. (2014). Improved algorithms for resource allocation under varying capacity. In European symposium on algorithms (pp. 222–234).
go back to reference Chekuri, C., & Khanna, S. (2004). On multidimensional packing problems. SIAM Journal on Computing, 33(4), 837–851.MathSciNetCrossRef Chekuri, C., & Khanna, S. (2004). On multidimensional packing problems. SIAM Journal on Computing, 33(4), 837–851.MathSciNetCrossRef
go back to reference Chen, B., Hassin, R., & Tzur, M. (2002). Allocation of bandwidth and storage. IIE Transactions, 34(5), 501–507.CrossRef Chen, B., Hassin, R., & Tzur, M. (2002). Allocation of bandwidth and storage. IIE Transactions, 34(5), 501–507.CrossRef
go back to reference Chuzhoy, J., & Codenotti, P. (2009). Resource minimization job scheduling. In Approximation, randomization, and combinatorial optimization. Algorithms and techniques (pp. 70–83). Chuzhoy, J., & Codenotti, P. (2009). Resource minimization job scheduling. In Approximation, randomization, and combinatorial optimization. Algorithms and techniques (pp. 70–83).
go back to reference Chuzhoy, J., Guha, S., Khanna, S., & Naor, J. (2004). Machine minimization for scheduling jobs with interval constraints. In Proceedings of the 45th symposium on foundations of computer science (FOCS 2004), 17–19 October 2004, Rome, Italy (pp. 81–90). Chuzhoy, J., Guha, S., Khanna, S., & Naor, J. (2004). Machine minimization for scheduling jobs with interval constraints. In Proceedings of the 45th symposium on foundations of computer science (FOCS 2004), 17–19 October 2004, Rome, Italy (pp. 81–90).
go back to reference Dawande, M., Kumar, S., & Sriskandarajah, C. (2003). Performance bounds of algorithms for scheduling advertisements on a web page. Journal of Scheduling, 6(4), 373–394.MathSciNetCrossRef Dawande, M., Kumar, S., & Sriskandarajah, C. (2003). Performance bounds of algorithms for scheduling advertisements on a web page. Journal of Scheduling, 6(4), 373–394.MathSciNetCrossRef
go back to reference Dawande, M., Kumar, S., & Sriskandarajah, C. (2005). Scheduling web advertisements: A note on the MINSPACE problem. Journal of Scheduling, 8(1), 97–106.MathSciNetCrossRef Dawande, M., Kumar, S., & Sriskandarajah, C. (2005). Scheduling web advertisements: A note on the MINSPACE problem. Journal of Scheduling, 8(1), 97–106.MathSciNetCrossRef
go back to reference Fleischer, L., Goemans, M. X., Mirrokni, V. S., & Sviridenko, M. (2011). Tight approximation algorithms for maximum separable assignment problems. Mathematical Operations Research, 36(3), 416–431.MathSciNetCrossRef Fleischer, L., Goemans, M. X., Mirrokni, V. S., & Sviridenko, M. (2011). Tight approximation algorithms for maximum separable assignment problems. Mathematical Operations Research, 36(3), 416–431.MathSciNetCrossRef
go back to reference Fox, K., & Korupolu, M. (2013). Weighted flowtime on capacitated machines. In Proceedings of the twenty-fourth annual ACM-SIAM symposium on discrete algorithms (pp. 129–143). Fox, K., & Korupolu, M. (2013). Weighted flowtime on capacitated machines. In Proceedings of the twenty-fourth annual ACM-SIAM symposium on discrete algorithms (pp. 129–143).
go back to reference Freund, A., & Naor, J. (2004). Approximating the advertisement placement problem. Journal of Scheduling, 7(5), 365–374.MathSciNetCrossRef Freund, A., & Naor, J. (2004). Approximating the advertisement placement problem. Journal of Scheduling, 7(5), 365–374.MathSciNetCrossRef
go back to reference Frieze, A. M., & Clarke, M. R. B. (1984). Approximation algorithms for the m-dimensional 0–1 knapsack problem: Worst-case and probabilistic analyses. European Journal of Operational Research, 15(1), 100–109.MathSciNetCrossRef Frieze, A. M., & Clarke, M. R. B. (1984). Approximation algorithms for the m-dimensional 0–1 knapsack problem: Worst-case and probabilistic analyses. European Journal of Operational Research, 15(1), 100–109.MathSciNetCrossRef
go back to reference Jain, N., Menache, I., Naor, J., & Yaniv, J. (2015). Near-optimal scheduling mechanisms for deadline-sensitive jobs in large computing clusters. ACM Transactions on Parallel Computing, 2(1), 3.CrossRef Jain, N., Menache, I., Naor, J., & Yaniv, J. (2015). Near-optimal scheduling mechanisms for deadline-sensitive jobs in large computing clusters. ACM Transactions on Parallel Computing, 2(1), 3.CrossRef
go back to reference Jansen, K., & Porkolab, L. (2002). On preemptive resource constrained scheduling: Polynomial-time approximation schemes. Integer Programming and Combinatorial Optimization, 47, 329–349.MathSciNetCrossRef Jansen, K., & Porkolab, L. (2002). On preemptive resource constrained scheduling: Polynomial-time approximation schemes. Integer Programming and Combinatorial Optimization, 47, 329–349.MathSciNetCrossRef
go back to reference Kalyanasundaram, B., & Pruhs, K. (2001). Eliminating migration in multi-processor scheduling. Journal of Algorithms, 38(1), 2–24.MathSciNetCrossRef Kalyanasundaram, B., & Pruhs, K. (2001). Eliminating migration in multi-processor scheduling. Journal of Algorithms, 38(1), 2–24.MathSciNetCrossRef
go back to reference Kaul, A., Aggarwal, S., Gupta, A., Dayama, N., Krishnamoorthy, M., & Jha, P. C. (2017). Optimal advertising on a two-dimensional web banner. International Journal of System Assurance Engineering and Management, 9, 1–6. Kaul, A., Aggarwal, S., Gupta, A., Dayama, N., Krishnamoorthy, M., & Jha, P. C. (2017). Optimal advertising on a two-dimensional web banner. International Journal of System Assurance Engineering and Management, 9, 1–6.
go back to reference Kumar, S., Dawande, M., & Mookerjee, V. (2007). Optimal scheduling and placement of internet banner advertisements. IEEE Transactions on Knowledge and Data Engineering, 19(11), 1571–1584.CrossRef Kumar, S., Dawande, M., & Mookerjee, V. (2007). Optimal scheduling and placement of internet banner advertisements. IEEE Transactions on Knowledge and Data Engineering, 19(11), 1571–1584.CrossRef
go back to reference Lawler, E. L. (1990). A dynamic programming algorithm for preemptive scheduling of a single machine to minimize the number of late jobs. Annals of Operations Research, 26(1), 125–133.MathSciNetCrossRef Lawler, E. L. (1990). A dynamic programming algorithm for preemptive scheduling of a single machine to minimize the number of late jobs. Annals of Operations Research, 26(1), 125–133.MathSciNetCrossRef
go back to reference McDiarmid, C. (1989). On the method of bounded differences. Surveys in Combinatorics, 141(1), 148–188.MathSciNet McDiarmid, C. (1989). On the method of bounded differences. Surveys in Combinatorics, 141(1), 148–188.MathSciNet
go back to reference Pandey, S., Dutta, G., & Joshi, H. (2017). Survey on revenue management in media and broadcasting. Interfaces, 47(3), 195–213.CrossRef Pandey, S., Dutta, G., & Joshi, H. (2017). Survey on revenue management in media and broadcasting. Interfaces, 47(3), 195–213.CrossRef
go back to reference Phillips, C. A., Uma, R. N., & Wein, J. (2000). Off-line admission control for general scheduling problems. In Proceedings of the eleventh annual ACM-SIAM symposium on discrete algorithms (pp. 879–888). Phillips, C. A., Uma, R. N., & Wein, J. (2000). Off-line admission control for general scheduling problems. In Proceedings of the eleventh annual ACM-SIAM symposium on discrete algorithms (pp. 879–888).
Metadata
Title
The preemptive resource allocation problem
Authors
Kanthi Sarpatwar
Baruch Schieber
Hadas Shachnai
Publication date
21-06-2023
Publisher
Springer US
Published in
Journal of Scheduling / Issue 1/2024
Print ISSN: 1094-6136
Electronic ISSN: 1099-1425
DOI
https://doi.org/10.1007/s10951-023-00786-6

Other articles of this Issue 1/2024

Journal of Scheduling 1/2024 Go to the issue

Premium Partner