Skip to main content
Top
Published in: Real-Time Systems 5/2017

01-06-2017

Mixed-criticality federated scheduling for parallel real-time tasks

Authors: Jing Li, David Ferry, Shaurya Ahuja, Kunal Agrawal, Christopher Gill, Chenyang Lu

Published in: Real-Time Systems | Issue 5/2017

Log in

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

search-config
loading …

Abstract

A mixed-criticality system comprises safety-critical and non-safety-critical tasks sharing a computational platform. Thus, different levels of assurance are required by different tasks in terms of real-time performance. As the computational demands of real-time tasks increase, tasks may require internal parallelism in order to complete within stringent deadlines. In this paper, we consider the problem of mixed-criticality scheduling of parallel real-time tasks and propose a novel mixed-criticality federated scheduling (MCFS) algorithm for parallel tasks modeled by a directed acyclic graph. MCFS is based on federated intuition for scheduling parallel real-time tasks. It strategically assigns cores and virtual deadlines to tasks to achieve good schedulability. For high-utilization tasks (utilization \(\ge \)1), we prove that MCFS provides a capacity augmentation bound of \(2+\sqrt{2}\) and \((5+\sqrt{5})/2\) for dual- and multi-criticality, respectively. We show that MCFS has a capacity augmentation bound of \(11m/(3m-3)\) for dual-criticality systems with both high- and low-utilization tasks. For high-utilization tasks, we further provide a MCFS-Improve algorithm that has the same bound but can admit many more task sets in practice. Results of numerical experiments show that MCFS-Improve significantly improves over MCFS for many different workload settings. We also present an implementation of a MCFS runtime system in Linux that supports parallel programs written in OpenMP. Our implementation provides graceful degradation and recovery features. We conduct empirical experiments to demonstrate the practicality of our MCFS approach.

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

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!

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"

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!

Footnotes
1
There is another multi-criticality model (Vestal 2007) assuming that a task has more than two work estimates, one for each criticality level.
 
2
As proved in Baruah et al. (2014), it has a speedup of \(\frac{8}{3}\) compared to \(100\%\) utilization.
 
3
This could be a potential source of criticality inversion; however, in our system, this is not a major source of overhead. The alternative, thread-context notification, can be subject to unsuitably long delays.
 
4
In order to pin threads to cores, before the task execution, we use an initial #pragma omp parallel directive where individual threads make a call to Linux’s sched_setaffinity and pin themselves to the assigned cores.
 
Literature
go back to reference Andersson B, de Niz D (2012) Analyzing global-edf for multiprocessor scheduling of parallel tasks. In: International conference on principles of distributed systems. Springer, Berlin, pp 16–30 Andersson B, de Niz D (2012) Analyzing global-edf for multiprocessor scheduling of parallel tasks. In: International conference on principles of distributed systems. Springer, Berlin, pp 16–30
go back to reference Baruah S (2012a) Certification-cognizant scheduling of tasks with pessimistic frequency specification. In: IEEE international symposium on industrial embedded systems (SIES), pp 31–38 Baruah S (2012a) Certification-cognizant scheduling of tasks with pessimistic frequency specification. In: IEEE international symposium on industrial embedded systems (SIES), pp 31–38
go back to reference Baruah S (2012b) Semantics-preserving implementation of multirate mixed-criticality synchronous programs. In: 20th international conference on real-time and network systems (RTNS), pp 11–19 Baruah S (2012b) Semantics-preserving implementation of multirate mixed-criticality synchronous programs. In: 20th international conference on real-time and network systems (RTNS), pp 11–19
go back to reference Baruah S (2016a) The federated scheduling of systems of mixed-criticality sporadic dag tasks. In: IEEE real-time systems symposium (RTSS), pp 227–236 Baruah S (2016a) The federated scheduling of systems of mixed-criticality sporadic dag tasks. In: IEEE real-time systems symposium (RTSS), pp 227–236
go back to reference Baruah S (2016b) Schedulability analysis for a general model of mixed-criticality recurrent real-time tasks. In: IEEE real-time systems symposium (RTSS), pp 25–34 Baruah S (2016b) Schedulability analysis for a general model of mixed-criticality recurrent real-time tasks. In: IEEE real-time systems symposium (RTSS), pp 25–34
go back to reference Baruah S, Li H, Stougie L (2010) Towards the design of certifiable mixed-criticality systems. In: 16th IEEE real-time and embedded technology and applications symposium (RTAS), pp 13–22 Baruah S, Li H, Stougie L (2010) Towards the design of certifiable mixed-criticality systems. In: 16th IEEE real-time and embedded technology and applications symposium (RTAS), pp 13–22
go back to reference Baruah S, Burns A, Davis R (2011) Response-time analysis for mixed criticality systems. In: 32nd IEEE real-time systems symposium (RTSS), pp 34–43 Baruah S, Burns A, Davis R (2011) Response-time analysis for mixed criticality systems. In: 32nd IEEE real-time systems symposium (RTSS), pp 34–43
go back to reference Baruah S, Bonifaci V, D’Angelo G, Li H, Marchetti-Spaccamela A, Van Der Ster S, Stougie L (2012a) The preemptive uniprocessor scheduling of mixed-criticality implicit-deadline sporadic task systems. In: 24th Euromicro conference on real-time systems (ECRTS), pp 145–154 Baruah S, Bonifaci V, D’Angelo G, Li H, Marchetti-Spaccamela A, Van Der Ster S, Stougie L (2012a) The preemptive uniprocessor scheduling of mixed-criticality implicit-deadline sporadic task systems. In: 24th Euromicro conference on real-time systems (ECRTS), pp 145–154
go back to reference Baruah SK, Bonifaci V, Marchetti-Spaccamela A, Stougie L, Wiese A (2012b) A generalized parallel task model for recurrent real-time processes. In: 33rd IEEE real-time systems symposium (RTSS), pp 63–72 Baruah SK, Bonifaci V, Marchetti-Spaccamela A, Stougie L, Wiese A (2012b) A generalized parallel task model for recurrent real-time processes. In: 33rd IEEE real-time systems symposium (RTSS), pp 63–72
go back to reference Baruah S, Chattopadhyay B, Li H, Shin I (2014) Mixed-criticality scheduling on multiprocessors. R Time Syst 50(1):142–177CrossRefMATH Baruah S, Chattopadhyay B, Li H, Shin I (2014) Mixed-criticality scheduling on multiprocessors. R Time Syst 50(1):142–177CrossRefMATH
go back to reference Baruah S, Eswaran A, Guo Z (2015) Mc-fluid: simplified and optimally quantified. In: IEEE real-time systems symposium (RTSS), pp 327–337 Baruah S, Eswaran A, Guo Z (2015) Mc-fluid: simplified and optimally quantified. In: IEEE real-time systems symposium (RTSS), pp 327–337
go back to reference Bonifaci V, Marchetti-Spaccamela A, Stiller S, Wiese A (2013) Feasibility analysis in the sporadic dag task model. In: 25th Euromicro conference on real-time systems (ECRTS), pp 225–233 Bonifaci V, Marchetti-Spaccamela A, Stiller S, Wiese A (2013) Feasibility analysis in the sporadic dag task model. In: 25th Euromicro conference on real-time systems (ECRTS), pp 225–233
go back to reference Burns A, Davis R (2016) Mixed criticality systems: a review. University of York, Tech Rep, Department of Computer Science Burns A, Davis R (2016) Mixed criticality systems: a review. University of York, Tech Rep, Department of Computer Science
go back to reference Chwa HS, Lee J, Phan KM, Easwaran A, Shin I (2013) Global edf schedulability analysis for synchronous parallel tasks on multicore platforms. In: 25th Euromicro conference on real-time systems (ECRTS), pp 25–34 Chwa HS, Lee J, Phan KM, Easwaran A, Shin I (2013) Global edf schedulability analysis for synchronous parallel tasks on multicore platforms. In: 25th Euromicro conference on real-time systems (ECRTS), pp 25–34
go back to reference Collette S, Cucu L, Goossens J (2008) Integrating job parallelism in real-time scheduling theory. Inf Process Lett 106(5):180–187MathSciNetCrossRefMATH Collette S, Cucu L, Goossens J (2008) Integrating job parallelism in real-time scheduling theory. Inf Process Lett 106(5):180–187MathSciNetCrossRefMATH
go back to reference Davis RI, Burns A (2011) A survey of hard real-time scheduling for multiprocessor systems. ACM Comput Surv 43(4):35CrossRefMATH Davis RI, Burns A (2011) A survey of hard real-time scheduling for multiprocessor systems. ACM Comput Surv 43(4):35CrossRefMATH
go back to reference de Niz D, Phan LT (2014) Partitioned scheduling of multi-modal mixed-criticality real-time systems on multiprocessor platforms. In: 20th IEEE real-time and embedded technology and applications symposium (RTAS), pp 111–122 de Niz D, Phan LT (2014) Partitioned scheduling of multi-modal mixed-criticality real-time systems on multiprocessor platforms. In: 20th IEEE real-time and embedded technology and applications symposium (RTAS), pp 111–122
go back to reference Easwaran A (2013) Demand-based scheduling of mixed-criticality sporadic tasks on one processor. In: 34th IEEE real-time systems symposium (RTSS), pp 78–87 Easwaran A (2013) Demand-based scheduling of mixed-criticality sporadic tasks on one processor. In: 34th IEEE real-time systems symposium (RTSS), pp 78–87
go back to reference Ekberg P, Yi W (2014) Bounding and shaping the demand of generalized mixed-criticality sporadic task systems. R Time Syst 50(1):48–86CrossRefMATH Ekberg P, Yi W (2014) Bounding and shaping the demand of generalized mixed-criticality sporadic task systems. R Time Syst 50(1):48–86CrossRefMATH
go back to reference Ferry D, Bunting G, Maghareh A, Prakash A, Dyke S, Agrawal K, Gill C, Lu C (2014) Real-time system support for hybrid structural simulation. In: 14th international conference on embedded software (EMSOFT), p 25 Ferry D, Bunting G, Maghareh A, Prakash A, Dyke S, Agrawal K, Gill C, Lu C (2014) Real-time system support for hybrid structural simulation. In: 14th international conference on embedded software (EMSOFT), p 25
go back to reference Gu X, Easwaran A, Phan KM, Shin I (2015) Resource efficient isolation mechanisms in mixed-criticality scheduling. In: 27th Euromicro conference on real-time systems (ECRTS), pp 13–24 Gu X, Easwaran A, Phan KM, Shin I (2015) Resource efficient isolation mechanisms in mixed-criticality scheduling. In: 27th Euromicro conference on real-time systems (ECRTS), pp 13–24
go back to reference Guan N, Ekberg P, Stigge M, Yi W (2011) Effective and efficient scheduling of certifiable mixed-criticality sporadic task systems. In: 32nd IEEE real-time systems symposium (RTSS), pp 13–23 Guan N, Ekberg P, Stigge M, Yi W (2011) Effective and efficient scheduling of certifiable mixed-criticality sporadic task systems. In: 32nd IEEE real-time systems symposium (RTSS), pp 13–23
go back to reference Kato S, Ishikawa Y (2009) Gang edf scheduling of parallel task systems. In: 30th IEEE real-time systems symposium (RTSS), pp 459–468 Kato S, Ishikawa Y (2009) Gang edf scheduling of parallel task systems. In: 30th IEEE real-time systems symposium (RTSS), pp 459–468
go back to reference Kim J, Kim H, Lakshmanan K, Rajkumar RR (2013) Parallel scheduling for cyber-physical systems: Analysis and case study on a self-driving car. In: 4th international conference on cyber-physical systems (ICCPS), pp 31–40 Kim J, Kim H, Lakshmanan K, Rajkumar RR (2013) Parallel scheduling for cyber-physical systems: Analysis and case study on a self-driving car. In: 4th international conference on cyber-physical systems (ICCPS), pp 31–40
go back to reference Lakshmanan K, Kato S, Rajkumar R (2010) Scheduling parallel real-time tasks on multi-core processors. In: 31st IEEE real-time systems symposium (RTSS), pp 259–268 Lakshmanan K, Kato S, Rajkumar R (2010) Scheduling parallel real-time tasks on multi-core processors. In: 31st IEEE real-time systems symposium (RTSS), pp 259–268
go back to reference Lakshmanan K, de Niz D, Rajkumar R (2011) Mixed-criticality task synchronization in zero-slack scheduling. In: 17th IEEE real-time and embedded technology and applications symposium (RTAS), pp 47–56 Lakshmanan K, de Niz D, Rajkumar R (2011) Mixed-criticality task synchronization in zero-slack scheduling. In: 17th IEEE real-time and embedded technology and applications symposium (RTAS), pp 47–56
go back to reference Lee WY, Heejo L (2006) Optimal scheduling for real-time parallel tasks. IEICE Trans Inf Syst 89(6):1962–1966CrossRef Lee WY, Heejo L (2006) Optimal scheduling for real-time parallel tasks. IEICE Trans Inf Syst 89(6):1962–1966CrossRef
go back to reference Lee J, Phan KM, Gu X, Lee J, Easwaran A, Shin I, Lee I (2014) Mc-fluid: fluid model-based mixed-criticality scheduling on multiprocessors. In: IEEE real-time systems symposium (RTSS), pp 41–52 Lee J, Phan KM, Gu X, Lee J, Easwaran A, Shin I, Lee I (2014) Mc-fluid: fluid model-based mixed-criticality scheduling on multiprocessors. In: IEEE real-time systems symposium (RTSS), pp 41–52
go back to reference Li J, Agrawal K, Lu C, Gill C (2013) Analysis of global edf for parallel tasks. In: 25th Euromicro conference on real-time systems (ECRTS), pp 3–13 Li J, Agrawal K, Lu C, Gill C (2013) Analysis of global edf for parallel tasks. In: 25th Euromicro conference on real-time systems (ECRTS), pp 3–13
go back to reference Li J, Chen JJ, Agrawal K, CLu, Gill C, Saifullah A (2014) Analysis of federated and global scheduling for parallel real-time tasks. In: 26th Euromicro conference on real-time systems (ECRTS), pp 85–96 Li J, Chen JJ, Agrawal K, CLu, Gill C, Saifullah A (2014) Analysis of federated and global scheduling for parallel real-time tasks. In: 26th Euromicro conference on real-time systems (ECRTS), pp 85–96
go back to reference Li J, Ferry D, Ahuja S, Agrawal K, Gill C, Lu C (2016) A real-time scheduling service for parallel tasks. In: IEEE real-time and embedded technology and applications symposium (RTAS), pp 1–12 Li J, Ferry D, Ahuja S, Agrawal K, Gill C, Lu C (2016) A real-time scheduling service for parallel tasks. In: IEEE real-time and embedded technology and applications symposium (RTAS), pp 1–12
go back to reference Liu C, Anderson J (2012) Supporting soft real-time parallel applications on multicore processors. In: IEEE 18th international conference on embedded and real-time computing systems and applications (RTCSA), pp 114–123 Liu C, Anderson J (2012) Supporting soft real-time parallel applications on multicore processors. In: IEEE 18th international conference on embedded and real-time computing systems and applications (RTCSA), pp 114–123
go back to reference Liu G, Lu Y, Wang S, Gu Z (2014) Partitioned multiprocessor scheduling of mixed-criticality parallel jobs. In: IEEE 20th international conference on embedded and real-time computing systems and applications (RTCSA), pp 1–10 Liu G, Lu Y, Wang S, Gu Z (2014) Partitioned multiprocessor scheduling of mixed-criticality parallel jobs. In: IEEE 20th international conference on embedded and real-time computing systems and applications (RTCSA), pp 1–10
go back to reference Liu D, Spasic J, Chen G, Guan N, Liu S, Stefanov T, Yi W (2016) Edf-vd scheduling of mixed-criticality systems with degraded quality guarantees. In: IEEE real-time systems symposium (RTSS), pp 35–46 Liu D, Spasic J, Chen G, Guan N, Liu S, Stefanov T, Yi W (2016) Edf-vd scheduling of mixed-criticality systems with degraded quality guarantees. In: IEEE real-time systems symposium (RTSS), pp 35–46
go back to reference Manimaran G, Murthy CSR, Ramamritham K (1998) A new approach for scheduling of parallelizable tasks in real-time multiprocessor systems. R Time Syst 15(1):39–60CrossRef Manimaran G, Murthy CSR, Ramamritham K (1998) A new approach for scheduling of parallelizable tasks in real-time multiprocessor systems. R Time Syst 15(1):39–60CrossRef
go back to reference Nelissen G, Berten V, Goossens J, Milojevic D (2012) Techniques optimizing the number of processors to schedule multi-threaded tasks. In: 24th Euromicro conference on real-time systems (ECRTS), pp 321–330 Nelissen G, Berten V, Goossens J, Milojevic D (2012) Techniques optimizing the number of processors to schedule multi-threaded tasks. In: 24th Euromicro conference on real-time systems (ECRTS), pp 321–330
go back to reference Pathan RM (2012) Schedulability analysis of mixed-criticality systems on multiprocessors. In: 24th Euromicro conference on real-time systems (ECRTS), pp 309–320 Pathan RM (2012) Schedulability analysis of mixed-criticality systems on multiprocessors. In: 24th Euromicro conference on real-time systems (ECRTS), pp 309–320
go back to reference Pellizzoni R, Meredith P, Nam MY, Sun M, Caccamo M, Sha L (2009) Handling mixed-criticality in soc-based real-time embedded systems. In: 7th ACM international conference on embedded software (EMSOFT), pp 235–244 Pellizzoni R, Meredith P, Nam MY, Sun M, Caccamo M, Sha L (2009) Handling mixed-criticality in soc-based real-time embedded systems. In: 7th ACM international conference on embedded software (EMSOFT), pp 235–244
go back to reference Saifullah A, Li J, Agrawal K, Lu C, Gill C (2013) Multi-core real-time scheduling for generalized parallel task models. R Time Syst 49(4):404–435CrossRefMATH Saifullah A, Li J, Agrawal K, Lu C, Gill C (2013) Multi-core real-time scheduling for generalized parallel task models. R Time Syst 49(4):404–435CrossRefMATH
go back to reference Socci D, Poplavko P, Bensalem S, Bozga M (2013) Mixed critical earliest deadline first. In: 25th Euromicro conference on real-time systems (ECRTS), pp 93–102 Socci D, Poplavko P, Bensalem S, Bozga M (2013) Mixed critical earliest deadline first. In: 25th Euromicro conference on real-time systems (ECRTS), pp 93–102
go back to reference Su H, Guan N, Zhu D (2014) Service guarantee exploration for mixed-criticality systems. In: IEEE 20th international conference on embedded and real-time computing systems and applications (RTCSA), pp 1–10 Su H, Guan N, Zhu D (2014) Service guarantee exploration for mixed-criticality systems. In: IEEE 20th international conference on embedded and real-time computing systems and applications (RTCSA), pp 1–10
go back to reference Vestal S (2007) Preemptive scheduling of multi-criticality systems with varying degrees of execution time assurance. In: 28th IEEE real-time systems symposium (RTSS), pp 239–243 Vestal S (2007) Preemptive scheduling of multi-criticality systems with varying degrees of execution time assurance. In: 28th IEEE real-time systems symposium (RTSS), pp 239–243
Metadata
Title
Mixed-criticality federated scheduling for parallel real-time tasks
Authors
Jing Li
David Ferry
Shaurya Ahuja
Kunal Agrawal
Christopher Gill
Chenyang Lu
Publication date
01-06-2017
Publisher
Springer US
Published in
Real-Time Systems / Issue 5/2017
Print ISSN: 0922-6443
Electronic ISSN: 1573-1383
DOI
https://doi.org/10.1007/s11241-017-9281-8

Other articles of this Issue 5/2017

Real-Time Systems 5/2017 Go to the issue

Premium Partner