Skip to main content
Log in

Tardiness bounds under global EDF scheduling on a multiprocessor

  • Published:
Real-Time Systems Aims and scope Submit manuscript

Abstract

We consider the scheduling of a sporadic real-time task system on an identical multiprocessor. Though Pfair algorithms are theoretically optimal for such task systems, in practice, their runtime overheads can significantly reduce the amount of useful work that is accomplished. On the other hand, if all deadlines need to be met, then every known non-Pfair algorithm requires restrictions on total system utilization that can approach approximately 50% of the available processing capacity. This may be overkill for soft real-time systems, which can tolerate occasional or bounded deadline misses (i.e. bounded tardiness). In this paper we derive tardiness bounds under preemptive and non-preemptive global \(\mathsf{EDF}\) when the total system utilization is not restricted, except that it not exceed the available processing capacity. Hence, processor utilization can be improved for soft real-time systems on multiprocessors. Our tardiness bounds depend on the total system utilization and per-task utilizations and execution costs—the lower these values, the lower the tardiness bounds. As a final remark, we note that global \(\mathsf{EDF}\) may be superior to partitioned \(\mathsf{EDF}\) for multiprocessor-based soft real-time systems in that the latter does not offer any scope to improve system utilization even if bounded tardiness can be tolerated.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  • Abeni L, Buttazzo G (1998) Integrating multimedia applications in hard real-time systems. In: Proceedings of the 19th IEEE real-time systems symposium, December 1998, pp 4–13

  • Abeni L, Buttazzo G (1999) QoS guarantees using probabilistic deadlines. In: Proceedings of the 11th Euromicro conference of real-time systems, June 1999, pp 242–249

  • Anderson J, Srinivasan A (2004) Mixed Pfair/ERfair scheduling of asynchronous periodic tasks. J Comput Syst Sci 68(1):157–204

    Article  MATH  MathSciNet  Google Scholar 

  • Anderson J, Bud V, Devi U (2005) An EDF-based scheduling algorithm for multiprocessor soft real-time systems. In: Proceedings of the 17th Euromicro conference on real-time systems, July 2005, pp 199–208

  • Andersson B, Baruah S, Jonsson J (2001) Static priority scheduling on multiprocessors. In: Proceedings of the 22nd real-time systems symposium, December 2001, pp 193–202

  • Atlas A, Bestavros A (1998) Statistical rate monotonic scheduling. In: Proceedings of the 19th IEEE real-time systems symposium, December 1998, pp 123–132

  • Aydin H, Melhem R, Mosse D, Alvarez PM (2001) Optimal reward-based scheduling for periodic real-time tasks. IEEE Trans Comput 50(2):111–130

    Article  MathSciNet  Google Scholar 

  • Baker TP (2003) Multiprocessor EDF and deadline monotonic schedulability analysis. In: Proceedings of the 24th IEEE real-time systems symposium, December 2003, pp 120–129

  • Baruah S (2004) Optimal utilization bounds for the fixed-priority scheduling of periodic task systems on identical multiprocessors. IEEE Trans Comput 53(6):781–784

    Article  Google Scholar 

  • Baruah S (2006) The non-preemptive scheduling of periodic tasks upon multiprocessors. Real-Time Syst 32(1–2):9–20

    Article  MATH  Google Scholar 

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

    Article  MATH  MathSciNet  Google Scholar 

  • Bernat G, Burns A, Liamosi A (2001) Weakly hard real-time systems. IEEE Trans Comput 50(4):308–321

    Article  MathSciNet  Google Scholar 

  • Bertogna M, Cirinei M, Lipari G (2005a) Improved schedulability analysis of EDF on multiprocessor platforms. In: Proceedings of the 17th Euromicro conference on real-time systems, July 2005, pp 209–218

  • Bertogna M, Cirinei M, Lipari G (2005b) New schedulability tests for real-time task sets scheduled by deadline monotonic on multiprocessors. In: Proceedings of the 9th international conference on principles of distributed systems, December 2005

  • Block A, Anderson J, Devi U (2006) Task reweighting under global scheduling on multiprocessors. In: Proceedings of the 18th Euromicro conference on real-time systems, July 2006, pp 128–138

  • Blum M, Floyd R, Pratt V, Rivest R, Tarjan R (1973) Time bounds for selection. J Comput Syst Sci 7(4):448–461

    Article  MATH  MathSciNet  Google Scholar 

  • Devi U (2006) Soft real-time scheduling on multiprocessors. PhD thesis, University of North Carolina at Chapel Hill, December 2006

  • Devi U, Anderson J (2004) Improved conditions for bounded tardiness under EPDF fair multiprocessor scheduling. In: Proceedings of the 12th international workshop on parallel and distributed real-time systems, April 2004 (on CD-ROM)

  • Devi U, Anderson J (2005) Tardiness bounds under global EDF scheduling on a multiprocessor. In: Proceedings of the 26th IEEE real-time systems symposium, December 2005, pp 330–341

  • Devi U, Anderson J (2006) Flexible tardiness bounds for sporadic real-time task systems on multiprocessors. In: Proceedings of the 20th IEEE international parallel and distributed processing symposium, April 2006 (on CD-ROM)

  • Devi U, Leontyev H, Anderson J (2006) Efficient synchronization under global EDF scheduling on multiprocessors. In: Proceedings of the 18th Euromicro conference on real-time systems, July 2006, pp 75–84

  • Dhall SK, Liu CL (1978) On a real-time scheduling problem. Oper. Res. 26(1):127–140

    MATH  MathSciNet  Google Scholar 

  • Diaz JL, Garcia DF, Kim K, Lee C-G, Bello L, Lopez JM, Min SL, Mirabella O (2002) Stochastic analysis of periodic real-time systems. In: Proceedings of the 23rd IEEE real-time systems symposium, December 2002, pp 289–300

  • Doytchinov B, Lehoczky J, Shreve S (2001) Real-time queues in heavy traffic with Earliest-Deadline-First queue discipline. Ann Appl Probab 11(2):332–378

    Article  MATH  MathSciNet  Google Scholar 

  • Floyd R, Rivest R (1975) Expected time bounds for selection. Commun ACM 18(3):165–172

    Article  MATH  Google Scholar 

  • Goossens J, Funk S, Baruah S (2003) Priority-driven scheduling of periodic task systems on multiprocessors. Real-Time Syst 25(2-3):187–205

    Article  MATH  Google Scholar 

  • Hamdaoui M, Ramanathan P (1995) A dynamic priority assignment technique for streams with (m,k)-firm deadlines. IEEE Trans Comput 44(12):1443–1451

    Article  MATH  MathSciNet  Google Scholar 

  • Hoare CAR (1961) Algorithm 63 (PARTITION) and algorithm 65 (FIND). Commun ACM 4(7):321–322

    Article  Google Scholar 

  • Jeffay K, Goddard S (1999) A theory of rate-based execution. In: Proceedings of the real-time systems symposium, Phoenix AZ, December 1999. IEEE Computer Society, Los Alamitos, pp 304–314

    Google Scholar 

  • Koren G, Shasha D (1995) Skip-over: algorithms and complexity for overloaded systems that allow skips. In: Proceedings of the 16th IEEE real-time systems symposium, December 1995. IEEE, New York, pp 110–117

    Chapter  Google Scholar 

  • Kurk L, Lehoczky J, Shreve S, Yeung S-N (2004) Earliest-deadline-first service in heavy-traffic acyclic networks. Ann Appl Probab 14(3):1306–1352

    Article  MathSciNet  Google Scholar 

  • Lehoczky J (1990) Fixed priority scheduling of periodic task sets with arbitrary deadlines. In: Proceedings of the 11st IEEE real-time systems symposium, December 1990. IEEE, New York, pp 201–209

    Google Scholar 

  • Lehoczky JP (1996) Real-time queuing theory. In: Proceedings of the 17th IEEE Real-time systems symposium, December 1996, pp 186–195

  • Liu CL, Layland JW (1973) Scheduling algorithms for multiprogramming in a hard-real-time environment. J Assoc Comput Mach 20(1):46–61

    MATH  MathSciNet  Google Scholar 

  • Liu JWS, Lin K-J, Shih W-K, Yu AC (1991) Algorithms for scheduling imprecise computations. IEEE Comput 24(5):58–68

    Google Scholar 

  • Mok A (1983) Fundamental design problems of distributed systems for hard real-time environments. PhD thesis, Massachusetts Institute of Technology, Cambridge, MA, 1983

  • Parekh AK, Gallager RG (1993) A generalized processor sharing approach to flow control in integrated services networks: the single node case. IEEE/ACM Trans Netw 1(3):344–357

    Article  Google Scholar 

  • Sha L, Abdelzaher T, Arzen K-E, Cervin A, Baker T, Burns A, Buttazzo G, Caccamo M, Lehoczky J, Mok AK (2004) Real time scheduling theory: a historical perspective. Real-Time Syst 28(2/3):101–155

    Article  MATH  Google Scholar 

  • Srinivasan A, Anderson J (2002) Optimal rate-based scheduling on multiprocessors. In: Proceedings of the 34th ACM symposium on theory of computing, May 2002, pp 189–198

  • Srinivasan A, Anderson J (2003) Efficient scheduling of soft real-time applications on multiprocessors. In: Proceedings of the 15th Euromicro conference on real-time systems, July 2003, pp 51–59

  • Srinivasan A, Anderson J (2005) Fair scheduling of dynamic task systems on multiprocessors. J Syst Softw 77(1):67–80

    Article  Google Scholar 

  • Srinivasan A, Anderson J (2006) Optimal rate-based scheduling on multiprocessors. J Comput Syst Sci 72(6):1049–1117

    MathSciNet  Google Scholar 

  • Srinivasan A, Baruah S (2002) Deadline-based scheduling of periodic task systems on multiprocessors. Inf Process Lett 84(2):93–98

    Article  MATH  MathSciNet  Google Scholar 

  • Stoica I, Abdel-Wahab H, Jeffay K, Baruah S, Gehrke J, Plaxton CG (1996) A proportional share resource allocation algorithm for real-time, time-shared systems. In: Proceedings of the 17th IEEE real-time systems symposium, December 1996. IEEE, New York, pp 288–299

    Chapter  Google Scholar 

  • Tia T-S, Deng D-Z, Shankar M, Storch M, Sun J, Wu L-C, Liu J-S (1995) Probabilistic performance guarantee for real-time tasks with varying computation times. In: Proceedings of the 2nd IEEE real-time and embedded technology and applications symposium, May 1995, pp 164–173

  • Valente P, Lipari G (2005) An upper bound to the lateness of soft real-time tasks scheduled by EDF on multiprocessors. In: Proceedings of the 26th IEEE real-time systems symposium, December 2005, pp 311–320

  • West R, Poellabauer C (2000) Analysis of a window-constrained scheduler for real-time and best-effort packet streams. In: Proceedings of the 21st IEEE real-time systems symposium, December 2000. IEEE, New York, pp 239–248

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to UmaMaheswari C. Devi.

Additional information

Work supported by NSF grants CCR 0204312, CNS 0309825, CNS 0408996, CCF 0541056, and CNS 0615197, and by ARO grant W911NF-06-1-0425. This work was presented in preliminary form at the 26th IEEE Real-Time Systems Symposium (Devi and Anderson 2005).

Rights and permissions

Reprints and permissions

About this article

Cite this article

Devi, U.C., Anderson, J.H. Tardiness bounds under global EDF scheduling on a multiprocessor. Real-Time Syst 38, 133–189 (2008). https://doi.org/10.1007/s11241-007-9042-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11241-007-9042-1

Keywords

Navigation