Lune

RTSS2023Top-tier venue

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 Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. 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
  2. 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
  3. 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
  4. 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
  5. Jitter Propagation in Task ChainsShumo Wang, Enrico Bini, Qingxu Deng, Martina MaggioRTSS 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines