Real-Time Systems

, Volume 51, Issue 4, pp 395–439

Global EDF scheduling for parallel real-time tasks

  • Jing Li
  • Zheng Luo
  • David Ferry
  • Kunal Agrawal
  • Christopher Gill
  • Chenyang Lu
Article

DOI: 10.1007/s11241-014-9213-9

Cite this article as:
Li, J., Luo, Z., Ferry, D. et al. Real-Time Syst (2015) 51: 395. doi:10.1007/s11241-014-9213-9

Abstract

As multicore processors become ever more prevalent, it is important for real-time programs to take advantage of intra-task parallelism in order to support computation-intensive applications with tight deadlines. In this paper, we consider the global earliest deadline first (GEDF) scheduling policy for task sets consisting of parallel tasks. Each task can be represented by a directed acyclic graph (DAG) where nodes represent computational work and edges represent dependences between nodes. In this model, we prove that GEDF provides a capacity augmentation bound of\(4-\frac{2}{m}\) and a resource augmentation bound of\(2-\frac{1}{m}\). The capacity augmentation bound acts as a linear-time schedulability test since it guarantees that any task set with total utilization of at most \(m/(4-\frac{2}{m})\) where each task’s critical-path length is at most \(1/(4-\frac{2}{m})\) of its deadline is schedulable on \(m\) cores under GEDF. In addition, we present a pseudo-polynomial time fixed-point schedulability test for GEDF; this test uses a carry-in work calculation based on the proof for the capacity bound. Finally, we present and evaluate a prototype platform—called PGEDF—for scheduling parallel tasks using global earliest deadline first (GEDF). PGEDF is built by combining the GNU OpenMP runtime system and the \(\text {LITMUS}^\text {RT}\) operating system. This platform allows programmers to write parallel OpenMP tasks and specify real-time parameters such as deadlines for tasks. We perform two kinds of experiments to evaluate the performance of GEDF for parallel tasks. (1) We run numerical simulations for DAG tasks. (2) We execute randomly generated tasks using PGEDF. Both sets of experiments indicate that GEDF performs surprisingly well and outperforms an existing scheduling techniques that involves task decomposition.

Keywords

Real-time scheduling Parallel scheduling Global EDF Resource augmentation bound Capacity augmentation bound 

Copyright information

© Springer Science+Business Media New York 2014

Authors and Affiliations

  • Jing Li
    • 1
  • Zheng Luo
    • 1
  • David Ferry
    • 1
  • Kunal Agrawal
    • 1
  • Christopher Gill
    • 1
  • Chenyang Lu
    • 1
  1. 1.Department of Computer Science and EngineeringWashington University in St. LouisSt. LouisUSA

Personalised recommendations