Skip to main content
Log in

An efficient schedulability condition for non-preemptive real-time systems at common scheduling points

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

Earliest deadline first (EDF) scheduling algorithm is the most celebrated result for dynamic priority scheduling in real-time systems for both preemptive and non-preemptive cases. From complexity point of view, EDF is polynomial for preemptive scheduling of tasks; however, it becomes pseudo-polynomial under non-preemptive case. In this paper, we propose a technique that determines EDF feasibility of non-preemptive task set by analyzing schedulability of the lowest priority task at common scheduling points generated by all higher priority tasks in the task set. This adjustment results in improving the computational cost of an existing test from \(O(n^2 p_n/p_1)\) to \(O(p_n/p_1)\), where n is the number of tasks in the system, while \(p_n\) and \(p_1\) represent the task periods of largest and smallest periodic tasks respectively. With reduced computation cost, we understand that our technique has the potential to be intergraded with online systems for testing feasibility of a special class of real-time systems under non-preemptive case.

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

Similar content being viewed by others

References

  1. Liu JWS (2000) Real time systems. Prentice Hall, Upper Saddle River

    Google Scholar 

  2. Krishna CM, Shin KG (1997) Real-time systems. McGrawHill, Pennsylvania

    MATH  Google Scholar 

  3. Buttazzo G (2005) Rate monotonic vs. EDF: judgment day. Real Time Syst 29(1):5–26

    Article  MATH  Google Scholar 

  4. George L, Riverre N, Spuri M (1996) Preemptive and non-preemptive real-time uniprocessor scheduling. Research Report 2966, INRIA, France

  5. Sha L, Abdelzaher T, Erzen K, 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):101–155

    Article  MATH  Google Scholar 

  6. Davis RI, Burns A (2011) A survey of hard real-time scheduling for multiprocessor systems. ACM Comput Surveys 43(4):1–44

    Article  MATH  Google Scholar 

  7. Burns A, Davis RI, Wang P, Zhang F (2012) Partitioned EDF scheduling for multiprocessors using a C = D scheme, 18th RTNS, pp 169–178, 2010. An extended journal version of this paper (with the same title) is available from the Real-Time Systems Journal, 48(1):3-33

  8. Min-Allah N, Khan SU, Ghani N, Li J, Wang L, Bouvry P (2012) A comparative study of rate monotonic schedulability tests. J Supercomput 59(3):1419–1430

    Article  Google Scholar 

  9. Audsley NC, Burns A, Davis RI, Tindell KW, Wellings AJ (1995) Real-time system scheduling. ESPRIT basic research series. In: Randell B, Laprie J-C, Kopetz H, Littlewood B (eds) Predictably dependable computing systems. Springer, Berlin, pp 41–52

    Chapter  Google Scholar 

  10. Min-Allah N, Jiansheng X, Yongji W (2010) Utilization bound for periodic task set with composite-deadline. J Comput Electr Eng 36(6):1101–1109

    Article  MATH  Google Scholar 

  11. Min-Allah N, Hussain H, Khan SU, Zomaya AY (2012) Power efficient rate monotonic scheduling for multi-core systems. J Parallel Distrib Comput 72(1):48–57

    Article  MATH  Google Scholar 

  12. Min-Allah N, Khan SU, Yongji W (2010) Optimal task execution times for periodic tasks using nonlinear constrained optimization. J Supercomput 59(3):1120–1138

    Article  Google Scholar 

  13. Baruah S, Funk S, Goossens J (2003) Robustness results concerning EDF scheduling upon uniform multiprocessors. IEEE Trans Comput 52(9):1185–1195

    Article  Google Scholar 

  14. Bini E, Buttazzo GC (2009) The space of EDF deadlines: the exact region and a convex approximation. Real Time Syst 41(1):27–51

    Article  MATH  Google Scholar 

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

  16. Jejurikar R, Gupta R (2005) Energy aware non-preemptive scheduling for hard real-time systems. In: Proceedings of 17th of Euromicro conference on real-time systems, pp 21–30

  17. Guan N, Qingxu D, Zonghua G, Wenyao X, Ge Y (2008) Schedulability analysis of preemptive and non-preemptive EDF on partial runtime-reconfigurable FPGAs. ACM Trans Des Autom Electron Syst 13(4):1–43

    Article  Google Scholar 

  18. Nasri M, Gerhard F (2015) Open problems on non-preemptive scheduling of mixed-criticality real-time systems. In: International real-time scheduling open problems seminar (RTSOPS’15), pp 17–18

  19. Sangwon K, Joonwon L, Jinsoo K (2006) Runtime feasibility check for non-preemptive real-time periodic tasks. Inf Process Lett 97(3):83–87

    Article  MathSciNet  MATH  Google Scholar 

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

    Article  MathSciNet  MATH  Google Scholar 

  21. Baruah SK, Chakraborty S (2006) Schedulability analysis of non-preemptive recurring real-time tasks. Parallel and distributed processing symposium, 0:149, IPDPS 2006. doi:10.1109/IPDPS.2006.1639406

  22. uC/OS (2016). https://www.micrium.com/rtos/

  23. FreeRTOS (2016). http://www.freertos.org/

  24. Wilson AG, Nickisch H (2016) Kernel interpolation for scalable structured Gaussian processes (KISS-GP). Carnegie Mellon University

  25. Thekkilakattil A, Baruah S, Dobrin R, Punnekkat S (2014) The global limited preemptive earliest deadline first feasibility of sporadic real-time tasks. Real-time systems (ECRTS), 26th Euromicro, pp 301–310

  26. Nasri M, Kargahi M (2014) Precautious-RM: a predictable non-preemptive scheduling algorithm for harmonic tasks. Real Time Syst 50(4):548–584

    Article  MATH  Google Scholar 

  27. Swaminathan V, Chakrabarty K (2005) Pruning-based, energy-optimal, deterministic I/O device scheduling for hard real-time systems. ACM Trans Embedded Comput Syst 4(1):141–167

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nasro Min-Allah.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Alrashed, S., Alhiyafi, J., Shafi, A. et al. An efficient schedulability condition for non-preemptive real-time systems at common scheduling points. J Supercomput 72, 4651–4661 (2016). https://doi.org/10.1007/s11227-016-1751-6

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-016-1751-6

Keywords

Navigation