Edge Generation Scheduling for DAG Tasks Using Deep Reinforcement Learning

Binqi Sun, Mirco Theile, Ziyuan Qin, Daniele Bernardini, Debayan Roy +2 more
8/28/2023
cs.LGcs.DCcs.DM

Official code: binqi-sun/egs (27 stars, last commit 2023-12-08).

Abstract

Directed acyclic graph (DAG) tasks are currently adopted in the real-time domain to model complex applications from the automotive, avionics, and industrial domains that implement their functionalities through chains of intercommunicating tasks. This paper studies the problem of scheduling real-time DAG tasks by presenting a novel schedulability test based on the concept of trivial schedulability. Using this schedulability test, we propose a new DAG scheduling framework (edge generation scheduling -- EGS) that attempts to minimize the DAG width by iteratively generating edges while guaranteeing the deadline constraint. We study how to efficiently solve the problem of generating edges by developing a deep reinforcement learning algorithm combined with a graph representation neural network to learn an efficient edge generation policy for EGS. We evaluate the effectiveness of the proposed algorithm by comparing it with state-of-the-art DAG scheduling heuristics and an optimal mixed-integer linear programming baseline. Experimental results show that the proposed algorithm outperforms the state-of-the-art by requiring fewer processors to schedule the same DAG tasks. The code is available at https://github.com/binqi-sun/egs.

View on arXivView PDF

Code Implementations(1)

binqi-sun/egsOfficial100%
273PythonDec 2, 20232 years ago

Similar Papers

Cite this paper

@article{sun2023edge,
  title  = {Edge Generation Scheduling for DAG Tasks Using Deep Reinforcement Learning},
  author = {Binqi Sun and Mirco Theile and Ziyuan Qin and Daniele Bernardini and Debayan Roy and Andrea Bastoni and Marco Caccamo},
  year   = {2023},
  eprint = {2308.14647},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.14647v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.14647.svg)](https://codeofpaper.com/paper/2308.14647)

Discussion