Towards Practical Multiprocessor EDF with Affinities
Stephen Tang, James H. Anderson
Abstract
A gap exists between the theory of EDF scheduling on identical multiprocessors with arbitrary processor affinities (APA) and practical EDF scheduling as embodied by the SCHED_DEADLINE (SD) scheduler in Linux. This is because the EDF variant proposed in theory for APA, called Strong APA EDF, introduces affinity-related complexities that are not applicable under global EDF, the original target of SD. SD instead treats affinities as a secondary concern. It is shown herein that this treatment comes at the price of causing SD to be fundamentally broken with regard to soft real-time (SRT)-optimality with APA. This result resolves a longstanding open question regarding this matter. It also suggests that Strong APA EDF, which has been proven to be SRT-optimal, is necessary for practical EDF scheduling with APA. However, non-preemptive sections are typically required in practice, and prior work on Strong APA EDF is limited to fully preemptive systems. In this paper, this prior work is extended for the first time to deal with non-preemptivity, which introduces non-trivial nuances with APA. As a byproduct of considering non-preemptivity, it is shown that the SRT-optimality of EDF in this context carries over to a significantly expanded class of schedulers.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers1
Ask how each one uses itRelated papers
- Soft Real-Time Gang SchedulingShareef Ahmed, James H. AndersonRTSS 2023 · 4 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
- A Utilization-based Test for Non-preemptive Gang Tasks on MultiprocessorsZheng Dong, Cong LiuRTSS 2022 · 12 citations
- EDF-Like Scheduling for Self-Suspending Real-Time TasksMario Günzel, Georg von der Brüggen, Kuan-Hsun Chen, Jian-Jia ChenRTSS 2022 · 14 citations
- Response Time Analysis for Real-Time Global Gang SchedulingSeongtae Lee, Seunghoon Lee, Jinkyu LeeRTSS 2022 · 10 citations
