Schedulability analysis and low-criticality execution support for mixed-criticality real-time systems on uniprocessors

An increasing trend in safety-critical real-time systems is towards open computing environments, where applications with different degrees of importance are developed independently and integrated together on a single computing platform. In these systems, the correct behavior of some application (e.g., flight control) is more important (“critical”) to the overall safety of the system than that of another (e.g., in-flight cooling). Such a system that consolidates multiple functionalities of different importance or criticality is called a mixed-criticality system. Classical real-time scheduling theory can be used to guarantee the correctness of mixed-criticality systems, such that applications at different levels of criticality are verified with the corresponding degree of assurance. However, conservative resource reservations are often used to achieve this correctness at high assurance levels, and this results in severe under-utilization of system resources. To address this problem, real-time scheduling theory for mixed-criticality systems has been developed. The primary objective of this theory is to improve resource utilization, while still guaranteeing the safe execution of critical applications. Focusing on mixed-criticality scheduling theory, this dissertation addresses two important problems in the design of scheduling algorithms for mixed-criticality systems on uniprocessor platforms. First, we focus on the design of scheduling algorithms and analysis techniques for mixed-criticality systems that can successfully schedule a large proportion of such systems. Since mixed-criticality scheduling has been shown to be a NP-Hard problem, it is important to develop techniques that improve schedulability while still having efficient runtimes. To address this problem, we propose a demand bound function (DBF) based schedulability analysis technique for earliest deadline first (EDF) scheduling of mixed-criticality systems, and also develop a corresponding scheduling strategy. This analysis considers the different execution modes in a mixed-criticality system collectively, and is thus able to overcome some of the pessimistic assumptions in existing analysis. The proposed scheduling strategy is thus able to achieve much better schedulability, particularly for systems with more than two criticality levels, without any increase in the runtimes.

[1]  Matthias Werner,et al.  Bi-Level Deadline Scaling for Admission Control in Mixed-Criticality Systems , 2015, 2015 IEEE 21st International Conference on Embedded and Real-Time Computing Systems and Applications.

[2]  Sanjoy K. Baruah,et al.  Schedulability Analysis of Sporadic Tasks with Multiple Criticality Specifications , 2008, 2008 Euromicro Conference on Real-Time Systems.

[3]  Wang Yi,et al.  Outstanding Paper Award: Bounding and Shaping the Demand of Mixed-Criticality Sporadic Tasks , 2012, 2012 24th Euromicro Conference on Real-Time Systems.

[4]  Robert I. Davis,et al.  Mixed criticality systems with weakly-hard constraints , 2015, RTNS.

[5]  Gang Chen,et al.  Adaptive runtime shaping for mixed-criticality systems , 2015, 2015 International Conference on Embedded Software (EMSOFT).

[6]  Wang Yi,et al.  Bounding and shaping the demand of generalized mixed-criticality sporadic task systems , 2013, Real-Time Systems.

[7]  Joël Goossens,et al.  Schedulability and sensitivity analysis of multiple criticality tasks with fixed-priorities , 2009, Real-Time Systems.

[8]  Alan Burns,et al.  Implementing Mixed Criticality Systems in Ada , 2011, Ada-Europe.

[9]  Wang Yi,et al.  Effective and Efficient Scheduling of Certifiable Mixed-Criticality Sporadic Task Systems , 2011, 2011 IEEE 32nd Real-Time Systems Symposium.

[10]  Aloysius K. Mok,et al.  A Multiframe Model for Real-Time Tasks , 1997, IEEE Trans. Software Eng..

[11]  Rolf Ernst,et al.  Multi-mode monitoring for mixed-criticality real-time systems , 2013, 2013 International Conference on Hardware/Software Codesign and System Synthesis (CODES+ISSS).

[12]  Peng Deng,et al.  Fixed-Priority Dual-Rate Mixed-Criticality Systems: Schedulability Analysis and Performance Optimization , 2016, 2016 IEEE 22nd International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA).

[13]  Nan Guan,et al.  EDF-VD Scheduling of Mixed-Criticality Systems with Degraded Quality Guarantees , 2016, 2016 IEEE Real-Time Systems Symposium (RTSS).

[14]  James H. Anderson,et al.  Group-Based Pfair Scheduling , 2006, Real-Time Systems.

[15]  Dakai Zhu,et al.  Service guarantee exploration for mixed-criticality systems , 2014, 2014 IEEE 20th International Conference on Embedded and Real-Time Computing Systems and Applications.

[16]  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.

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

[18]  Soontae Kim,et al.  Dynamic scheduling algorithm and its schedulability analysis for certifiable dual-criticality systems , 2011, 2011 Proceedings of the Ninth ACM International Conference on Embedded Software (EMSOFT).

[19]  Hoyt Lougee,et al.  SOFTWARE CONSIDERATIONS IN AIRBORNE SYSTEMS AND EQUIPMENT CERTIFICATION , 2001 .

[20]  Lothar Thiele,et al.  On-the-fly fast overrun budgeting for mixed-criticality systems , 2016, 2016 International Conference on Embedded Software (EMSOFT).

[21]  Alan Burns,et al.  Scheduling slack time in fixed priority pre-emptive systems , 1993, 1993 Proceedings Real-Time Systems Symposium.

[22]  Sanjoy K. Baruah,et al.  Preemptive Uniprocessor Scheduling of Mixed-Criticality Sporadic Task Systems , 2015, J. ACM.

[23]  Dakai Zhu,et al.  An Elastic Mixed-Criticality task model and its scheduling algorithm , 2013, 2013 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[24]  Lothar Thiele,et al.  Interference Constraint Graph — A new specification for mixed-criticality systems , 2013, 2013 IEEE 18th Conference on Emerging Technologies & Factory Automation (ETFA).

[25]  Gernot Heiser,et al.  Operating systems technology for converged ECUs , 2008 .

[26]  Ron Bell,et al.  Introduction to IEC 61508 , 2006 .

[27]  A. Burns Towards A More Practical Model for Mixed Criticality Systems , 2013 .

[28]  Sanjoy K. Baruah,et al.  Certification-Cognizant Time-Triggered Scheduling of Mixed-Criticality Systems , 2011, 2011 IEEE 32nd Real-Time Systems Symposium.

[29]  Arvind Easwaran,et al.  Dynamic Budget Management with Service Guarantees for Mixed-Criticality Systems , 2016, 2016 IEEE Real-Time Systems Symposium (RTSS).

[30]  Insup Lee,et al.  Periodic resource model for compositional real-time guarantees , 2003, RTSS 2003. 24th IEEE Real-Time Systems Symposium, 2003.

[31]  Sanjoy K. Baruah,et al.  A general model for recurring real-time tasks , 1998, Proceedings 19th IEEE Real-Time Systems Symposium (Cat. No.98CB36279).

[32]  Alan Burns,et al.  Adaptive Mixed Criticality Scheduling with Deferred Preemption , 2014, 2014 IEEE Real-Time Systems Symposium.

[33]  Sanjoy K. Baruah,et al.  Feasibility analysis of recurring branching tasks , 1998, Proceeding. 10th EUROMICRO Workshop on Real-Time Systems (Cat. No.98EX168).

[34]  Sanjoy Baruah An Extended Fixed Priority Scheme for Mixed Criticality Systems , 2013 .

[35]  Tom Fleming Extending Mixed Criticality Scheduling , 2013 .

[36]  Zonghua Gu,et al.  PT-AMC: Integrating Preemption Thresholds into Mixed-Criticality Scheduling , 2013, 2013 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[37]  P. J. Prisaznuk,et al.  Integrated modular avionics , 1992, Proceedings of the IEEE 1992 National Aerospace and Electronics Conference@m_NAECON 1992.

[38]  Chung Laung Liu,et al.  Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment , 1989, JACM.

[39]  Arvind Easwaran,et al.  Demand-Based Scheduling of Mixed-Criticality Sporadic Tasks on One Processor , 2013, 2013 IEEE 34th Real-Time Systems Symposium.

[40]  Len Buckwalter,et al.  Avionics Certification: A Complete Guide to DO-178 (Software), DO-254 (Hardware) , 2007 .

[41]  Purnendu Sinha Architectural design and reliability analysis of a fail-operational brake-by-wire system from ISO 26262 perspectives , 2011, Reliab. Eng. Syst. Saf..

[42]  Robert I. Davis,et al.  Mixed Criticality Systems - A Review , 2015 .

[43]  Sanjoy K. Baruah,et al.  An Algorithm for Scheduling Certifiable Mixed-Criticality Sporadic Task Systems , 2010, 2010 31st IEEE Real-Time Systems Symposium.

[44]  M. Jan,et al.  Maximizing the execution rate of low-criticality tasks in mixed criticality systems , 2013 .

[45]  Arvind Easwaran,et al.  Efficient Schedulability Test for Dynamic-Priority Scheduling of Mixed-Criticality Real-Time Systems , 2017, ACM Trans. Embed. Comput. Syst..

[46]  Aloysius Ka-Lau Mok,et al.  Fundamental design problems of distributed systems for the hard-real-time environment , 1983 .

[47]  Sanjoy K. Baruah,et al.  Mixed-Criticality Scheduling to Minimize Makespan , 2016, FSTTCS.

[48]  Insik Shin,et al.  Resource Efficient Isolation Mechanisms in Mixed-Criticality Scheduling , 2015, 2015 27th Euromicro Conference on Real-Time Systems.

[49]  Alan Burns,et al.  A Bailout Protocol for Mixed Criticality Systems , 2015, 2015 27th Euromicro Conference on Real-Time Systems.

[50]  L. Cucu-Grosjean Incorporating The Notion of Importance into Mixed Criticality Systems , 2014 .

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

[52]  Eduardo Tovar,et al.  Two protocols to reduce the criticality level of multiprocessor mixed-criticality systems , 2013, RTNS '13.

[53]  Marco Spuri,et al.  Deadline Scheduling for Real-Time Systems: Edf and Related Algorithms , 2013 .

[54]  Jiankang Ren,et al.  Mixed-Criticality Scheduling on Multiprocessors Using Task Grouping , 2015, 2015 27th Euromicro Conference on Real-Time Systems.

[55]  Alan Burns,et al.  Dual Priority Assignment: A Practical Method For Increasing Processor Utilisation , 1993, Fifth Euromicro Workshop on Real-Time Systems.

[56]  Neil Audsley,et al.  OPTIMAL PRIORITY ASSIGNMENT AND FEASIBILITY OF STATIC PRIORITY TASKS WITH ARBITRARY START TIMES , 2007 .

[57]  Lothar Thiele,et al.  Service adaptions for mixed-criticality systems , 2014, 2014 19th Asia and South Pacific Design Automation Conference (ASP-DAC).

[58]  Sanjoy K. Baruah,et al.  Preemptively scheduling hard-real-time sporadic tasks on one processor , 1990, [1990] Proceedings 11th Real-Time Systems Symposium.

[59]  S. Vestal Preemptive Scheduling of Multi-criticality Systems with Varying Degrees of Execution Time Assurance , 2007, RTSS 2007.

[60]  Sanjoy K. Baruah,et al.  The Preemptive Uniprocessor Scheduling of Mixed-Criticality Implicit-Deadline Sporadic Task Systems , 2012, 2012 24th Euromicro Conference on Real-Time Systems.

[61]  Insup Lee,et al.  Compositional Analysis Framework Using EDP Resource Models , 2007, 28th IEEE International Real-Time Systems Symposium (RTSS 2007).

[62]  Laurent George,et al.  Relaxing Mixed-Criticality Scheduling Strictness for Task Sets Scheduled with FP , 2012, 2012 24th Euromicro Conference on Real-Time Systems.

[63]  Fernando Henrique Ataíde,et al.  AUTomotive Open System Architecture - concepts, benefits and challenges , 2007 .