Skip to main content

Rate Monotonic vs. EDF: Judgment Day

  • Conference paper
Embedded Software (EMSOFT 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2855))

Included in the following conference series:

Abstract

Since the first results published in 1973 by Liu and Layland on the Rate Monotonic (RM) and Earliest Deadline First (EDF) algorithms, a lot of progress has been made in the schedulability analysis of periodic task sets. Unfortunaltey, many misconceptions still exist about the properties of these two scheduling methods, which usually tend to favor RM more than EDF. Typical wrong statements often heard in technical conferences and even in research papers claim that RM is easier to analyze than EDF, it introduces less runtime overhead, it is more predictable in transient overload conditions, and causes less jitter in task execution. Since the above statements are either wrong, or not precise, it is time to clarify these issues in a systematic fashion, because the use of EDF allows a better exploitation of the available resources and significantly improves system’s performance. This paper compares RM against EDF under several aspects, using existing theoretical results or simple counterexamples to show that many common beliefs are either false or only restricted to specific situations.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Abeni, L., Buttazzo, G.: Integrating Multimedia Applications in Hard Real- Time Systems. In: Proc. of the IEEE Real-Time Systems Symposium, Madrid, Spain (December 1998)

    Google Scholar 

  2. Audsley, N.C., Burns, A., Richardson, M., Tindell, K., Wellings, A.: Applying New Scheduling Theory to Static Priority Preemptive Scheduling. Software Engineering Journal 8(5), 284–292 (1993)

    Article  Google Scholar 

  3. Baker, T.P.: Stack-Based Scheduling of Real-Time Processes. The Journal of Real- Time Systems 3(1), 76–100 (1991)

    Google Scholar 

  4. Baruah, S., Buttazzo, G., Gorinsky, S., Lipari, G.: Scheduling Periodic Task Systems to Minimize Output Jitter. In: Proceedings of the 6th IEEE International Conference on Real-Time Computing Systems and Applications, Hong Kong (December 1999)

    Google Scholar 

  5. Baruah, S.K., Howell, R.R., Rosier, L.E.: Algorithms and Complexity Concerning the Preemptive Scheduling of Periodic Real-Time Tasks on One Processor. Real-Time Systems 2 (1990)

    Google Scholar 

  6. Bini, E., Buttazzo, G.C., Buttazzo, G.M.: A Hyperbolic Bound for the Rate Monotonic Algorithm. In: Proceedings of the 13th Euromicro Conference on Real- Time Systems, Delft, The Netherlands, June 2001, pp. 59–66 (2001)

    Google Scholar 

  7. Bini, E., Buttazzo, G.C.: The Space of Rate Monotonic Schedulability. In: Proceedings of the 23rd IEEE Real-Time Systems Symposium, Austin, Texas (December 2002)

    Google Scholar 

  8. Buttazzo, G.C.: HARTIK: A Real-Time Kernel for Robotics Applications. In: Proceedings of the 14th IEEE Real-Time Systems Symposium, Raleigh-Durham (December 1993)

    Google Scholar 

  9. Buttazzo, G., Stankovic, J.: Adding Robustness in Dynamic Preemptive Scheduling. In: Fussell, D.S., Malek, M. (eds.) Responsive Computer Systems: Steps Toward Fault-Tolerant Real- Time Systems, Kluwer Academic Publishers, Boston (1995)

    Google Scholar 

  10. Buttazzo, G., Sensini, F.: Optimal Deadline Assignment for Scheduling Soft Aperiodic Tasks in Hard Real-Time Environments. IEEE Transactions on Computers 48(10) (October 1999)

    Google Scholar 

  11. Buttazzo, G., Lipari, G., Caccamo, M., Abeni, L.: Elastic Scheduling for Flexible Workload Management. IEEE Transactions on Computers 51(3), 289–302 (2002)

    Article  Google Scholar 

  12. Chen, M.I., Lin, J.K.: Dynamic Priority Ceilings: A Concurrency Control Protocol for Real-Time Systems. Journal of Real-Time Systems 2 (1990)

    Google Scholar 

  13. Dertouzos, M.L.: Control Robotics: the Procedural Control of Physical Processes. Information Processing 74, North-Holland Publishing Company (1974)

    Google Scholar 

  14. Gai, P., Lipari, G., Di Natale, M.: A Flexible and Configurable Real-Time Kernel for Time Predictability and Minimal Ram Requirements. Technical Report, Scuola Superiore S. Anna, Pisa, RETIS TR2001–02 (March 2001)

    Google Scholar 

  15. Gai, P., Abeni, L., Giorgi, M., Buttazzo, G.: A New Kernel Approach for Modular Real-TIme Systems Development. In: Proceedings of the 13th Euromicro Conference on Real-Time Systems, Delft (NL) (June 2001)

    Google Scholar 

  16. Jeffay, K.: Scheduling Sporadic Tasks with Shared Resources in Hard-Real-Time Systems. In: Proceedings of IEEE Real-Time System Symposium, December 1992, pp. 89–99 (1992)

    Google Scholar 

  17. Jeffay, K., Stone, D.L., Poirier, D.: YARTOS: Kernel support for efficient, predictable real-time systems. Real-Time Systems Newsletter 7(4), 8–13 (1991); Republished in Real-Time Programming, Halang, W., Ramamritham, K. (eds.) Pergamon Press, Oxford, UK (1992)

    Google Scholar 

  18. Joseph, M., Pandya, P.: Finding Response Times in a Real-Time System. The Computer Journal 29(5), 390–395 (1986)

    Article  MathSciNet  Google Scholar 

  19. Koren, G., Shasha, D.: Skip-Over: Algorithms and Complexity for Overloaded Systems that Allow Skips. In: Proc. of the IEEE Real-Time Systems Symposium (1995)

    Google Scholar 

  20. Lehoczky, J.P., Sha, L., Strosnider, J.K.: Enhanced Aperiodic Responsiveness in Hard Real-Time Environments. In: Proceedings of the IEEE Real-Time Systems Symposium, pp. 261–270 (1987)

    Google Scholar 

  21. Lehoczky, J.P., Sha, L., Ding, Y.: The Rate-Monotonic Scheduling Algorithm: Exact Characterization and Average Case Behaviour. In: Proceedings of the IEEE Real-Time Systems Symposium, pp. 166–171 (1989)

    Google Scholar 

  22. Lehoczky, J.P., Ramos-Thuel, S.: An Optimal Algorithm for Scheduling Soft- Aperiodic Tasks in Fixed-Priority Preemptive Systems. In: Proceedings of the IEEE Real-Time Systems Symposium (1992)

    Google Scholar 

  23. Liu, C.L., Layland, J.W.: Scheduling Algorithms for Multiprogramming in a Hard real-Time Environment. Journal of the ACM 20(1), 40–61 (1973)

    Article  MathSciNet  Google Scholar 

  24. Locke, J.: Designing Real-Time Systems. In: IEEE International Conference of Real-Time Computing Systems and Applications (RTCSA 1997), Taiwan (December 1997) (invited talk)

    Google Scholar 

  25. Marti, P., Fohler, G., Ramamritham, K., Fuertes, J.M.: Control performance of flexible timing constraints for Quality-of-Control Scheduling. In: Proc. of the 23rd IEEE Real-Time System Symposium, Austin, TX, USA (December 2002)

    Google Scholar 

  26. Mercer, C.W., Savage, S., Tokuda, H.: Processor Capacity Reserves for Multimedia Operating Systems. Technical Report, Carnegie Mellon University, Pittsburg (PA), CMU-CS-93-157 (May 1993)

    Google Scholar 

  27. Aldea Rivas, M., González Harbour, M.: POSIX-Compatible Application- Defined Scheduling in MaRTE OS. In: Euromicro Conference on Real-Time Systems (WiP), Delft, The Netherlands (June 2001)

    Google Scholar 

  28. Sha, L., Rajkumar, R., Lehoczky, J.P.: Priority Inheritance Protocols: An Approach to Real-Time Synchronization. IEEE Transactions on Computers 39(9), 1175–1185 (1990)

    Article  MathSciNet  Google Scholar 

  29. Sprunt, B., Sha, L., Lehoczky, J.: Aperiodic Task Scheduling for Hard Real-Time System. Journal of Real-Time Systems 1, 27–60 (1989)

    Article  Google Scholar 

  30. Spuri, M., Buttazzo, G.C.: Efficient Aperiodic Service under Earliest Deadline Scheduling. In: Proceedings of IEEE Real-Time System Symposium, San Juan, Portorico (December 1994)

    Google Scholar 

  31. Spuri, M., Buttazzo, G.C., Sensini, F.: Robust Aperiodic Scheduling under Dynamic Priority Systems. In: Proc. of the IEEE Real-Time Systems Symposium, Pisa, Italy (December 1995)

    Google Scholar 

  32. Spuri, M., Buttazzo, G.C.: Scheduling Aperiodic Tasks in Dynamic Priority Systems. Real-Time Systems 10(2) (1996)

    Google Scholar 

  33. Stankovic, J., Ramamritham, K.: The Design of the Spring Kernel. In: Proceedings of the IEEE Real-Time Systems Symposium (December 1987)

    Google Scholar 

  34. Strosnider, J.K., Lehoczky, J.P., Sha, L.: The Deferrable Server Algorithm for Enhanced Aperiodic Responsiveness in Hard Real-Time Environments. IEEE Transactions on Computers 44(1) (January 1995)

    Google Scholar 

  35. Stankovic, J., Ramamritham, K., Spuri, M., Buttazzo, G.: Deadline Scheduling for Real-Time Systems. Kluwer Academic Publishers, Boston (1998)

    MATH  Google Scholar 

  36. Tia, T.-S., Liu, J.W.-S., Shankar, M.: Algorithms and Optimality of Scheduling Aperiodic Requests in Fixed-Priority Preemptive Systems. Journal of Real-Time Systems 10(1), 23–43 (1996)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Buttazzo, G.C. (2003). Rate Monotonic vs. EDF: Judgment Day. In: Alur, R., Lee, I. (eds) Embedded Software. EMSOFT 2003. Lecture Notes in Computer Science, vol 2855. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45212-6_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-45212-6_6

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-20223-3

  • Online ISBN: 978-3-540-45212-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics