Efficient Feasibility Analysis for Graph-Based Real-Time Task Systems

The demand bound function (DBF) is a powerful abstraction to analyze the feasibility/schedulability of real-time tasks. Computing the DBF for expressive system models, such as graph-based tasks, is typically very expensive. In this article, we develop new techniques to drastically improve the DBF computation efficiency for a representative graph-based task model, digraph real-time tasks (DRT). First, we apply the well-known quick processor-demand analysis (QPA) technique, which was originally designed for simple sporadic tasks, to the analysis of DRT. The challenge is that existing analysis techniques of DRT have to compute the demand for each possible interval size, which is contradictory to the idea of QPA that aims to aggressively skip the computation for most interval sizes. To solve this problem, we develop a novel integer linear programming (ILP)-based analysis technique for DRT, to which we can apply QPA to significantly improve the analysis efficiency. Second, we improve the task utilization computation (a major step in DBF computation for DRT) efficiency from pseudo-polynomial complexity to polynomial complexity. Experiments show that our approach can improve the analysis efficiency by dozens of times.

[1]  Liliana Cucu-Grosjean,et al.  Schedulability analysis of dependent probabilistic real-time tasks , 2016, RTNS '16.

[2]  Wang Yi,et al.  Delay analysis of structural real-time workload , 2015, 2015 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[3]  Nan Guan,et al.  Feasibility of Fork-Join Real-Time Task Graph Models: Hardness and Algorithms , 2016, TECS.

[4]  Wang Yi,et al.  Graph-based models for real-time workload: a survey , 2015, Real-Time Systems.

[5]  Wang Yi,et al.  Combinatorial Abstraction Refinement for Feasibility Analysis , 2013, 2013 IEEE 34th Real-Time Systems Symposium.

[6]  Wang Yi,et al.  An Executable Semantics for Synchronous Task Graphs: From SDRT to Ada , 2017, Ada-Europe.

[7]  Wang Yi,et al.  The Digraph Real-Time Task Model , 2011, 2011 17th IEEE Real-Time and Embedded Technology and Applications Symposium.

[8]  Wang Yi,et al.  Synthesis of ada code from graph-based task models , 2017, SAC.

[9]  Wang Yi,et al.  Approximate Response Time Analysis of Real-Time Task Graphs , 2014, 2014 IEEE Real-Time Systems Symposium.

[10]  Wang Yi,et al.  Schedulability Analysis of Synchronous Digraph Real-Time Tasks , 2016, 2016 28th Euromicro Conference on Real-Time Systems (ECRTS).

[11]  Wang Yi,et al.  Modeling and Analysis of Data Flow Graphs Using the Digraph Real-Time Task Model , 2016, Ada-Europe.

[12]  Pierre Boulet,et al.  The Parallel Multi-Mode Digraph Task Model for Energy-Aware Real-Time Heterogeneous Multi-Core Systems , 2019, IEEE Transactions on Computers.

[13]  Wang Yi,et al.  On the Tractability of Digraph-Based Task Models , 2011, 2011 23rd Euromicro Conference on Real-Time Systems.

[14]  Sanjoy K. Baruah,et al.  Generalized Multiframe Tasks , 1999, Real-Time Systems.

[15]  Wang Yi,et al.  Resource Sharing Protocols for Real-Time Task Graph Systems , 2011, 2011 23rd Euromicro Conference on Real-Time Systems.

[16]  Li Zhang,et al.  Schedulability Analysis of Real-time Tasks with Precedence Constraints , 2018, SEKE.

[17]  Sanjoy K. Baruah The Non-cyclic Recurring Real-Time Task Model , 2010, 2010 31st IEEE Real-Time Systems Symposium.

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

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

[20]  Xiaojie Guo,et al.  A Generalized Digraph Model for Expressing Dependencies , 2018, RTNS.

[21]  Wang Yi,et al.  Hardness Results for Static Priority Real-Time Scheduling , 2012, 2012 24th Euromicro Conference on Real-Time Systems.

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

[23]  Wang Yi,et al.  Task automata: Schedulability, decidability and undecidability , 2007, Inf. Comput..

[24]  Wang Yi,et al.  Refinement-Based Exact Response-Time Analysis , 2014, 2014 26th Euromicro Conference on Real-Time Systems.

[25]  Wang Yi,et al.  Transforming Real-Time Task Graphs to Improve Schedulability , 2016, 2016 IEEE 22nd International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA).

[26]  Wang Yi,et al.  Schedulability analysis of a graph-based task model for mixed-criticality systems , 2015, Real-Time Systems.

[27]  Sanjoy K. Baruah,et al.  Dynamic- and Static-priority Scheduling of Recurring Real-time Tasks , 2004, Real-Time Systems.

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

[29]  Wang Yi,et al.  Schedulability Analysis and Software Synthesis for Graph-Based Task Models with Resource Sharing , 2018, 2018 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).

[30]  Pierre Boulet,et al.  Modeling Parallel Real-time Tasks with Di-Graphs , 2016, RTNS.

[31]  Alan Burns,et al.  Schedulability Analysis for Real-Time Systems with EDF Scheduling , 2009, IEEE Transactions on Computers.

[32]  Haibo Zeng,et al.  Outstanding Paper Award: Using Max-Plus Algebra to Improve the Analysis of Non-cyclic Task Models , 2013, 2013 25th Euromicro Conference on Real-Time Systems.

[33]  Aloysius K. Mok,et al.  A multiframe model for real-time tasks , 1996, 17th IEEE Real-Time Systems Symposium.

[34]  BurnsAlan,et al.  Schedulability Analysis for Real-Time Systems with EDF Scheduling , 2009 .