F2VD: Fluid Rates to Virtual Deadlines for Precise Mixed-Criticality Scheduling on a Varying-Speed Processor

Increasingly complex and integrated systems design has led to more timing uncertainty, which may result in pessimism in time-sensitive system design and analysis. To mitigate such pessimism, mixed-criticality (MC) design for real-time systems has been proposed, where highly critical tasks, often with extremely pessimistic execution time estimates, can share the processor with less critical ones in a manner that the latter is sacrificed, completely or partially, to guarantee temporal correctness to the former, when the extremely pessimistic scenario does happen. In contrast to such sacrifice of tasks, the precise MC scheduling model has recently been investigated, where all tasks, including less critical ones, must fully complete their execution in all circumstances. Meanwhile, the processor may operate at a degraded speed when the tasks' runtime behaviors are far from the extreme pessimistic estimates and would recover to the full processing speed once the extremely pessimistic scenario does happen. This paper presents a generalized fluid-scheduling-based solution to this problem, where feasible fluid-scheduling rates for each task are derived from an optimization problem. Furthermore, this paper proposes a novel algorithm F2VD for setting virtual deadlines from any feasible fluid rates, such that any fluid-scheduling-based solution can be converted to a deadline-based scheduling approach with no schedulability loss, where the latter is generally considered much more practical and easier to implement. Experimental studies based on randomly generated task sets are conducted to verify the theoretical results as well as the effectiveness of the proposed algorithms.

[1]  Wang Yi,et al.  Improving the Scheduling of Certifiable Mixed-Criticality Sporadic Task Systems , 2013 .

[2]  Insup Lee,et al.  MC-Fluid: Fluid Model-Based Mixed-Criticality Scheduling on Multiprocessors , 2014, 2014 IEEE Real-Time Systems Symposium.

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

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

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

[6]  Alan Burns,et al.  Scheduling Mixed-Criticality Systems to Guarantee Some Service under All Non-erroneous Behaviors , 2016, 2016 28th Euromicro Conference on Real-Time Systems (ECRTS).

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

[8]  Haoyi Xiong,et al.  Energy-Efficient Real-Time Scheduling of DAG Tasks , 2018, ACM Trans. Embed. Comput. Syst..

[9]  Sanjoy K. Baruah,et al.  Mixed-Criticality Scheduling upon Varying-Speed Processors , 2013, 2013 IEEE 34th Real-Time Systems Symposium.

[10]  Marco Di Natale,et al.  Mixed Criticality Systems - A History of Misconceptions? , 2016, IEEE Des. Test.

[11]  Lothar Thiele,et al.  Exploring Energy Saving for Mixed-Criticality Systems on Multi-Cores , 2016, 2016 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).

[12]  Haoyi Xiong,et al.  22 : 2 Energy-Efficient Multi-Core Scheduling for Real-Time , 2017 .

[13]  Steve Vestal,et al.  Preemptive Scheduling of Multi-criticality Systems with Varying Degrees of Execution Time Assurance , 2007, 28th IEEE International Real-Time Systems Symposium (RTSS 2007).

[14]  Eduardo Tovar,et al.  How realistic is the mixed-criticality real-time system model? , 2015, RTNS.

[15]  Sajal K. Das,et al.  Uniprocessor Mixed-Criticality Scheduling with Graceful Degradation by Completion Rate , 2018, 2018 IEEE Real-Time Systems Symposium (RTSS).

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

[17]  Sanjoy K. Baruah,et al.  The Federated Scheduling of Systems of Mixed-Criticality Sporadic DAG Tasks , 2016, 2016 IEEE Real-Time Systems Symposium (RTSS).

[18]  Abusayeed Saifullah,et al.  Energy-Efficient Real-Time Scheduling of DAGs on Clustered Multi-Core Platforms , 2019, 2019 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).

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

[20]  Chenyang Lu,et al.  Mixed-criticality federated scheduling for parallel real-time tasks , 2016, 2016 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).

[21]  Nan Guan,et al.  Energy-Efficient Parallel Real-Time Scheduling on Clustered Multi-Core , 2020, IEEE Transactions on Parallel and Distributed Systems.

[22]  Sanjoy K. Baruah,et al.  Scheduling Mixed-Criticality Implicit-Deadline Sporadic Task Systems upon a Varying-Speed Processor , 2014, 2014 IEEE Real-Time Systems Symposium.

[23]  Joël Goossens,et al.  Quantifying Energy Consumption for Practical Fork-Join Parallelism on an Embedded Real-Time Operating System , 2016, RTNS.

[24]  Zhishan Guo,et al.  EDF Schedulability Analysis on Mixed-Criticality Systems with Permitted Failure Probability , 2015, 2015 IEEE 21st International Conference on Embedded and Real-Time Computing Systems and Applications.

[25]  Nan Guan,et al.  Mixed-Criticality Multicore Scheduling of Real-Time Gang Task Systems , 2019, 2019 IEEE Real-Time Systems Symposium (RTSS).

[26]  Haoyi Xiong,et al.  Energy-Efficient Multi-Core Scheduling for Real-Time DAG Tasks , 2017, ECRTS.

[27]  Nathan Fisher,et al.  Power minimization for parallel real-time systems with malleable jobs and homogeneous frequencies , 2014, 2014 IEEE 20th International Conference on Embedded and Real-Time Computing Systems and Applications.

[28]  Zhishan Guo,et al.  Precise scheduling of mixed-criticality tasks by varying processor speed , 2019, RTNS.

[29]  James W. Layland,et al.  Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment , 1989, JACM.

[30]  Sanjoy K. Baruah,et al.  The concurrent consideration of uncertainty in WCETs and processor speeds in mixed-criticality systems , 2015, RTNS.

[31]  Lothar Thiele,et al.  Energy efficient DVFS scheduling for mixed-criticality systems , 2014, 2014 International Conference on Embedded Software (EMSOFT).

[32]  Sanjoy Baruah Mixed-Criticality Scheduling Theory: Scope, Promise, and Limitations , 2018, IEEE Design & Test.

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

[34]  Sanjoy K. Baruah,et al.  MC-Fluid: Simplified and Optimally Quantified , 2015, 2015 IEEE Real-Time Systems Symposium.

[35]  Alan Burns,et al.  A Survey of Research into Mixed Criticality Systems , 2017, ACM Comput. Surv..