Skip to main content
Log in

Exact comparison of fixed priority and EDF scheduling based on speedup factors for both pre-emptive and non-pre-emptive paradigms

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

Abstract

This paper investigates the relative effectiveness of fixed priority (FP) scheduling in a uniprocessor system compared to earliest deadline first (EDF) scheduling. The quantitative metric used in this comparison is the processor speedup factor, defined as the factor by which processor speed needs to increase to ensure that any task set that is schedulable according to EDF can be scheduled using fixed priorities. In the pre-emptive case, exact speedup factors are known for sporadic task sets with implicit or constrained deadlines. In this paper, we derive exact speedup factors for both pre-emptive and non-pre-emptive fixed priority scheduling of arbitrary deadline sporadic task sets. We also show that the exact speedup factor for the pre-emptive case holds when tasks share resources according to the stack resource policy/deadline floor protocol.

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.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9

Similar content being viewed by others

Notes

  1. A task set is synchronous if all of its tasks share a common release time.

  2. Deadline monotonic priority ordering assigns priorities in order of task deadlines, such that the task with the shortest deadline is given the highest priority.

  3. This algorithm is optimal in the sense that it finds a schedulable priority ordering whenever such an ordering exists.

  4. An algorithm is work-conserving if it never idles the processor when there is a job ready to execute.

  5. A periodic task set is referred to as non-concrete if the times at which each task is first released are unknown, also sometimes referred to as having arbitrary phasing.

  6. Sporadic task sets represent a generalisation of non-concrete periodic task sets.

  7. By a class of algorithm we mean for example pre-emptive scheduling algorithms.

  8. Recall, we assume discrete time, with granularity \(\Delta \).

  9. Recall that a periodic task set is referred to as non-concrete if the times at which each task is first released are unknown.

