Skip to main content
QUICK REVIEW

[Paper Review] Semi-Federated Scheduling of Parallel Real-Time Tasks on Multiprocessors

Xu Jiang, Nan Guan|arXiv (Cornell University)|May 9, 2017
Real-Time Systems SchedulingComputer Science31 references5 citations
TL;DR

This paper proposes semi-federated scheduling to reduce resource waste in parallel real-time task scheduling on multi-cores. By assigning only the integer portion of a task's required capacity as dedicated processors and scheduling the fractional part via low-load container tasks on shared processors, the approach significantly improves schedulability and resource utilization over federated and other state-of-the-art methods.

ABSTRACT

Federated scheduling is a promising approach to schedule parallel real-time tasks on multi-cores, where each heavy task exclusively executes on a number of dedicated processors, while light tasks are treated as sequential sporadic tasks and share the remaining processors. However, federated scheduling suffers resource waste since a heavy task with processing capacity requirement $x + ε$ (where $x$ is an integer and $0 < ε< 1$) needs $x + 1$ dedicated processors. In the extreme case, almost half of the processing capacity is wasted. In this paper we propose the semi-federate scheduling approach, which only grants $x$ dedicated processors to a heavy task with processing capacity requirement $x + ε$, and schedules the remaining $ε$ part together with light tasks on shared processors. Experiments with randomly generated task sets show the semi-federated scheduling approach significantly outperforms not only federated scheduling, but also all existing approaches for scheduling parallel real-time tasks on multi-cores.

Motivation & Objective

  • To address resource waste in federated scheduling, where tasks requiring x+ε capacity (0<ε<1) are assigned x+1 dedicated processors, wasting up to 50% of capacity in extreme cases.
  • To develop a scheduling framework that allows fractional processing capacity (ε) of heavy tasks to be shared with light tasks on common processors, improving overall resource utilization.
  • To provide a theoretical response-time analysis for DAG tasks under shared fractional execution, enabling timing guarantees despite interference from light tasks and other fractional parts.
  • To design and evaluate two semi-federated scheduling algorithms that outperform federated, global, and decomposition-based scheduling in terms of schedulability and resource efficiency.

Proposed method

  • Model heavy tasks as DAGs with critical path length and total workload; classify tasks as heavy (density >1) or light (density ≤1).
  • Assign only the integer part x of a task’s required capacity x+ε as dedicated processors, and schedule the remaining ε portion via a sequential container task with load bound ε on shared processors.
  • Use response-time analysis adapted from uniform multiprocessor scheduling to bound interference on fractional parts, treating them as if executed on slower processors.
  • Apply partitioned EDF to schedule all container tasks and light tasks on shared processors, ensuring schedulability under interference bounds.
  • Enhance the first algorithm by splitting the ε portion into two container tasks (e.g., ε1 and ε2 with ε1+ε2=ε), improving utilization for larger fractional parts.
  • Formalize the schedulability condition using a load-bound-based container model, enabling analysis transfer from uniform to homogeneous multiprocessor platforms.

Experimental results

Research questions

  • RQ1Can semi-federated scheduling reduce resource waste in parallel real-time task scheduling without sacrificing timing guarantees?
  • RQ2How can interference from shared processors be bounded when fractional parts of heavy tasks are scheduled alongside light tasks?
  • RQ3What is the impact of splitting the fractional part into multiple container tasks on schedulability and resource utilization?
  • RQ4How does semi-federated scheduling compare to federated, global, and decomposition-based scheduling in terms of schedulability and processor requirements?

Key findings

  • Semi-federated scheduling significantly improves schedulability over federated scheduling, especially when the average minimal capacity requirement γi of heavy tasks is low.
  • The SF[x+1] algorithm reduces the number of required processors by up to 30% compared to federated scheduling when γi is small, with the most significant gains occurring near γi=1.
  • The SF[x+2] algorithm, which splits the fractional part into two containers, maintains high performance even with large container tasks, outperforming SF[x+1] in scenarios with high task size on shared processors.
  • Experiments show that semi-federated scheduling achieves better resource utilization and higher schedulability than all existing approaches, including global and decomposition-based scheduling.
  • The approach effectively bounds interference from shared processors by modeling fractional parts as low-load container tasks, enabling formal response-time analysis and timing guarantees.

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.