Skip to main content
QUICK REVIEW

[Paper Review] Feasibility Tests for Recurrent Real-Time Tasks in the Sporadic DAG Model

Vincenzo Bonifaci, Alberto Marchetti-Spaccamela|arXiv (Cornell University)|Dec 12, 2012
Real-Time Systems SchedulingComputer Science8 references58 citations
TL;DR

This paper extends the sporadic DAG model to multiple recurrent real-time tasks on multiprocessor platforms, proposing polynomial and pseudopolynomial schedulability tests for EDF scheduling. It establishes a speedup bound of $2 - 1/m + \epsilon$ and provides a sufficient condition for EDF-schedulability based on task volume, period, and deadline constraints.

ABSTRACT

A model has been proposed in [Baruah et al., in Proceedings of the IEEE Real-Time Systems Symposium 2012] for representing recurrent precedence-constrained tasks to be executed on multiprocessor platforms, where each recurrent task is modeled by a directed acyclic graph (DAG), a period, and a relative deadline. Each vertex of the DAG represents a sequential job, while the edges of the DAG represent precedence constraints between these jobs. All the jobs of the DAG are released simultaneously and have to be completed within some specified relative deadline. The task may release jobs in this manner an unbounded number of times, with successive releases occurring at least the specified period apart. The feasibility problem is to determine whether such a recurrent task can be scheduled to always meet all deadlines on a specified number of dedicated processors. The case of a single task has been considered in [Baruah et al., 2012]. The main contribution of this paper is to consider the case of multiple tasks. We show that EDF has a speedup bound of 2-1/m, where m is the number of processors. Moreover, we present polynomial and pseudopolynomial schedulability tests, of differing effectiveness, for determining whether a set of sporadic DAG tasks can be scheduled by EDF to meet all deadlines on a specified number of processors.

Motivation & Objective

  • To address the feasibility of scheduling multiple recurrent precedence-constrained tasks modeled as directed acyclic graphs (DAGs) on identical multiprocessors.
  • To extend prior work on single-task sporadic DAG scheduling to the multi-task setting, which introduces complex interference and resource contention.
  • To develop efficient schedulability tests—both polynomial and pseudopolynomial—for EDF scheduling under the sporadic DAG model.
  • To establish theoretical performance bounds, particularly the speedup bound, for EDF in the multi-task sporadic DAG context.

Proposed method

  • Proposes a piecewise linear approximation of cumulative work over time, denoted $\hat{w}_i(t)$, to bound the total work of each DAG task $G_i$ up to time $t$.
  • Uses a $\epsilon$-approximation technique to reduce the number of pieces in the work function to $O(\frac{1}{\epsilon} \sum_i |V_i| \cdot (1 + \frac{D_i}{T_i}))$, enabling efficient computation.
  • Applies the limit $\lim_{t\to\infty} f(t)/t$ to compute the supremum of the work-to-time ratio over time, leveraging piecewise linearity.
  • Derives a sufficient condition for EDF-schedulability based on task volume, period, and deadline: $\sum_{T_i \leq D_k} \frac{\mathrm{vol}(G_i)}{T_i} + \sum_{T_i > D_k} \frac{\mathrm{vol}(G_i)}{D_k} \leq \frac{m+1/2}{3}$.
  • Combines work function bounds with processor utilization and idle time analysis to derive a contradiction when EDF fails to meet a deadline.
  • Employs worst-case interval analysis over $[r_j, d_j)$, distinguishing between busy time $X$ and idle time $Y$, with $Y \leq \mathrm{len}(G_k) \leq D_k/3$.

Experimental results

Research questions

  • RQ1What is the speedup bound of EDF scheduling for multiple sporadic DAG tasks on $m$ identical processors?
  • RQ2Can efficient schedulability tests be designed for EDF in the multi-task sporadic DAG model with polynomial or pseudopolynomial complexity?
  • RQ3Under what conditions can a set of sporadic DAG tasks be guaranteed to be EDF-schedulable on a given number of processors?
  • RQ4How does the presence of precedence constraints and partial parallelism affect the worst-case workload and scheduling feasibility in a multi-task setting?
  • RQ5Can the cumulative work of a sporadic DAG task be effectively approximated over time to enable scalable schedulability analysis?

Key findings

  • The EDF scheduling algorithm has a speedup bound of $2 - 1/m + \epsilon$ for multiple sporadic DAG tasks, improving upon the single-task bound of 2.
  • A pseudopolynomial-time schedulability test for EDF is presented with a speedup bound of $2 - 1/m + \epsilon$, enabling precise feasibility checks.
  • A polynomial-time sufficient condition for EDF-schedulability is derived: if $\sum_{T_i \leq D_k} \frac{\mathrm{vol}(G_i)}{T_i} + \sum_{T_i > D_k} \frac{\mathrm{vol}(G_i)}{D_k} \leq \frac{m+1/2}{3}$, then the system is schedulable.
  • The idle time $Y$ in any interval $[r_j, d_j)$ is bounded by $D_k/3$ when the longest chain length $\mathrm{len}(G_k) \leq D_k/3$, which is critical for the proof of the sufficient condition.
  • The work function approximation $\hat{w}_i(t)$ satisfies $\frac{1}{1+\epsilon} \mathrm{work}_i(t) \leq \hat{w}_i(t) \leq \mathrm{work}_i(t)$, ensuring bounded error in workload estimation.
  • The total work done by EDF in a critical interval $[r_j, d_j)$ is at least $\frac{2m+1}{3} D_k$, which exceeds the upper bound on required work if the sufficient condition holds, leading to a contradiction if EDF fails.

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.