End-to-End Timing Analysis of Sporadic Cause-Effect Chains in Distributed Systems

A cause-effect chain is used to define the logical order of data dependent tasks, which is independent from the execution order of the jobs of the (periodic/sporadic) tasks. Analyzing the worst-case End-to-End timing behavior, associated to a cause-effect chain, is an important problem in embedded control systems. For example, the detailed timing properties of modern automotive systems are specified in the AUTOSAR Timing Extensions. In this paper, we present a formal End-to-End timing analysis for distributed systems. We consider the two most important End-to-End timing semantics, i.e., the button-to-action delay (termed as the maximum reaction time) and the worst-case data freshness (termed as the maximum data age). Our contribution is significant due to the consideration of the sporadic behavior of job activations, whilst the results in the literature have been mostly limited to periodic activations. The proof strategy shows the (previously unexplored) connection between the reaction time (data age, respectively) and immediate forward (backward, respectively) job chains. Our analytical results dominate the state of the art for sporadic task activations in distributed systems and the evaluations show a clear improvement for synthesized task systems as well as for a real world automotive benchmark setting.

[1]  Jukka Mäki-Turja,et al.  Translating end-to-end timing requirements to timing analysis model in component-based distributed real-time systems , 2012, SIGBED.

[2]  Dakshina Dasari,et al.  Communication Centric Design in Complex Automotive Embedded Systems , 2017, ECRTS.

[3]  John P. Lehoczky,et al.  The rate monotonic scheduling algorithm: exact characterization and average case behavior , 1989, [1989] Proceedings. Real-Time Systems Symposium.

[4]  Thomas Nolte,et al.  A generic framework facilitating early analysis of data propagation delays in multi-rate systems (Invited paper) , 2017, 2017 IEEE 23rd International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA).

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

[6]  Jian-Jia Chen,et al.  Parametric utilization bounds for implicit-deadline periodic tasks in automotive systems , 2017, RTNS.

[7]  Yves Sorel,et al.  Latency analysis for data chains of real-time periodic tasks , 2018, 2018 IEEE 23rd International Conference on Emerging Technologies and Factory Automation (ETFA).

[8]  Jian-Jia Chen,et al.  Schedulability and optimization analysis for non-preemptive static priority scheduling based on task utilization and blocking factors , 2015, 2015 27th Euromicro Conference on Real-Time Systems.

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

[10]  Nico Feiertag,et al.  A Compositional Framework for End-to-End Path Delay Calculation of Automotive Systems under Different Path Semantics , 2008, RTSS 2009.

[11]  John A. Clark,et al.  Holistic schedulability analysis for distributed hard real-time systems , 1994, Microprocess. Microprogramming.

[12]  Jukka Mäki-Turja,et al.  Implementation of end-to-end latency analysis for component-based multi-rate real-time systems in Rubus-ICE , 2012, 2012 9th IEEE International Workshop on Factory Communication Systems.

[13]  Alberto L. Sangiovanni-Vincentelli,et al.  Period Optimization for Hard Real-time Distributed Automotive Systems , 2007, 2007 44th ACM/IEEE Design Automation Conference.

[14]  Rolf Ernst,et al.  Response-Time Analysis for Task Chains in Communicating Threads , 2016, 2016 IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS).

[15]  Thomas Nolte,et al.  MECHAniSer - A Timing Analysis and Synthesis Tool for Multi-Rate Effect Chains with Job-Level Dependencies , 2016 .

[16]  Frédéric Boniol,et al.  Verifying end-to-end real-time constraints on multi-periodic models , 2017, 2017 22nd IEEE International Conference on Emerging Technologies and Factory Automation (ETFA).

[17]  Alan Burns,et al.  Preemptive priority-based scheduling: an appropriate engineering approach , 1995 .

[18]  Albert Benveniste,et al.  A Protocol for Loosely Time-Triggered Architectures , 2002, EMSOFT.

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

[20]  Thomas Nolte,et al.  Synthesizing Job-Level Dependencies for Automotive Multi-rate Effect Chains , 2016, 2016 IEEE 22nd International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA).

[21]  A. C. Rajeev,et al.  Schedulability and end-to-end latency in distributed ECU networks: formal modeling and precise estimation , 2010, EMSOFT '10.

[22]  Hermann Kopetz,et al.  Real-time systems , 2018, CSC '73.

[23]  Alain Girault,et al.  Improving and Estimating the Precision of Bounds on the Worst-Case Latency of Task Chains , 2018, IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems.

[24]  Matthias Becker,et al.  Data Propagation Delay Constraints in Multi-Rate Systems: Deadlines vs. Job-Level Dependencies , 2018, RTNS.