Mixed-criticality real-time scheduling of gang task systems

Mixed-criticality (MC) scheduling of sequential tasks (with no intratask parallelism) has been well-explored by the real-time systems community. However, till date, there has been little progress on MC scheduling of parallel tasks. MC scheduling of parallel tasks is highly challenging due to the requirement of various assurances under different criticality levels. In this work, we address the MC scheduling of parallel tasks of gang model that allows workloads to execute on multiple cores simultaneously, as well as the change to degree of parallelism of a task upon a mode switch. It represents an efficient mode-based parallel processing scheme with many potential applications. To schedule such task sets, we propose a new technique GEDF-VD, which integrates Global Earliest Deadline First (GEDF) and Earliest Deadline First with Virtual Deadline (EDF-VD). We prove the correctness of GEDF-VD and Ashikahmed Bhuiyan University of Central Florida E-mail: ashik@knights.ucf.edu Kecheng Yang Texas State University E-mail: yangk@txstate.edu Samsil Arefin Microsoft New England Research and Development Center E-mail: Samsil.Arefin@microsoft.com Abusayeed Saifullah Wayne State University E-mail: saifullah@wayne.edu Nan Guan The Hong Kong Polytechnic University E-mail: nan.guan@polyu.edu.hk Zhishan Guo University of Central Florida E-mail: zsguo@ucf.edu * = Corresponding author 2 Ashikahmed Bhuiyan et al. provide a detailed quantitative evaluation in terms of speedup bound in both the MC and the non-MC cases. Specifically, we show that GEDF provides a speedup bound of 2 for non-MC gang tasks, while the speedup for GEDF-VD considering MC gang tasks is √ 5+1. Experiments on randomly generated gang task sets are conducted to validate our theoretical findings and to demonstrate the effectiveness of the proposed approach.

[1]  Wu-chun Feng,et al.  Inter-block GPU communication via fast barrier synchronization , 2010, 2010 IEEE International Symposium on Parallel & Distributed Processing (IPDPS).

[2]  Larry Rudolph,et al.  Gang Scheduling Performance Benefits for Fine-Grain Synchronization , 1992, J. Parallel Distributed Comput..

[3]  Joël Goossens,et al.  Optimal Scheduling of Periodic Gang Tasks , 2016, Leibniz Trans. Embed. Syst..

[4]  Björn Andersson,et al.  Analyzing Global-EDF for Multiprocessor Scheduling of Parallel Tasks , 2012, OPODIS.

[5]  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).

[6]  Rolf Ernst,et al.  Efficient Latency Guarantees for Mixed-Criticality Networks-on-Chip , 2017, 2017 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).

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

[8]  Javier Castillo,et al.  Platform based on open-source cores for industrial applications , 2004, Proceedings Design, Automation and Test in Europe Conference and Exhibition.

[9]  Sebastian Stiller,et al.  Feasibility Analysis in the Sporadic DAG Task Model , 2013, 2013 25th Euromicro Conference on Real-Time Systems.

[10]  C. Gill,et al.  Analysis of Global EDF for Parallel Tasks , 2013 .

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

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

[13]  Björn Döbel,et al.  Operating system support for redundant multithreading , 2012, EMSOFT '12.

[14]  Shinpei Kato,et al.  Gang EDF Scheduling of Parallel Task Systems , 2009, 2009 30th IEEE Real-Time Systems Symposium.

[15]  Parosh Aziz Abdulla Scheduling of mixed-criticality real-time systems , 2012 .

[16]  Michael Engel,et al.  The Reliable Computing Base - A Paradigm for Software-based Reliability , 2012, GI-Jahrestagung.

[17]  Rolf Ernst,et al.  Replica-Aware Co-Scheduling for Mixed-Criticality , 2017, ECRTS.

[18]  Lothar Thiele,et al.  Implementation of Partitioned Mixed-Criticality Scheduling on a Multi-Core Platform , 2017, ACM Trans. Embed. Comput. Syst..

[19]  Zheng Dong,et al.  Analysis Techniques for Supporting Hard Real-Time Sporadic Gang Task Systems , 2017, 2017 IEEE Real-Time Systems Symposium (RTSS).

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

[21]  John K. Ousterhout,et al.  Scheduling Techniques for Concurrent Systems , 1982, ICDCS.

[22]  Kristin Decker Parallel Processing The Cm Experience , 2016 .

[23]  Nicola Capodieci,et al.  Deadline-Based Scheduling for GPU with Preemption Support , 2018, 2018 IEEE Real-Time Systems Symposium (RTSS).

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

[25]  Chenyang Lu,et al.  Analysis of Federated and Global Scheduling for Parallel Real-Time Tasks , 2014, 2014 26th Euromicro Conference on Real-Time Systems.

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

[27]  James H. Anderson,et al.  GPUSync: A Framework for Real-Time GPU Management , 2013, 2013 IEEE 34th Real-Time Systems Symposium.

[28]  Eduardo Tovar,et al.  Semi-partitioned Mixed-Criticality Scheduling , 2017, ARCS.

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

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

[31]  William Fornaciari,et al.  Optimizing Energy in Non-Preemptive Mixed-Criticality Scheduling by Exploiting Probabilistic Information , 2020, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

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

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

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

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

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

[37]  Helen D. Karatza,et al.  Scheduling real-time parallel applications in SaaS clouds in the presence of transient software failures , 2016, 2016 International Symposium on Performance Evaluation of Computer and Telecommunication Systems (SPECTS).

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

[39]  Sathish Gopalakrishnan,et al.  Isochronous Execution Models for High-Assurance Real-Time Systems , 2019, 2019 IEEE 19th International Symposium on High Assurance Systems Engineering (HASE).

[40]  Marco Spuri,et al.  Efficient aperiodic service under earliest deadline scheduling , 1994, 1994 Proceedings Real-Time Systems Symposium.

[41]  Zonghua Gu,et al.  Partitioned multiprocessor scheduling of mixed-criticality parallel jobs , 2014, 2014 IEEE 20th International Conference on Embedded and Real-Time Computing Systems and Applications.

[42]  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).

[43]  Joël Goossens,et al.  Gang FTP scheduling of periodic and parallel rigid real-time tasks , 2010, ArXiv.

[44]  Sanjoy K. Baruah,et al.  Multiprocessor Scheduling for Real-Time Systems , 2015, Embedded Systems.

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

[46]  Bhuiyan Ashik ahmed,et al.  Mixed-Criticality Multicore Scheduling of Real-Time Gang Task Systems , 2019 .

[47]  Ming Yang,et al.  Making OpenVX Really "Real Time" , 2018, 2018 IEEE Real-Time Systems Symposium (RTSS).

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