Skip to main content
Top
Published in: Computing 12/2017

28-06-2017

Real-time uniprocessor scheduling with fewer preemptions

Author: Jinkyu Lee

Published in: Computing | Issue 12/2017

Log in

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

In this paper, we propose a simple, but effective scheduling framework for EDF and RM, which reduces the number of preemptions by simply introducing a dummy task. We first observe useful preemption behavior under EDF and RM, leading to an interesting finding: an effective way to reduce the number of preemptions is to prevent jobs of a task with the smallest task period from preempting other jobs upon their release. To achieve this, we add a dummy task that invokes its job only when a newly-released job of the task with the smallest task period has a higher priority than the currently-executing job. Then, the currently-executing job can continue its execution without getting preempted by inheriting the priority of the dummy job. Since adding the dummy task can make a schedulable task set unschedulable, we propose how to set the dummy task’s parameters without compromising schedulability. In addition to the negligible overhead of this framework due to its simplicity, it holds an important property that does not increase the number of preemptions of any task set, compared to the original scheduling algorithm, which has not been achieved by existing studies. We also demonstrate via simulation that the proposed framework effectively reduces the number of preemptions under EDF and RM.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Footnotes
1
We would like to stress that the framework can utilize any existing schedulability analysis in that it simply adds the dummy task to the original task set.
 
