Real-Time Scheduling of Mixed-Critical Workloads upon Platforms with Uncertainties

ZHISHAN GUO : Real-Time Scheduling of Mixed-Critical Workloads upon Platforms with Uncertainties (Under the direction of Sanjoy K. Baruah) In designing safety-critical real-time systems, there is an emerging trend in moving towards mixed-criticality (MC), where functionalities with different degrees of importance (i.e., criticality) are implemented upon a shared platform. Since 2007, there has been a large amount of research in MC scheduling, most of which considers the Vestal Model. In this model, all kinds of uncertainties in the system are characterized into the workloads by assuming multiple worst-case execution time (WCET) estimations for each execution (of a piece of code). However, uncertainties of estimations may arise from different aspects (instead of WCET only), especially upon more widely used commercial-off-the-shelf (COTS) hardware that typically provides good average-case performance rather than worst-case guarantees. This dissertation addresses two questions fundamental to the modeling and analyzing of such MC real-time systems: (i) Can Vestal model be used to describe all kinds of uncertainties at no significant analytical capacity loss? (ii) If not, can new mechanisms be developed with better performances over existing ones (in MC scheduling theory), under certain assumptions? To answer these questions, we first investigate the Vestal model carefully. We propose a new algorithm (named LE-EDF) which dominates state-of-the-art schedulers for MC job scheduling. We also improve the understanding of certain existing algorithms by proving a better (and even optimal) speedup bound. We have found that by introducing the probabilistic WCET workload model into MC scheduling, the uncertain behaviors can be better characterized comparing to Vestal model in the sense of schedulability ratio via experiments.

[1]  Giorgio C. Buttazzo,et al.  Multi-moded Resource Reservations , 2011, 2011 17th IEEE Real-Time and Embedded Technology and Applications Symposium.

[2]  Cliff B. Jones,et al.  Developing methods for computer programs including a notion of interference , 1981 .

[3]  Qingshan Liu,et al.  A One-Layer Recurrent Neural Network for Pseudoconvex Optimization Subject to Linear Equality Constraints , 2011, IEEE Transactions on Neural Networks.

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

[5]  Liliana Cucu-Grosjean,et al.  Analysis of Probabilistic Cache Related Pre-emption Delays , 2013, 2013 25th Euromicro Conference on Real-Time Systems.

[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]  Bala Kalyanasundaram,et al.  Speed is as powerful as clairvoyance , 2000, JACM.

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

[9]  Sanjoy K. Baruah,et al.  Optimal utilization bounds for the fixed-priority scheduling of periodic task systems on identical multiprocessors , 2004, IEEE Transactions on Computers.

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

[11]  Alan Burns,et al.  Statistical analysis of WCET for scheduling , 2001, Proceedings 22nd IEEE Real-Time Systems Symposium (RTSS 2001) (Cat. No.01PR1420).

[12]  Jakob Engblom,et al.  The worst-case execution-time problem—overview of methods and survey of tools , 2008, TECS.

[13]  Jérôme Morio,et al.  On the Sustainability of the Extreme Value Theory for WCET Estimation , 2014, WCET.

[14]  Binoy Ravindran,et al.  An Optimal Real-Time Scheduling Algorithm for Multiprocessors , 2006, 2006 27th IEEE International Real-Time Systems Symposium (RTSS'06).

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

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

[17]  Giorgio C. Buttazzo,et al.  Measuring the Performance of Schedulability Tests , 2005, Real-Time Systems.

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

[19]  Qingshan Liu,et al.  A one-layer recurrent neural network for constrained pseudoconvex optimization and its application for dynamic portfolio optimization , 2012, Neural Networks.

[20]  David Blaauw,et al.  A power-efficient 32b ARM ISA processor using timing-error detection and correction for transient-error tolerance and adaptation to PVT variation , 2010, 2010 IEEE International Solid-State Circuits Conference - (ISSCC).

[21]  Xiang Zhang,et al.  Metric Learning from Relative Comparisons by Minimizing Squared Residual , 2012, 2012 IEEE 12th International Conference on Data Mining.

[22]  John P. Lehoczky,et al.  Quantized EDF scheduling in a stochastic environment , 2002, Proceedings 16th International Parallel and Distributed Processing Symposium.

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

[24]  Eugene L. Lawler,et al.  Optimal Sequencing of a Single Machine Subject to Precedence Constraints , 1973 .

[25]  Liliana Cucu-Grosjean,et al.  A Statistical Response-Time Analysis of Real-Time Embedded Systems , 2012, 2012 IEEE 33rd Real-Time Systems Symposium.

[26]  Liliana Cucu-Grosjean,et al.  Independence - a misunderstood property of and for probabilistic real-­‐time systems , 2013 .

[27]  Hans Kellerer,et al.  Knapsack problems , 2004 .

[28]  Sanjoy Baruah,et al.  Global mixed-criticality scheduling on multiprocessors , 2012 .

[29]  John P. Lehoczky Real-time queueing theory , 1996, 17th IEEE Real-Time Systems Symposium.

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

[31]  Alan Burns,et al.  Mixed Criticality on Controller Area Network , 2013, 2013 25th Euromicro Conference on Real-Time Systems.

[32]  Jane W.-S. Liu,et al.  Analyzing Stochastic Fixed-Priority Real-Time Systems , 1999, TACAS.

[33]  Zhishan Guo MC Scheduling on Varying-Speed Processors , 2015 .

[34]  David L. Aylor,et al.  Analyses of Allele-Specific Gene Expression in Highly Divergent Mouse Crosses Identifies Pervasive Allelic Imbalance , 2015, Nature Genetics.

[35]  Isabelle Puaut,et al.  Static determination of probabilistic execution times , 2004, Proceedings. 16th Euromicro Conference on Real-Time Systems, 2004. ECRTS 2004..

[36]  Giorgio Buttazzo,et al.  Hard Real-Time Computing Systems: Predictable Scheduling Algorithms and Applications , 1997 .

[37]  Liliana Cucu-Grosjean,et al.  PROARTIS: Probabilistically Analysable Real-Time Systems , 2012 .

[38]  Sanjoy Baruah,et al.  Mixed criticality schedulability analysis is highly intractable , 2009 .

[39]  Sanjoy Baruah,et al.  Scheduling Mixed-Criticality Workloads Upon Unreliable Processors , 2012 .

[40]  Aloysius K. Mok Task Management Techniques for Enforcing ED Scheduling on Periodic Task Set , 1988 .

[41]  Sanjoy Baruah,et al.  Mixed-criticality scheduling upon unreliable processors , 2013 .

[42]  Sanjoy K. Baruah,et al.  Mixed-Criticality Scheduling upon Varying-Speed Multiprocessors , 2014, 2014 IEEE 12th International Conference on Dependable, Autonomic and Secure Computing.

[43]  L. G. H. Cijan A polynomial algorithm in linear programming , 1979 .

[44]  Petru Eles,et al.  Schedulability analysis of applications with stochastic task execution times , 2004, TECS.

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

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

[47]  Sanjoy K. Baruah,et al.  Certification-cognizant scheduling of tasks with pessimistic frequency specification , 2012, 7th IEEE International Symposium on Industrial Embedded Systems (SIES'12).

[48]  Sanjoy K. Baruah,et al.  A Neurodynamic Approach for Real-Time Scheduling via Maximizing Piecewise Linear Utility , 2016, IEEE Transactions on Neural Networks and Learning Systems.

[49]  Scott A. Brandt,et al.  DP-Fair: a unifying theory for optimal hard real-time multiprocessor scheduling , 2011, Real-Time Systems.

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

[51]  Sanjoy K. Baruah,et al.  A Generalized Parallel Task Model for Recurrent Real-time Processes , 2012, 2012 IEEE 33rd Real-Time Systems Symposium.

[52]  L. Khachiyan Polynomial algorithms in linear programming , 1980 .

[53]  Joseph Y.-T. Leung,et al.  Handbook of Scheduling: Algorithms, Models, and Performance Analysis , 2004 .

[54]  Alessandra Melani,et al.  Learning from probabilities: Dependences within real-time systems , 2013, 2013 IEEE 18th Conference on Emerging Technologies & Factory Automation (ETFA).

[55]  Sanjoy K. Baruah,et al.  Proportionate progress: a notion of fairness in resource allocation , 1993, STOC '93.

[56]  R. Rajkumar,et al.  Optimal partitioning for quantized EDF scheduling , 2002, 23rd IEEE Real-Time Systems Symposium, 2002. RTSS 2002..

[57]  James H. Anderson,et al.  Adapting Pfair scheduling for symmetric multiprocessors , 2005, J. Embed. Comput..

[58]  Wei Cheng,et al.  Graph-regularized dual Lasso for robust eQTL mapping , 2014, Bioinform..

[59]  Narendra Karmarkar,et al.  A new polynomial-time algorithm for linear programming , 1984, Comb..

[60]  Fuchun Sun,et al.  Control Allocation of Flying-Wing with Multi-Effectors Based on T-S Fuzzy Model , 2011 .

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

[62]  Shui Lam,et al.  A Level Algorithm for Preemptive Scheduling , 1977, J. ACM.

[63]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[64]  Frank Slomka,et al.  An event stream driven approximation for the analysis of real-time systems , 2004, Proceedings. 16th Euromicro Conference on Real-Time Systems, 2004. ECRTS 2004..

[65]  Giorgio C. Buttazzo,et al.  Rate-adaptive tasks: Model, analysis, and design issues , 2014, 2014 Design, Automation & Test in Europe Conference & Exhibition (DATE).

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

[67]  Gabriel A. Moreno,et al.  Statistical-Based WCET Estimation and Validation , 2009, WCET.

[68]  David Blaauw,et al.  A Power-Efficient 32 bit ARM Processor Using Timing-Error Detection and Correction for Transient-Error Tolerance and Adaptation to PVT Variation , 2011, IEEE Journal of Solid-State Circuits.

[69]  Sanjoy K. Baruah,et al.  Outstanding Paper Award: Global Mixed-Criticality Scheduling on Multiprocessors , 2012, 2012 24th Euromicro Conference on Real-Time Systems.

[70]  Neil Audsley,et al.  Flexible Scheduling in Hard Real-Time Systems , 1993 .

[71]  Michael L. Dertouzos,et al.  Control Robotics: The Procedural Control of Physical Processes , 1974, IFIP Congress.

[72]  Frank Stajano,et al.  The Grenade Timer: Fortifying the Watchdog Timer Against Malicious Mobile Code , 2000 .

[73]  Friedrich Eisenbrand,et al.  EDF-schedulability of synchronous periodic task systems is coNP-hard , 2010, SODA '10.

[74]  Jane W.-S. Liu Real-Time Systems , 2000, Encyclopedia of Algorithms.

[75]  Guillem Bernat,et al.  pWCET: a Tool for Probabilistic Worst-Case Execution Time Analysis of Real-Time Systems , 2003 .

[76]  Jun Sun,et al.  Probabilistic performance guarantee for real-time tasks with varying computation times , 1995, Proceedings Real-Time Technology and Applications Symposium.

[77]  Liliana Cucu-Grosjean,et al.  Re-sampling for statistical timing analysis of real-time systems , 2012, RTNS '12.

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

[79]  Liliana Cucu-Grosjean,et al.  Response Time Analysis for Fixed-Priority Tasks with Multiple Probabilistic Parameters , 2013, 2013 IEEE 34th Real-Time Systems Symposium.

[80]  Reinhold Heckmann,et al.  Computing the Worst Case Execution Time of an Avionics Program by Abstract Interpretation , 2007 .

[81]  Sanjoy K. Baruah,et al.  Scheduling Real-Time Mixed-Criticality Jobs , 2010, IEEE Transactions on Computers.

[82]  Marius Bozga,et al.  Mixed Critical Earliest Deadline First , 2013, 2013 25th Euromicro Conference on Real-Time Systems.

[83]  Lothar Thiele,et al.  Resource adaptations with servers for hard real-time systems , 2010, EMSOFT '10.

[84]  Francisco J. Cazorla,et al.  DTM: Degraded Test Mode for Fault-Aware Probabilistic Timing Analysis , 2013, 2013 25th Euromicro Conference on Real-Time Systems.

[85]  Jan Karel Lenstra,et al.  Complexity of machine scheduling problems , 1975 .

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

[87]  Chang-Gun Lee,et al.  Stochastic analysis of periodic real-time systems , 2002, 23rd IEEE Real-Time Systems Symposium, 2002. RTSS 2002..

[88]  Kirk Pruhs,et al.  Non-Preemptive Min-Sum Scheduling with Resource Augmentation , 2007, 48th Annual IEEE Symposium on Foundations of Computer Science (FOCS'07).

[89]  Wei Cheng,et al.  Flexible and robust co-regularized multi-domain graph clustering , 2013, KDD.

[90]  Sanjoy Baruah,et al.  Mixed-Criticality Job Models: A Comparison , 2015 .

[91]  Zhishan Guo Mixed-Criticality Scheduling on Varying-Speed Platforms with Bounded Performance Drop Rate , 2016, 2016 IEEE International Conference on Smart Computing (SMARTCOMP).

[92]  Giorgio C. Buttazzo,et al.  Feasibility Analysis of Engine Control Tasks under EDF Scheduling , 2015, 2015 27th Euromicro Conference on Real-Time Systems.

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

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

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

[96]  Sanjoy K. Baruah,et al.  Uniprocessor EDF scheduling of AVR task systems , 2015, ICCPS.

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

[98]  Sanjoy K. Baruah,et al.  Response-time analysis of mixed criticality systems with pessimistic frequency specification , 2013, 2013 IEEE 19th International Conference on Embedded and Real-Time Computing Systems and Applications.

[99]  Edward A. Lee The Past, Present and Future of Cyber-Physical Systems: A Focus on Models , 2015, Sensors.

[100]  Giorgio C. Buttazzo,et al.  QoS guarantee using probabilistic deadlines , 1999, Proceedings of 11th Euromicro Conference on Real-Time Systems. Euromicro RTS'99.

[101]  Liliana Cucu-Grosjean,et al.  Measurement-Based Probabilistic Timing Analysis for Multi-path Programs , 2012, 2012 24th Euromicro Conference on Real-Time Systems.

[102]  Neil C. Audsley,et al.  On priority assignment in fixed priority scheduling , 2001, Inf. Process. Lett..

[103]  Damien Hardy,et al.  Static probabilistic worst case execution time estimation for architectures with faulty instruction caches , 2013, RTNS.

[104]  Alan Burns,et al.  Sustainable Scheduling Analysis , 2006, 2006 27th IEEE International Real-Time Systems Symposium (RTSS'06).

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

[106]  Alan Burns,et al.  Realism in Statistical Analysis of Worst Case Execution Times , 2010, WCET.