Skip to main content
QUICK REVIEW

[Paper Review] On the periodic behavior of real-time schedulers on identical multiprocessor platforms

Emmanuel Grolleau, Joël Goossens|arXiv (Cornell University)|May 16, 2013
Real-Time Systems SchedulingComputer Science17 references5 citations
TL;DR

This paper establishes a general periodicity bound for deterministic and memoryless real-time schedulers on identical multiprocessor platforms, proving that any feasible schedule repeats within a finite upper bound derived solely from task release times, deadlines, and periods. The key contribution is a universal simulation interval upper bound that applies regardless of structural constraints like critical sections or precedence dependencies.

ABSTRACT

This paper is proposing a general periodicity result concerning any deterministic and memoryless scheduling algorithm (including non-work-conserving algorithms), for any context, on identical multiprocessor platforms. By context we mean the hardware architecture (uniprocessor, multicore), as well as task constraints like critical sections, precedence constraints, self-suspension, etc. Since the result is based only on the releases and deadlines, it is independent from any other parameter. Note that we do not claim that the given interval is minimal, but it is an upper bound for any cycle of any feasible schedule provided by any deterministic and memoryless scheduler.

Motivation & Objective

  • To establish a general periodicity result for real-time schedulers on identical multiprocessor platforms, independent of scheduling algorithm or system constraints.
  • To identify a finite upper bound on the time interval after which any feasible schedule repeats, enabling bounded simulation for schedulability analysis.
  • To provide a safe, general-purpose simulation interval that subsumes and generalizes prior results, particularly for non-work-conserving and constrained-priority algorithms.
  • To support offline schedule generation and statistical analysis of scheduling behavior (e.g., preemptions, migrations) by ensuring cyclic behavior within a known interval.
  • To extend the applicability of periodicity results beyond uniprocessor and independent-task systems to include complex structural constraints such as mutual exclusion, self-suspension, and precedence.

Proposed method

  • Formalizing the system state as a tuple of task lateness and pending execution, capturing all possible pre-states at each hyperperiod.
  • Defining a state space based on the Cartesian product of possible lateness values for each task, bounded by (O_i + D_i - T_i)₀ + 1 per task.
  • Applying the pigeonhole principle to show that a repeated state must occur within the product of these bounds, ensuring periodicity.
  • Deriving the upper bound as ∏ᵢ((Oᵢ + Dᵢ - Tᵢ)₀ + 1) × H, where H is the least common multiple of task periods.
  • Proving that this bound holds for any deterministic and memoryless scheduler, regardless of priority assignment or work-conserving behavior.
  • Demonstrating that the bound remains valid even under structural constraints such as critical sections, precedence, and non-preemptive execution.

Experimental results

Research questions

  • RQ1What is the maximum time after which any feasible schedule produced by a deterministic and memoryless scheduler must repeat, regardless of scheduling policy or system constraints?
  • RQ2Can a universal simulation interval be derived that applies to all real-time task systems, including those with structural constraints like mutual exclusion or precedence?
  • RQ3How does the proposed periodicity bound compare to existing bounds for fixed-priority or EDF schedulers in uniprocessor systems?
  • RQ4Under what conditions can the derived upper bound be tightened without losing generality for specific scheduling algorithms?
  • RQ5Is the periodicity result robust in the presence of scheduling anomalies, such as those caused by priority inversion or self-suspension?

Key findings

  • The paper establishes a general upper bound of ∏ᵢ((Oᵢ + Dᵢ - Tᵢ)₀ + 1) × H for the cycle length of any feasible schedule on identical multiprocessor platforms.
  • This bound is valid for all deterministic and memoryless schedulers, including non-work-conserving ones, and applies to systems with arbitrary deadlines and structural constraints.
  • The bound subsumes and generalizes prior results, such as the hyperperiod (LCM of periods) and bounds for fixed-priority scheduling, by incorporating offset and deadline information.
  • In a two-task example with T₁ = T₂ = 8, O₁ = 1, D₁ = 7, O₂ = 0, D₂ = 8, the proposed bound gives [0,8), while [9] gives [0,24) and [1] gives [0,16), showing tighter results in some cases.
  • For systems with Dᵢ > Tᵢ, such as T₁ = 12, D₁ = 7, T₂ = 8, D₂ = 9, the bound yields [0,96), while [9] still gives [0,24), demonstrating that the new bound is not always smaller but remains valid.
  • The bound is not minimal but is safe and universally applicable, and can be improved for specific algorithms by combining it with tighter feasibility tests like demand bound functions.

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.