References

  • Audsley NC (1991) Optimal priority assignment and feasibility of static priority tasks with arbitrary start times, Technical Report YCS 164. Department of Computer Science, University of York, UK

  • Audsley NC (2001) On priority assignment in fixed priority scheduling. Inf Process Lett 79(1):39–44

    Article  MATH  Google Scholar 

  • Audsley NC, Burns A, Richardson M, Wellings AJ (1993) Applying new scheduling theory to static priority pre-emptive scheduling. Softw Eng J 8(5):284–292

    Article  Google Scholar 

  • Baker TP (1991) Stack-based scheduling of real-time processes. Real-Time Syst J 3(1):67–100

  • Baruah SK (2006) Resource sharing in edf-scheduled systems: a closer look. In:Proceedings real-time systems symposium (RTSS), pp 379–387

  • Baruah SK, Mok AK, Rosier LE (1990a) Preemptively scheduling hard-real-time sporadic tasks on one processor. In: Proceedings real-time systems symposium (RTSS), pp 182–190

  • Baruah SK, Rosier LE, Howell RR (1990b) Algorithms and complexity concerning the preemptive scheduling of periodic real-time tasks on one processor. Real-Time Syst 2(4):301–324

    Article  Google Scholar 

  • Bini E, Buttazzo GC (2005) Measuring the performance of schedulability tests. Real-Time Syst 30(1–2):129–154

    Article  MATH  Google Scholar 

  • Bletsas K, Audsley N (2006) Optimal priority assignment in the presence of blocking information processing letters 99(3):83–86

    Article  MathSciNet  MATH  Google Scholar 

  • Bril RJ, Lukkien JJ, Verhaegh WF (2009) Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred pre-emption. Real-Time Syst 42(1–3):63–119

    Article  MATH  Google Scholar 

  • Burns A, Gutierrez M, Aldea Rivas M, Gonzalez Harbour M (2015) A deadline-floor inheritance protocol for EDF scheduled embedded real-time systems with resource sharing. Comput, IEEE Trans on 64(5):1241–1253. doi:10.1109/TC.2014.2322619

    Article  Google Scholar 

  • Davis RI, George L, Courbin P (2010) Quantifying the sub-optimality of uniprocessor fixed priority non-pre-emptive scheduling. In: Proceedings of real-time and network systems (RTNS), pp 1–10

  • Davis RI, Rothvoß T, Baruah SK, Burns A (2009a) Quantifying the sub-optimality of uniprocessor fixed priority pre-emptive scheduling for sporadic task sets with arbitrary deadlines. In: Proceedings of real-time and network systems (RTNS), pp 23–31

  • Davis RI, Rothvoß T, Baruah SK, Burns A (2009b) Exact quantification of the sub-optimality of uniprocessor fixed priority pre-emptive scheduling. Real-Time Syst 43(3):211–258

    Article  MATH  Google Scholar 

  • Dertouzos ML (1974) Control robotics: the procedural control of physical processes. In: Proceedings of the IFIP congress, pp 807–813

  • George L, Hermant J (2009) A norm approach for the partitioned EDF scheduling of sporadic task systems. In: Proceeding euromicro conference on real-time systems (ECRTS)

  • George L, Muhlethaler P, Rivierre N (1995) Optimality and non-preemptive real-time scheduling revisited. Rapport de Recherche RR-2516. INRIA, Le Chesnay Cedex, France

  • George L, Rivierre N, Spuri M (1996) Preemptive and non-preemptive real-time uniprocessor scheduling. INRIA Research Report, No. 2966

  • Howell RR, Venkatrao MK (1995) On non-preemptive scheduling of recurring tasks using inserted idle time. Inf Comput J 117(1)

  • Jeffay K, Stanat DF, Martel CU (1991) On non-preemptive scheduling of periodic and sporadic tasks. In: Proceedings real-time systems symposium (RTSS), pp 129–139

  • Joseph M, Pandya PK (1986) Finding response times in a real-time system. Comput J 29(5):390–395

    Article  MathSciNet  MATH  Google Scholar 

  • Kalyanasundaram B, Pruhs K (1995) Speed is as powerful as clairvoyance. In: Proceedings of symposium on foundations of computer science, pp 214–221

  • Kim N (1980) Prevention of task overruns in real-time non-preemptive multiprogramming systems. In: Proceedings of Perf., Assoc. Comp. Mach., pp 267–276

  • Lehoczky J (1990) Fixed priority scheduling of periodic task sets with arbitrary deadlines. In: Proceedings real-time systems symposium (RTSS), pp 201–209

  • Lehoczky JP, Sha L, Ding Y (1989) The rate monotonic scheduling algorithm: exact characterization and average case behaviour. In: Proceedings real-time systems symposium (RTSS), pp 166–171

  • Leung JY-T, Whitehead J (1982) On the complexity of fixed-priority scheduling of periodic real-time tasks. Perform Eval 2(4):237–250

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  • Mok AK (1983) Fundamental design problems of distributed systems for the hard-real-time environment, Ph.D. Thesis, Department of Electrical Engineering and Computer Science, Massachusetts Institute of Technology, Cambridge

  • Sha L, Rajkumar R, Lehoczky J (1990) Priority inheritance protocols: an approach to real-time synchronisation. IEEE Trans Comput 39(9):1175–1185

    Article  MathSciNet  Google Scholar 

  • Spuri M (1996) Analysis of deadline scheduled real-time systems. INRIA Technical, Report No 2772

  • Thekkilakattil A, Dobrin R, Punnekkat S (2013) Quantifying the sub-optimality of non-preemptive real-time scheduling. In: Proceedings of euromicro conference on real-time systems (ECRTS), pp 113, 122

  • Tindell KW, Burns A, Wellings AJ (1994) An extendible approach for analyzing fixed priority hard real-time tasks. Real-Time Syst 6(2):133–151

    Article  MATH  Google Scholar 

  • von der Brüggen G, Chen JJ, Huang W-H (2015) Schedulability and optimization analysis for non-preemptive static priority scheduling based on task utilization and blocking factors. In: Proceedings of euromicro conference on real-time systems (ECRTS), pp 90–101

  • Zhang F, Burns A (2009) Schedulability analysis for real-time systems with edf scheduling. Comput, IEEE Trans on 58(9):1250–1258. doi:10.1109/TC.2009.58

    Article  MathSciNet  Google Scholar 

  • Zhang F, Burns A (2011) Schedulability analysis of EDF scheduled embedded real-time systems with resource sharing. ACM Trans Embed Comput Syst 9, 4, Article 39

Download references

Acknowledgments

This work was funded in part by the EPSRC Projects TEMPO (EP/G055548/1) and MCC (EP/K011626/1). EPSRC Research Data Management: No new primary data was created during this study.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Robert I. Davis.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Davis, R.I., Burns, A., Baruah, S. et al. Exact comparison of fixed priority and EDF scheduling based on speedup factors for both pre-emptive and non-pre-emptive paradigms. Real-Time Syst 51, 566–601 (2015). https://doi.org/10.1007/s11241-015-9233-0

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11241-015-9233-0

Keywords

Navigation