Literature
1.
2.
go back to reference Kim SC, Lee S (2015) Decentralized task scheduling for a fixed priority multicore embedded rtos. Computing 97(6):543–555CrossRefMathSciNet Kim SC, Lee S (2015) Decentralized task scheduling for a fixed priority multicore embedded rtos. Computing 97(6):543–555CrossRefMathSciNet
3.
go back to reference Liu C, Layland J (1973) Scheduling algorithms for multi-programming in a hard-real-time environment. J ACM 20(1):46–61CrossRefMATH Liu C, Layland J (1973) Scheduling algorithms for multi-programming in a hard-real-time environment. J ACM 20(1):46–61CrossRefMATH
4.
go back to reference Buttazzo G, Bertogna M, Yao G (2013) Limited preemptive scheduling for real-time systems: a survey. IEEE Trans Ind Inf 9(1):3–13CrossRef Buttazzo G, Bertogna M, Yao G (2013) Limited preemptive scheduling for real-time systems: a survey. IEEE Trans Ind Inf 9(1):3–13CrossRef
5.
go back to reference Wang Y, Saksena M (1999) Scheduling fixed-priority tasks with preemption threshold, In: Proceedings of IEEE international conference on embedded and real-time computing systems and applications (RTCSA), pp 318–335 Wang Y, Saksena M (1999) Scheduling fixed-priority tasks with preemption threshold, In: Proceedings of IEEE international conference on embedded and real-time computing systems and applications (RTCSA), pp 318–335
6.
go back to reference Kim S, Hong S, Kim T-H (2002) Integrating real-time synchronization schemes into preemption threshold scheduling, In: Proceedings of the 5th IEEE international symposium on object-oriented real-time distributed computing, pp 145–152 Kim S, Hong S, Kim T-H (2002) Integrating real-time synchronization schemes into preemption threshold scheduling, In: Proceedings of the 5th IEEE international symposium on object-oriented real-time distributed computing, pp 145–152
7.
go back to reference Kim S, Hong S, Kim T-H (2002) Perfecting preemption threshold scheduling for object-oriented real-time systems design: from the perspective of real-time synchronization, In: Proceedings of languages, compilers, and tools for embedded systems, pp 223–232 Kim S, Hong S, Kim T-H (2002) Perfecting preemption threshold scheduling for object-oriented real-time systems design: from the perspective of real-time synchronization, In: Proceedings of languages, compilers, and tools for embedded systems, pp 223–232
8.
go back to reference Bril RJ, van den Heuvel MM, Keskin U, Lukkien JJ (2012) Generalized fixed-priority scheduling with limited preemptions, In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 209–220 Bril RJ, van den Heuvel MM, Keskin U, Lukkien JJ (2012) Generalized fixed-priority scheduling with limited preemptions, In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 209–220
9.
go back to reference Baruah S (2005) The limited-preemption uniprocessor scheduling of sporadic task systems, In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 137–144 Baruah S (2005) The limited-preemption uniprocessor scheduling of sporadic task systems, In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 137–144
10.
go back to reference Bril RJ, Lukkien JJ, Verhaegh WFJ (2007) Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption revisited. In: Proceedings of the 19th Euromicro conference on real-time systems, pp 269–279 Bril RJ, Lukkien JJ, Verhaegh WFJ (2007) Worst-case response time analysis of real-time tasks under fixed-priority scheduling with deferred preemption revisited. In: Proceedings of the 19th Euromicro conference on real-time systems, pp 269–279
11.
go back to reference Yao G, Buttazzo G, Bertogna M (2009) Bounding the maximum length of non-preemptive regions under fixed priority scheduling, In: Proceedings of IEEE international conference on embedded and real-time computing systems and applications (RTCSA), pp 351–360 Yao G, Buttazzo G, Bertogna M (2009) Bounding the maximum length of non-preemptive regions under fixed priority scheduling, In: Proceedings of IEEE international conference on embedded and real-time computing systems and applications (RTCSA), pp 351–360
12.
go back to reference Bertogna M, Baruah S (2010) Limited preemption EDF scheduling of sporadic task systems. IEEE Trans Ind Inf 6(4):579–591CrossRef Bertogna M, Baruah S (2010) Limited preemption EDF scheduling of sporadic task systems. IEEE Trans Ind Inf 6(4):579–591CrossRef
13.
go back to reference Davis RI, Bertogna M (2012) Optimal fixed priority scheduling with deferred pre-emption, In: Proceedings of IEEE real-time systems symposium (RTSS), pp 39–50 Davis RI, Bertogna M (2012) Optimal fixed priority scheduling with deferred pre-emption, In: Proceedings of IEEE real-time systems symposium (RTSS), pp 39–50
14.
go back to reference Dobrin R, Fohler G (2004) Reducing the number of preemptions in fixed priority scheduling. In: Proceedings of the 16th Euromicro conference on real-time systems, pp 144–152 Dobrin R, Fohler G (2004) Reducing the number of preemptions in fixed priority scheduling. In: Proceedings of the 16th Euromicro conference on real-time systems, pp 144–152
15.
go back to reference Kim W, Kim J, Min SL (2004) Preemption-aware dynamic voltage scaling in hard real-time systems. In: Proceedings of the 2004 international symposium on low power electronics and design, pp 393–398 Kim W, Kim J, Min SL (2004) Preemption-aware dynamic voltage scaling in hard real-time systems. In: Proceedings of the 2004 international symposium on low power electronics and design, pp 393–398
16.
go back to reference Yang C-Y, Chen J-J, Kuo T-W (2007) Preemption control for energy-efficient task scheduling in systems with a dvs processor and non-dvs devices. In: Proceedings of the 13th IEEE international conference on embedded and real-time computing systems and applications, pp 293–300 Yang C-Y, Chen J-J, Kuo T-W (2007) Preemption control for energy-efficient task scheduling in systems with a dvs processor and non-dvs devices. In: Proceedings of the 13th IEEE international conference on embedded and real-time computing systems and applications, pp 293–300
17.
go back to reference Yang L, Lin M, Yang LT (2009) Integrating preemption threshold to fixed priority dvs scheduling algorithms. In: Proceedings of the 15th IEEE international conference on embedded and real-time computing systems and applications, pp 165–171 Yang L, Lin M, Yang LT (2009) Integrating preemption threshold to fixed priority dvs scheduling algorithms. In: Proceedings of the 15th IEEE international conference on embedded and real-time computing systems and applications, pp 165–171
18.
go back to reference Thekkilakattil A, Pillai AS, Dobrin R, Punnekkat S (2010) Reducing the number of preemptions in real-time systems scheduling by cpu frequency scaling. In: Proceedings of the 18th international conference on real-time and network systems, pp 144–152 Thekkilakattil A, Pillai AS, Dobrin R, Punnekkat S (2010) Reducing the number of preemptions in real-time systems scheduling by cpu frequency scaling. In: Proceedings of the 18th international conference on real-time and network systems, pp 144–152
19.
go back to reference Bertogna M, Buttazzo G, Marinoni M, Caccamo M (2010) Preemption points placement for sporadic task sets. In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 251–260 Bertogna M, Buttazzo G, Marinoni M, Caccamo M (2010) Preemption points placement for sporadic task sets. In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 251–260
20.
go back to reference Bertogna M, Xhani O, Marinoni M, Esposito F, Buttazzo G (2011) Optimal selection of preemption points to minimize preemption overhead. In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 217–227 Bertogna M, Xhani O, Marinoni M, Esposito F, Buttazzo G (2011) Optimal selection of preemption points to minimize preemption overhead. In: Proceedings of Euromicro conference on real-time systems (ECRTS), pp 217–227
21.
22.
go back to reference Audsley N, Burns A, Richardson M, Wellings A (1991) Hard real-time scheduling: the deadline-monotonic approach. In: Proceedings of the IEEE workshop on real-time operating systems and software, pp 133–137 Audsley N, Burns A, Richardson M, Wellings A (1991) Hard real-time scheduling: the deadline-monotonic approach. In: Proceedings of the IEEE workshop on real-time operating systems and software, pp 133–137
23.
go back to reference Baker TP (2005) Comparison of empirical success rates of global vs. paritioned fixed-priority and EDF scheduling for hard real time. Tech. Rep. TR-050601, Dept. of Computer Science, Florida State University, Tallahasee Baker TP (2005) Comparison of empirical success rates of global vs. paritioned fixed-priority and EDF scheduling for hard real time. Tech. Rep. TR-050601, Dept. of Computer Science, Florida State University, Tallahasee
24.
go back to reference Lee J, Easwaran A, Shin I (2011) Maximizing contention-free executions in multiprocessor scheduling. In: Proceedings of IEEE real-time technology and applications symposium (RTAS), pp 235–244 Lee J, Easwaran A, Shin I (2011) Maximizing contention-free executions in multiprocessor scheduling. In: Proceedings of IEEE real-time technology and applications symposium (RTAS), pp 235–244
25.
go back to reference Lee SK (1994) On-line multiprocessor scheduling algorithms for real-time tasks. In: IEEE Region 10’s ninth annual international conference, pp 607–611 Lee SK (1994) On-line multiprocessor scheduling algorithms for real-time tasks. In: IEEE Region 10’s ninth annual international conference, pp 607–611
26.
go back to reference Chwa HS, Back H, Chen S, Lee J, Easwaran A, Shin I, Lee I (2012) Extending task-level to job-level fixed priority assignment and schedulability analysis using pseudo-deadlines. In: Proceedings of IEEE real-time systems symposium (RTSS), pp 51–62 Chwa HS, Back H, Chen S, Lee J, Easwaran A, Shin I, Lee I (2012) Extending task-level to job-level fixed priority assignment and schedulability analysis using pseudo-deadlines. In: Proceedings of IEEE real-time systems symposium (RTSS), pp 51–62
Metadata
Title
Real-time uniprocessor scheduling with fewer preemptions
Author
Jinkyu Lee
Publication date
28-06-2017
Publisher
Springer Vienna
Published in
Computing / Issue 12/2017
Print ISSN: 0010-485X
Electronic ISSN: 1436-5057
DOI
https://doi.org/10.1007/s00607-017-0562-9

Other articles of this Issue 12/2017

Computing 12/2017 Go to the issue

Premium Partner