arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.14647cs.LGcs.DCcs.DMmath.OC
收藏

使用深度强化学习的DAG任务边生成调度

Edge Generation Scheduling for DAG Tasks Using Deep Reinforcement Learning

TUM School of Engineering and Design, Technical University of Munich(慕尼黑工业大学TUM工程与设计学院);Department of Electrical Engineering and Computer Sciences, University of California Berkeley(加州大学伯克利分校电气工程与计算机科学系)

Binqi Sun, Mirco Theile, Ziyuan Qin, Daniele Bernardini, Debayan Roy, Andrea Bastoni, Marco Caccamo

AI总结:

本文针对实时DAG任务调度问题,提出基于平凡可调度性测试的边生成调度框架EGS,并利用深度强化学习与图神经网络学习边生成策略,实验证明其相比现有方法能以更少处理器完成调度。

摘要:

有向无环图(DAG)任务目前在实时领域中被用于建模来自汽车、航空电子和工业领域的复杂应用,这些应用通过相互通信的任务链实现其功能。本文研究了实时DAG任务的调度问题,提出了一种基于平凡可调度性概念的新型可调度性测试。利用该可调度性测试,我们提出了一种新的DAG调度框架(边生成调度——EGS),该框架在保证截止时间约束的同时,通过迭代生成边来尝试最小化DAG宽度。我们研究了如何高效解决边生成问题,开发了一种结合图表示神经网络的深度强化学习算法,以学习EGS的高效边生成策略。我们通过将所提算法与最先进的DAG调度启发式方法以及最优混合整数线性规划基线进行比较,评估了其有效性。实验结果表明,所提算法在调度相同DAG任务时所需处理器更少,优于现有最先进方法。代码可在https://github.com/binqi-sun/egs获取。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