Skip to main content
QUICK REVIEW

[Paper Review] Comments on "Gang EDF Schedulability Analysis"

Pascal Richard, Joël Goossens|arXiv (Cornell University)|May 16, 2017
Engineering Applied ResearchEngineering3 citations
TL;DR

This paper identifies a critical flaw in the schedulability test for Gang EDF scheduling proposed in Kato and Ishikawa (RTSS'09), showing that the necessary condition for deadline misses—based on interference area—fails in certain cases due to incorrect interference bounds. The authors prove via counterexample that the condition can be violated even when a deadline is missed, invalidating the test’s theoretical foundation and rendering Theorems 1 and 2 incorrect. Fixing the issue requires using a strict inequality in the schedulability condition, as done in the corrected [BAR] test.

ABSTRACT

This short report raises a correctness issue in the schedulability test presented in Kato et al., "Gang EDF Scheduling of Parallel Task Systems", 30th IEEE Real-Time Systems Symposium, 2009, pp. 459-468.

Motivation & Objective

  • To identify and validate a correctness issue in the schedulability analysis of Gang EDF scheduling as presented in Kato and Ishikawa’s RTSS'09 paper.
  • To demonstrate via a counterexample that the necessary schedulability condition in Equation (1) of the [KAT] test is invalid, as it can be violated even when a deadline is missed.
  • To show that the flaw stems from incorrect interference bounds inherited from the [BAR] test, which were previously identified and corrected in isolation.
  • To propose a fix for the [KAT] test by applying the same correction used in the [BAR] test: using a strict inequality in the schedulability condition.
  • To clarify the conditions under which the [KAT] test remains valid, particularly when all tasks use only one processor.

Proposed method

  • The authors construct a counterexample task set with two periodic gang tasks on six processors, using identical periods and deadlines to isolate interference behavior.
  • They compute interference bounds $I_1$ and $I_2$ for tasks without and with carry-in jobs, respectively, using the formulas from the [KAT] paper.
  • They verify the absence of carry-in jobs by showing $I_{ ext{diff}}( au_i) = I_2( au_i) - I_1( au_i) = 0$ for all tasks.
  • They evaluate the total interference $\sum I_1(\tau_i)$ and compare it to the interference rectangle area $w_k \times h_k$, finding equality rather than strict inequality.
  • They argue that since the necessary condition (Equation 1) is not satisfied despite a deadline miss, it cannot be a valid necessary condition.
  • They conclude that the fix lies in replacing the non-strict inequality in the schedulability condition with a strict one, as done in the corrected [BAR] test.

Experimental results

Research questions

  • RQ1Is the necessary schedulability condition in Equation (1) of the [KAT] test valid for detecting deadline misses in Gang EDF scheduling?
  • RQ2Can a deadline miss occur even when the interference area does not exceed the interference rectangle as defined in [KAT]?
  • RQ3Does the flaw in the [KAT] test originate from the same source as the previously identified error in the [BAR] test?
  • RQ4Under what conditions is the [KAT] schedulability test still correct and equivalent to the [BAR] test?
  • RQ5Can the [KAT] test be corrected using the same fix applied to the [BAR] test?

Key findings

  • A counterexample is constructed where a deadline is missed, but the interference area $\sum I_1(\tau_i) = 2$ equals the interference rectangle area $w_2 \times h_2 = 2$, violating the necessary condition in Equation (1).
  • The absence of carry-in jobs is confirmed via $I_{\text{diff}}(\tau_i) = 0$, meaning all jobs are released and completed within the feasibility interval.
  • The necessary condition in Equation (1) is therefore invalid, as it fails to detect a deadline miss, undermining the theoretical basis of Theorems 1 and 2 in the [KAT] paper.
  • The flaw is traced to incorrect interference bounds inherited from the [BAR] test, which was previously corrected by using a strict inequality or adding $\epsilon$ to bounds.
  • The [KAT] test can be corrected by applying the same fix: replacing the non-strict inequality in the schedulability condition with a strict one.
  • The [KAT] test remains valid when all tasks use exactly one processor, as the interference rectangle then reaches maximum height $m$, avoiding the flaw.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.