Generalized and Scalable Offset-Based Response Time Analysis of Fixed Priority Systems

Abstract Offset-based response time analysis techniques obtain tight worst-case response time (WCRT) bounds by accounting release time dependencies between tasks. The maximum response time variation of a task or a message (i.e., the difference between the worst-case and best-case response time) is used to compute the end-to-end delays of distributed systems (Palencia and Harbour, 1998), (Tindell and Clark, 1994). Hence, the WCRT evaluation plays an important role in determining tight end-to-end delays of distributed systems. In real-time theory, there exist two approaches for computing the WCRT of a task: the classical response time analysis (RTA) approach and the modular performance analysis with the Real-Time Calculus (MPA-RTC). MPA-RTC has its roots in Network Calculus (NC). MPA-RTC offers more powerful abstraction than RTA based techniques and allows composition in terms of tasks, event streams, and resource sharing which makes it a strong candidate to analyze distributed systems (Wandeler, 2006), (Perathoner, 2011). However, one of the key limitations of the MPA-RTC is its inability to handle offset dependencies between tasks, whereas the classical RTA techniques can handle them. In this paper, we propose a method to consider offset dependencies between tasks using an MPA-RTC framework for a fixed priority scheduler in a uniprocessor system. Hence, our approach leverages the advantages of the expressive MPA-RTC framework model. We propose novel heuristics and approximation to reduce the inherent complexity of an offset-based RTA. We quantitatively evaluate the effectiveness of our approach to the state-of-the-art classical offset-based RTA techniques.

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

[2]  Robert I. Davis,et al.  Controller Area Network (CAN): Response time analysis with offsets , 2012, 2012 9th IEEE International Workshop on Factory Communication Systems.

[3]  Frank Slomka,et al.  Generalizing Response-Time Analysis , 2010, 2010 IEEE 16th International Conference on Embedded and Real-Time Computing Systems and Applications.

[4]  Ernesto Wandeler,et al.  Modular performance analysis and interface based design for embedded real time systems , 2006 .

[5]  Alan Burns,et al.  On Fixed Priority Scheduling, Offsets and Co-Prime Task Periods , 1998, Inf. Process. Lett..

[6]  Jun Sun,et al.  Bounding the end-to-end response times of tasks in a distributed real-time system using the direct synchronization protocol , 1996 .

[7]  Christian Fraboul,et al.  Improving end-to-end delay upper bounds on an AFDX network by integrating offsets in worst-case analysis , 2010, 2010 IEEE 15th Conference on Emerging Technologies & Factory Automation (ETFA 2010).

[8]  Jukka Mäki-Turja,et al.  Fast and tight response-times for tasks with offsets , 2005, 17th Euromicro Conference on Real-Time Systems (ECRTS'05).

[9]  Jean-Yves Le Boudec,et al.  Network Calculus , 2001, Lecture Notes in Computer Science.

[10]  Raymond R. Devillers,et al.  Feasibility intervals for the deadline driven scheduler with arbitrary deadlines , 1999, Proceedings Sixth International Conference on Real-Time Computing Systems and Applications. RTCSA'99 (Cat. No.PR00306).

[11]  Qiao Li,et al.  Improving Worst-Case Latency Analysis for Rate-Constrained Traffic in the Time-Triggered Ethernet Network , 2014, IEEE Communications Letters.

[12]  Giuseppe Lipari,et al.  Feasibility Analysis of Real-Time Periodic Tasks with Offsets , 2005, Real-Time Systems.

[13]  Christian Fraboul,et al.  Partially Synchronizing Periodic Flows with Offsets Improves Worst-Case End-to-End Delay Analysis of Switched Ethernet , 2010, ISoLA.

[14]  Lei Du,et al.  Worst Case Response time analysis for CAN messages with offsets , 2009, 2009 IEEE International Conference on Vehicular Electronics and Safety (ICVES).

[15]  Joseph Y.-T. Leung,et al.  On the complexity of fixed-priority scheduling of periodic, real-time tasks , 1982, Perform. Evaluation.

[16]  Rolf Ernst,et al.  Improved offset-analysis using multiple timing-references , 2006, Proceedings of the Design Automation & Test in Europe Conference.

[17]  Wang Yi,et al.  Finitary Real-Time Calculus: Efficient Performance Analysis of Distributed Embedded Systems , 2013, 2013 IEEE 34th Real-Time Systems Symposium.

[18]  J. Leung,et al.  A Note on Preemptive Scheduling of Periodic, Real-Time Tasks , 1980, Inf. Process. Lett..

[19]  Simon Perathoner,et al.  Modular performance analysis of embedded real-time systems: improving modeling scope and accuracy , 2011 .

[20]  Kai Richter,et al.  Compositional scheduling analysis using standard event models , 2004 .

[21]  Michael González Harbour,et al.  Schedulability analysis for tasks with static and dynamic offsets , 1998, Proceedings 19th IEEE Real-Time Systems Symposium (Cat. No.98CB36279).

[22]  John P. Lehoczky,et al.  Fixed priority scheduling of periodic task sets with arbitrary deadlines , 1990, [1990] Proceedings 11th Real-Time Systems Symposium.

[23]  Raymond R. Devillers,et al.  The Non-Optimality of the Monotonic Priority Assignments for Hard Real-Time Offset Free Systems , 1997, Real-Time Systems.

[24]  Emmanuel Grolleau,et al.  Response-Time Analysis of tasks with offsets , 2006, 2006 IEEE Conference on Emerging Technologies and Factory Automation.

[25]  Michael González Harbour,et al.  Offset-based response time analysis of distributed systems scheduled under EDF , 2003, 15th Euromicro Conference on Real-Time Systems, 2003. Proceedings..

[26]  Martin Törngren,et al.  Calculating exact worst case response times for static priority scheduled tasks with offsets and jitter , 2002, Proceedings. Eighth IEEE Real-Time and Embedded Technology and Applications Symposium.

[27]  Marc Boyer,et al.  Combining network calculus and scheduling theory to improve delay bounds , 2012, RTNS '12.

[28]  Mikael Sjödin,et al.  Extending offset-based response-time analysis for mixed messages in Controller Area Network , 2013, 2013 IEEE 18th Conference on Emerging Technologies & Factory Automation (ETFA).

[29]  Raymond R. Devillers,et al.  General Response Time Computation for the Deadline Driven Scheduling of Periodic Tasks , 1999, Fundam. Informaticae.

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

[31]  José Rufino,et al.  Response Time Analysis of Asynchronous Periodic and Sporadic Tasks Sheduled by a Fixed Priority Preemptive Algorithm , 2008, 2008 Euromicro Conference on Real-Time Systems.

[32]  Guy Juanole,et al.  Near-Optimal Fixed Priority Preemptive Scheduling of Offset Free Systems , 2006 .

[33]  Emmanuel Grolleau,et al.  Minimal schedulability interval for real-time systems of periodic tasks with offsets , 2004, Theor. Comput. Sci..

[34]  Marc Boyer,et al.  Traversal time for weakly synchronized CAN bus , 2016, RTNS '16.

[35]  Klaus Gresser,et al.  An Event Model for Deadline Verification of Hard Real-Time Systems , 1993, Fifth Euromicro Workshop on Real-Time Systems.