arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.09061cs.DC
收藏

消除调度具有释放抖动的周期性分段自挂起任务时的时间异常

Eliminating Timing Anomalies in Scheduling Periodic Segmented Self-Suspending Tasks with Release Jitter

Ching-Chi Lin, Mario Günzel, Junjie Shi, Tristan Taylan Seidl, Kuan-Hsun Chen, Jian-Jia Chen

AI总结:

针对带释放抖动的周期性分段自挂起任务,本文提出分段释放时间强制与分段优先级修改两种机制,以消除时间异常并保持 WCRT 分析精度,实验和 RTEMS 实现验证了其可调度性优势。

摘要:

在实时系统中,为每个单独任务确保时间保证至关重要。即使对于周期性任务,由于时间异常,即为某些作业减少执行或挂起时间反而会增加另一个作业的响应时间,为具有分段自挂起行为的任务提供时间保证也颇具挑战。任务的释放抖动会进一步增加情况的复杂性,影响实时系统的可预测性和时间保证。现有的针对零星自挂起任务的最坏情况响应时间分析仅仅是过近似,并导致过于悲观的结果。在本工作中,我们在调度具有释放抖动的周期性分段自挂起任务时,在不损害最坏情况响应时间(WCRT)分析的前提下处理时间异常。我们提出两种处理方法:分段释放时间强制和分段优先级修改,并证明它们在消除时间异常方面的有效性。我们的评估表明,与最先进的调度算法相比,所提出的处理方法在可调度性方面实现了更高的接受率。此外,我们在 RTEMS 上实现了分段级固定优先级调度机制,并验证了分段优先级修改处理方法的有效性。本工作扩展了我们此前发表于第29届 IEEE 实时与嵌入式技术及应用研讨会(RTAS 2023)的会议论文,该论文仅考虑没有释放抖动的周期性分段自挂起任务。

英文摘要:

Ensuring timing guarantees for every individual tasks is critical in real-time systems. Even for periodic tasks, providing timing guarantees for tasks with segmented self-suspending behavior is challenging due to timing anomalies, i.e., the reduction of execution or suspension time of some jobs increases the response time of another job. The release jitter of tasks can add further complexity to the situation, affecting the predictability and timing guarantees of real-time systems. The existing worst-case response time analyses for sporadic self-suspending tasks are only over-approximations and lead to overly pessimistic results. In this work, we address timing anomalies without compromising the worst-case response time (WCRT) analysis when scheduling periodic segmented self-suspending tasks with release jitter. We propose two treatments: segment release time enforcement and segment priority modification, and prove their effectiveness in eliminating timing anomalies. Our evaluation demonstrates that the proposed treatments achieve higher acceptance ratios in terms of schedulability compared to state-of-the-art scheduling algorithms. Additionally, we implement the segment-level fixed-priority scheduling mechanism on RTEMS and verify the validity of our segment priority modification treatment. This work expands our previous conference publication at the 29th IEEE Real-Time and Embedded Technology and Applications Symposium (RTAS 2023), which considers only periodic segmented self-suspending tasks without release jitter.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