Partitioned scheduling of multi-modal mixed-criticality real-time systems on multiprocessor platforms

Real-time systems are becoming increasingly complex. A modern car, for example, requires a multitude of control tasks, such as braking, active suspension, and collision avoidance. These tasks not only exhibit different degrees of safety criticality but also change their criticalities as the driving mode changes. For instance, the suspension task is a critical part of the stability of the car at high speed, but it is only a comfort feature at low speed. Therefore, it is crucial to ensure timing guarantees for the system with respect to the tasks' criticalities, not only within each mode but also during mode changes. This paper presents a partitioned multi-processor scheduling scheme for multi-modal mixed-criticality real-time systems. Our scheme consists of a packing algorithm and a scheduling algorithm for each processor that take into account both mode changes and criticalities. The packing algorithm maximizes the schedulable utilization across modes using the sustained criticality of each task, which captures the overall criticality of the task across modes. The scheduling algorithm combines Rate-Monotonic scheduling with a mode transition enforcement mechanism that relies on the transitional zero-slack instants of tasks to control low-criticality tasks during mode changes, so as to preserve the schedulability of high-criticality tasks. We also present an implementation of our scheduler in the Linux operating system, as well as an experimental evaluation to illustrate its practicality. Our evaluation shows that our scheme can provide close to twice as much tolerance to overloads (ductility) compared to a mode-agnostic scheme.

[1]  Alan Burns,et al.  Mode changes in priority preemptively scheduled systems , 1992, [1992] Proceedings Real-Time Systems Symposium.

[2]  Hans A. Hansson,et al.  Timing Analysis for Mode Switch in Component-Based Multi-mode Systems , 2012, 2012 24th Euromicro Conference on Real-Time Systems.

[3]  Lui Sha,et al.  Mode change protocols for priority-driven preemptive scheduling , 1989, Real-Time Systems.

[4]  Lothar Thiele,et al.  Reliable mode changes in real-time systems with fixed priority or EDF scheduling , 2009, 2009 Design, Automation & Test in Europe Conference & Exhibition.

[5]  Sanjoy K. Baruah,et al.  Mixed-Criticality Real-Time Scheduling for Multicore Systems , 2010, 2010 10th IEEE International Conference on Computer and Information Technology.

[6]  Mathai Joseph,et al.  Finding Response Times in a Real-Time System , 1986, Comput. J..

[7]  Rami G. Melhem,et al.  An incremental approach to scheduling during overloads in real-time systems , 2000, Proceedings 21st IEEE Real-Time Systems Symposium.

[8]  Ragunathan Rajkumar,et al.  Resource Allocation in Distributed Mixed-Criticality Cyber-Physical Systems , 2010, 2010 IEEE 30th International Conference on Distributed Computing Systems.

[9]  Douglas C. Schmidt,et al.  Integrated Adaptive QoS Management in Middleware: A Case Study , 2004, Proceedings. RTAS 2004. 10th IEEE Real-Time and Embedded Technology and Applications Symposium, 2004..

[10]  Daniel F. Garcia,et al.  Utilization Bounds for EDF Scheduling on Real-Time Multiprocessor Systems , 2004, Real-Time Systems.

[11]  R. Rajkumar,et al.  A Loadable Real-Time Scheduler Suite for Multicore Platforms ∗ , 2009 .

[12]  Björn Andersson,et al.  Two Protocols for Scheduling Multi-mode Real-Time Systems upon Identical Multiprocessor Platforms , 2009, 2009 21st Euromicro Conference on Real-Time Systems.

[13]  Insup Lee,et al.  Timing Analysis of Mixed Time/Event-Triggered Multi-Mode Systems , 2009, 2009 30th IEEE Real-Time Systems Symposium.

[14]  Gurulingesh Raravi,et al.  Partitioned Scheduling of Multimode Systems on Multiprocessor Platforms: when to do the Mode Transition? , 2011 .

[15]  Giuseppe Lipari,et al.  Elastic task model for adaptive rate control , 1998, Proceedings 19th IEEE Real-Time Systems Symposium (Cat. No.98CB36279).

[16]  L. Sha,et al.  Schedulability and Fairness for Computation Tasks in Surveillance Radar Systems , .

[17]  Insup Lee,et al.  A Semantic Framework for Mode Change Protocols , 2011, 2011 17th IEEE Real-Time and Embedded Technology and Applications Symposium.

[18]  Hakan Aydin,et al.  On Partitioned Scheduling of Fixed-Priority Mixed-Criticality Task Sets , 2011, 2011IEEE 10th International Conference on Trust, Security and Privacy in Computing and Communications.

[19]  Hans Kellerer,et al.  Approximation schemes for ordered vector packing problems , 2001, RANDOM-APPROX.

[20]  Ragunathan Rajkumar,et al.  On the Scheduling of Mixed-Criticality Real-Time Task Sets , 2009, 2009 30th IEEE Real-Time Systems Symposium.

[21]  Anthony Rowe,et al.  Utility-based resource overbooking for Cyber-Physical Systems , 2013, 2013 IEEE 19th International Conference on Embedded and Real-Time Computing Systems and Applications.

[22]  Alan Burns,et al.  Response-Time Analysis for Mixed Criticality Systems , 2011, 2011 IEEE 32nd Real-Time Systems Symposium.

[23]  Sanjoy K. Baruah,et al.  Mixed-Criticality Scheduling of Sporadic Task Systems , 2011, ESA.

[24]  Ragunathan Rajkumar,et al.  Portable RK: a portable resource kernel for guaranteed and enforced timing behavior , 1999, Proceedings of the Fifth IEEE Real-Time Technology and Applications Symposium.

[25]  Alan Burns,et al.  Schedulability analysis for mode changes in flexible real-time systems , 1998, Proceeding. 10th EUROMICRO Workshop on Real-Time Systems (Cat. No.98EX168).

[26]  Samarjit Chakraborty,et al.  A Multi-mode Real-Time Calculus , 2008, 2008 Real-Time Systems Symposium.

[27]  Alfons Crespo,et al.  Mode Change Protocols for Real-Time Systems: A Survey and a New Proposal , 2004, Real-Time Systems.

[28]  Marco Spuri,et al.  Value vs. deadline scheduling in overload conditions , 1995, Proceedings 16th IEEE Real-Time Systems Symposium.

[29]  Insup Lee,et al.  Compositional Analysis of Multi-mode Systems , 2010, 2010 22nd Euromicro Conference on Real-Time Systems.

[30]  Björn Andersson,et al.  Global-EDF Scheduling of Multimode Real-Time Systems Considering Mode Independent Tasks , 2011, 2011 23rd Euromicro Conference on Real-Time Systems.

[31]  Chenyang Lu,et al.  Implementation and Evaluation of Mixed-Criticality Scheduling Approaches for Periodic Tasks , 2012, 2012 IEEE 18th Real Time and Embedded Technology and Applications Symposium.

[32]  Sanjoy K. Baruah,et al.  Towards the Design of Certifiable Mixed-criticality Systems , 2010, 2010 16th IEEE Real-Time and Embedded Technology and Applications Symposium.

[33]  Qian Guangming An earlier time for inserting and/or accelerating tasks , 2009, Real-Time Systems.

[34]  Anthony Rowe,et al.  Utility-based resource overbooking for Cyber-Physical Systems , 2013, RTCSA.

[35]  Masud Ahmed,et al.  Tractable real-time schedulability analysis for mode changes under temporal isolation , 2011, 2011 9th IEEE Symposium on Embedded Systems for Real-Time Multimedia.