Optimizing End-to-End Latency of Sporadic Cause-Effect Chains Using Priority Inheritance
Yue Tang, Xu Jiang, Nan Guan, Songran Liu, Xiantong Luo, Wang Yi
Abstract
Analysis and optimization of end-to-end latency in cause-effect chains is an important problem in real-time systems. Under task-level fixed-priority scheduling, the end-to-end latency largely relies on the relative priority of the tasks in the chain, so previous work has tried to improve the latency via priority assignment. However, the improvement of static priority assignment is limited due to the conflict between schedulability of individual tasks and end-to-end latency of the chain, i.e., a priority assignment leading to good end-to-end latency may make the task set unschedulable. This work proposes a novel method named Dynamic Priority Inheritance Protocol (DPI) to optimize the end-to-end latency of sporadic cause-effect chains. Under DPI, the propagation delay between two communicating jobs is independent of the task relative priority. So the optimization can work on any priority assignment, and no longer conflicts with task schedulability. Moreover, we propose DPI-B, a combination of DPI and a Buffer Manipulation Protocol, for cause-effect chains that also need to meet the determinism requirement. We conduct experiments with both automotive benchmarks and randomly generated workload. The results show the effectiveness of our method in comparison with the state-of-the-art.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Related papers
- A Real-Time CAN-CAN Gateway with Tight Latency Analysis and Targeted Priority AssignmentGuoqi Xie, Haijie Gong, Yunbo Han, Samarjit Chakraborty et al.RTSS 2020 · 12 citations
- Predictable Memory-CPU Co-Scheduling with Support for Latency-Sensitive TasksDaniel Casini, Paolo Pazzaglia, Alessandro Biondi, Marco Di Natale et al.DAC 2020 · 13 citations
- Priority Optimization for Autonomous Driving Systems to Meet End-to-End Latency ConstraintsXisheng Li, Ye Ma, Yuting Chen, Jinghao Sun et al.RTSS 2024 · 3 citations
- Edge-RT: OS Support for Controlled Latency in the Multi-Tenant, Real-Time EdgeWenyuan Shao, Bite Ye, Huachuan Wang, Gabriel Parmer et al.RTSS 2022 · 6 citations
- Jitter Propagation in Task ChainsShumo Wang, Enrico Bini, Qingxu Deng, Martina MaggioRTSS 2025 · 1 citation
