Skip to main content

Practical Considerations in Optimal Multiprocessor Scheduling

  • Reference work entry
  • First Online:
Handbook of Real-Time Computing

Abstract

The problem of scheduling a set of recurrent tasks subject to meeting all tasks’ deadlines is in the core of real-time systems design. Practical solutions for this problem when there is a single processing unit in the system have long been known. For example, the cost-effective algorithm that schedules at any time the ready task with the earliest deadline has been proved optimal for a large spectrum of systems. A scheduling algorithm is said optimal for a class of systems if it generates a schedule for this class according to which no task deadline is ever missed whenever it is possible to do so. Achieving optimality in multiprocessors has shown to be more challenging and often implies high runtime overheads. Designing optimal and practical scheduling algorithms for multiprocessor systems has thus become a relevant research topic, on which this chapter offers a gentle introduction. Key concepts are explained intuitively and based on illustrations, using some of the optimal algorithms developed to date. The focus here is not on their formalization or correctness proofs. The goal is to highlight the principles behind scheduling optimality, while presenting considerations as for their applicability.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 999.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 849.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  • J.H. Anderson, A. Srinivasan, Early-release fair scheduling, in Proceedings of the 12th Euromicro Conference on Real-Time Systems (ECRTS 2000), (IEEE Computer Society, Washington, 2000a), pp. 35–43

    Chapter  Google Scholar 

  • J.H. Anderson, A. Srinivasan, Pfair scheduling: beyond periodic task systems, in Proceedings of the 7th International Workshop on Real-Time Computing Systems and Applications (RTCSA 2000), (IEEE, Cheju Island, 2000b), pp. 297–306

    Google Scholar 

  • J. Anderson, P. Holman, A. Srinivasan, Chapter 31: Fair scheduling of real-time tasks on multiprocessors, in Handbook of Scheduling: Algorithms, Models, and Performance Analysis, ed. by J. Y. Leung, (Chapman & Hall/CRC, Boca Raton, 2004), pp. 31-1–31-21

    Google Scholar 

  • B. Andersson, K. Bletsas, Sporadic multiprocessor scheduling with few preemptions, in Proceedings of the 20th Euromicro Conference on Real-Time Systems (ECRTS 2008), (IEEE, Prague, 2008), pp. 243–252

    Chapter  Google Scholar 

  • B. Andersson, E. Tovar, Multiprocessor scheduling with few preemptions, in Proceedings of the 12th IEEE Real-Time and Embedded Technology and Applications Symposium (RTCSA 2006), (IEEE, San Jose, 2006), pp. 322–334

    Google Scholar 

  • A. Baldovin, G. Nelissen, T. Vardanega, E. Tovar, SPRINT: extending RUN to schedule sporadic tasks, in Proceedings of the 22nd International Conference on Real-Time Networks and Systems (RTNS 2014), (ACM, Versaille, 2014), pp. 321:321–321:330

    Google Scholar 

  • S. Baruah, J. Goossens, Chapter 28: Scheduling real-time tasks: algorithms and complexity, in Handbook of Scheduling: Algorithms, Models, and Performance Analysis, ed. by J. Y. Leung, (Chapman & Hall/CRC, Boca Raton, 2004), pp. 28-1–28-21

    Google Scholar 

  • S.K. Baruah, L.E. Rosier, R.R. Howell, Algorithms and complexity concerning the preemptive scheduling of periodic, real-time tasks on one processor. Real-Time Syst. 2(4), 301–324 (1990)

    Article  Google Scholar 

  • S. Baruah, J. Gehrke, C.G. Plaxton, Fast scheduling of periodic tasks on multiple resources, in Proceedings of the 9th International Symposium on Parallel Processing (IPPS 1995), (IEEE Computer Society, Santa Barbara, 1995), pp. 280–288

    Chapter  Google Scholar 

  • S. Baruah, N.K. Cohen, C.G. Plaxton, D.A. Varvel, Proportionate progress: a notion of fairness in resource allocation. Algorithmica 15(6), 600–625 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  • S.Y. Chen, C.W. Hsueh, Optimal dynamic-priority real-time scheduling algorithms for uniform multiprocessors, in Proceedings of the 29th IEEE Real-Time Systems Symposium (RTSS 2008), (IEEE, Barcelona, 2008), pp. 147–156

    Google Scholar 

  • H. Cho, B. Ravindran, E.D. Jensen, An optimal real-time scheduling algorithm for multiprocessors, in Proceedings of the 28th IEEE Real-Time Systems Symposium (RTSS 2007), (IEEE, Tucson, 2006), pp. 101–110

    Google Scholar 

  • M. Cirinei, T.P. Baker, EDZL scheduling analysis, in Proceedings of the 19th IEEE Euromicro Conference on Real-Time Systems (ECRTS 2007), (IEEE Computer Society, Pisa, 2007), pp. 9–18

    Chapter  Google Scholar 

  • E.G. Coffman Jr., M.R. Garey, D.S. Johnson, Approximation algorithms for bin packing: a survey, in Approximation Algorithms for NP-Hard Problems, ed. by D. S. Hochbaum, (PWS Publishing Co, Boston, 1997), pp. 46–93

    Google Scholar 

  • D. Compagnin, E. Mezzetti, T. Vardanega, Putting RUN into practice: implementation and evaluation, in Proceedings of the 26th Euromicro Conference on Real-Time Systems (ECRTS 2014), (2014), pp. 75–84

    Chapter  Google Scholar 

  • D. Compagnin, E. Mezzetti, T. Vardanega, Experimental evaluation of optimal schedulers based on partitioned proportionate fairness, in Proceedings of the 27th Euromicro Conference on Real-Time Systems (ECRTS 2015), (Lund, Sweden, 2015), pp. 115–126

    Chapter  Google Scholar 

  • R.I. Davis, A. Burns, A survey of hard real-time scheduling for multiprocessor systems. ACM Comput. Surv. 43(4), 1–44 (2011)

    Article  MATH  Google Scholar 

  • M.L. Dertouzos, Control robotics: the procedural control of physical processes, in Proceedings of IFIP Congress (IFIP Congress 1974), (Stockholm, 1974), pp. 807–813

    Google Scholar 

  • M. Dertouzos, A. Mok, Multiprocessor online scheduling of hard-real-time tasks. IEEE Trans. Softw. Eng. 15(12), 1497–1506 (1989)

    Article  Google Scholar 

  • S.K. Dhall, C.L. Liu, On a real-time scheduling problem. Oper. Res. 26(1), 127–140 (1978)

    Article  MathSciNet  MATH  Google Scholar 

  • N. Fisher, J. Goossens, S. Baruah, Optimal online multiprocessor scheduling of sporadic real-time tasks is impossible. Real-Time Syst. 45(1), 26–71 (2010)

    Article  MATH  Google Scholar 

  • K. Funaoka, S. Kato, N. Yamasaki, Work-conserving optimal real-time scheduling on multiprocessors, in Proceedings of the 20th Euromicro Conference on Real-Time Systems (ECRTS 2008), (IEEE, Prague, 2008), pp. 13–22

    Chapter  Google Scholar 

  • S. Funk, G. Levin, C. Sadowski, I. Pye, S. Brandt, DP-fair: a unifying theory for optimal hard real-time multiprocessor scheduling. Real-Time Syst. 47(5), 389–429 (2011)

    Article  MATH  Google Scholar 

  • T.M. Ghazalie, T.P. Baker, Aperiodic servers in a deadline scheduling environment. Real-Time Syst. 9(1), 31–67 (1995)

    Article  Google Scholar 

  • K.S. Hong, J.Y.T. Leung, On-line scheduling of real-time tasks, in Proceedings of the 9th IEEE Real-Time Systems Symposium (RTSS 1988), (Huntsville, 1988), pp. 244–250

    Google Scholar 

  • K.S. Hong, J.Y.T. Leung, On-line scheduling of real-time tasks. IEEE Trans. Comput. 41(10), 1326–1331 (1992)

    Article  Google Scholar 

  • W.A. Horn, Some simple scheduling algorithms. Nav. Res. Logist. Q. 21(1), 177–185 (1974)

    Article  MathSciNet  MATH  Google Scholar 

  • H. Kim, Y. Cho, A new fair scheduling algorithm for periodic tasks on multiprocessors. Inf. Process. Lett. 111(7), 301–309 (2011)

    Article  MathSciNet  MATH  Google Scholar 

  • G. Koren, A. Amir, E. Dar, The power of migration in multiprocessor scheduling of real-time systems, in Proceedings of the 9th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 1998), (Society for Industrial and Applied Mathematics, San Francisco, 1998), pp. 226–235

    Google Scholar 

  • G. Levin, S. Funk, C. Sadowski, I. Pye, S. Brandt, DP-FAIR: a simple model for understanding optimal multiprocessor scheduling, in Proceedings of the 20th Euromicro Conference on Real-Time Systems (ECRTS 2010), (IEEE, Brussels, 2010), pp. 3–13

    Chapter  Google Scholar 

  • C.L. Liu, J.W. Layland, Scheduling algorithms for multiprogram in a hard real-time environment. J. ACM 20(1), 40–61 (1973)

    Article  MATH  Google Scholar 

  • E. Massa, G. Lima, P. Regnier, G. Levin, S. Brandt, Optimal and adaptive multiprocessor real-time scheduling: the quasi-partitioning approach, in Proceedings of the 26th Euromicro Conference on Real-Time Systems (ECRTS 2014), (IEEE, Madrid, 2014), pp. 291–300

    Chapter  Google Scholar 

  • E. Massa, G. Lima, P. Regnier, G. Levin, S. Brandt, Quasi-partitioned scheduling: optimality and adaptation in multiprocessor real-time systems. Real-Time Syst. 52(5), 566–597 (2016)

    Article  MATH  Google Scholar 

  • R. McNaughton, Scheduling with deadlines and loss functions. Manag. Sci. 6, 1–12 (1959)

    Article  MathSciNet  MATH  Google Scholar 

  • G. Nelissen, V. Berten, J. Goossens, D. Milojevic, Reducing preemptions and migrations in real-time multiprocessor scheduling algorithms by releasing the fairness, in Proceedings of the 17th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA 2011), vol. 1, (IEEE, Toyama, 2011), pp. 15–24

    Google Scholar 

  • G. Nelissen, V. Berten, V. NĂ©lis, J. Goossens, D. Milojevic, U-EDF: an unfair but optimal multiprocessor scheduling algorithm for sporadic tasks, in Proceedings of the 24th Euromicro Conference on Real-Time Systems (ECRTS 2012), (IEEE, Pisa, 2012), pp. 13–23

    Chapter  Google Scholar 

  • G. Nelissen, H. Su, Y. Guo, D. Zhu, V. NĂ©lis, J. Goossens, An optimal boundary fair scheduling. Real-Time Syst. 50(4), 456–508 (2014)

    Article  MATH  Google Scholar 

  • R. Pellizzoni, M. Caccamo, M-CASH: a real-time resource reclaiming algorithm for multiprocessor platforms. Real-Time Syst. 40(1), 117–147 (2008)

    Article  MATH  Google Scholar 

  • P. Regnier, G. Lima, E. Massa, G. Levin, S. Brandt, RUN: optimal multiprocessor real-time scheduling via reduction to uniprocessor, in Proceedings of the 32nd IEEE Real-Time Systems Symposium (RTSS 2011), (IEEE, Vienna, 2011), pp. 104–115

    Chapter  Google Scholar 

  • P. Regnier, G. Lima, E. Massa, G. Levin, S. Brandt, Multiprocessor scheduling by reduction to uniprocessor: an original optimal approach. Real-Time Syst. 49(4), 436–474 (2013)

    Article  MATH  Google Scholar 

  • S. Sahni, Preemptive scheduling with due dates. Oper. Res. 27(5), 925–934 (1979)

    Article  MathSciNet  MATH  Google Scholar 

  • A. Srinivasan, J.H. Anderson, Optimal rate-based scheduling on multiprocessors, in Proceedings of the 34th Annual ACM Symposium on Theory of Computing (STOC 2002), (Montreal, 2002), pp. 189–198

    Google Scholar 

  • J.A. Stankovic, K. Ramamritham, M. Spuri, Deadline Scheduling for Real-Time Systems: Edf and Related Algorithms (Kluwer Academic Publishers, Norwell, 1998)

    Book  MATH  Google Scholar 

  • D. Zhu, D. MossĂ©, R. Melhem, Multiple-resource periodic scheduling problem: how much fairness is necessary? in Proceedings of the 24th IEEE International Real-Time Systems Symposium (RTSS 2003), RTSS 03, (IEEE, Cancun, 2003), p. 142

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to George Lima .

Editor information

Editors and Affiliations

Section Editor information

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Singapore Pte Ltd

About this entry

Check for updates. Verify currency and authenticity via CrossMark

Cite this entry

Lima, G., Massa, E., Regnier, P. (2022). Practical Considerations in Optimal Multiprocessor Scheduling. In: Tian, YC., Levy, D.C. (eds) Handbook of Real-Time Computing. Springer, Singapore. https://doi.org/10.1007/978-981-287-251-7_3

Download citation

Publish with us

Policies and ethics