Journal of Xidian University ›› 2021, Vol. 48 ›› Issue (6): 67-74.doi: 10.19665/j.issn1001-2400.2021.06.009

• Special Issue:Key Technology of Architecture and Software for Intelligent Embedded Systems • Previous Articles     Next Articles

JEDERL:A task scheduling optimization algorithm for heterogeneous computing platforms

LV Wenkai(),YANG Pengfei(),DING Yunqing(),ZHANG Heyu(),ZHENG Tianyang()   

  1. School of Computer Science and Technology,Xidian University,Xi’an 710071,China
  • Received:2021-08-20 Online:2021-12-20 Published:2022-02-24
  • Contact: Pengfei YANG E-mail:1064071559@qq.com;pfyang@xidian.edu.cn;739092814@qq.com;zhy011062@126.com;503491300@qq.com

Abstract:

With the rapid development of GPU,FPGA,and other computing units,the heterogeneous computing platform is widely used in cloud computing,the data center,the Internet of things,and other fields because of its rich computing resources,flexible architecture,and strong parallel processing capability.Aiming at the task scheduling problem of heterogeneous computing resources and lack of global task information for heterogeneous computing platforms,the task execution model is carried out according to the attributes of tasks and computing resources.Then,we use graph neural networks to encode the scalable state information on tasks and computing resources,and the characteristic of tasks and computing resources are aggregated on three levels,which solves the problems of the uncertain number of tasks and lack of global information.To minimize the average task completion time,we design a task scheduling algorithm based on the Deep Deterministic Policy Gradient(DDPG).Experimental results show that compared with Random scheduling,First in First Out scheduling,Shortest Job First scheduling,Roulette scheduling,and existing reinforcement learning scheduling algorithm,the average task completion time of our algorithm(JEDERL,Job Embedding Device Embedding Reinforcement Learning)is reduced by 27.8%,12.6%,28.6%,21.9%,and 5.3%,respectively and that the proposed algorithm stays stable when the number of cluster servers and tasks changes.

Key words: heterogeneous computing, task scheduling, reinforcement learning, graph neural networks

CLC Number: 

  • TP301