郝鹏涛,肖锋,黄姝娟,等.基于通信开销的多类型DAG任务调度方法[J]. 微电子学与计算机,2024,41(5):67-75. doi: 10.19304/J.ISSN1000-7180.2023.0135
引用本文: 郝鹏涛,肖锋,黄姝娟,等.基于通信开销的多类型DAG任务调度方法[J]. 微电子学与计算机,2024,41(5):67-75. doi: 10.19304/J.ISSN1000-7180.2023.0135
HAO P T,XIAO F,HUANG S J,et al. The multi-type DAG task scheduling method based on communication overhead[J]. Microelectronics & Computer,2024,41(5):67-75. doi: 10.19304/J.ISSN1000-7180.2023.0135
Citation: HAO P T,XIAO F,HUANG S J,et al. The multi-type DAG task scheduling method based on communication overhead[J]. Microelectronics & Computer,2024,41(5):67-75. doi: 10.19304/J.ISSN1000-7180.2023.0135

基于通信开销的多类型DAG任务调度方法

The multi-type DAG task scheduling method based on communication overhead

  • 摘要: 随着异构多核处理器的性能不断增强,具有关联关系任务的调度问题和调度算法成为研究者们关注的焦点。针对异构多核平台上的有向无环图(Directed Acyclic Graph, DAG)任务模型进行了调度分析。由于异构环境中计算资源类型丰富数量多,实际调度过程中处在不同核上的任务之间的通信开销是存在的。而当前大多数调度算法要么忽略不同核上的任务之间的通信开销,要么优先级判定和选择处理器核执行时不能全面考虑核间任务的通信开销,造成资源浪费,增加了系统调度任务的整体长度。因此,针对具有通信开销的DAG任务模型,讨论了任务间的通信开销对任务调度算法的影响,提出了复合节点生成算法(Composite Node Generation Algorithm, CNGA)任务调度算法。该算法根据任务间通信开销大小进行预处理分配生成复合节点,重构DAG图将任务节点的上行秩和通信占比作为参数决定任务节点的优先级。实验结果与HEFT和CPOP算法比较,在任务通信开销和任务执行开销之比(Communication to Computation Ratio, CCR)一定的情况下响应时间比原有的HEFT和CPOP提升10.19%,稳定性以松弛度和接受率为参数平均提升3.96%。

     

    Abstract: With the increasing performance of heterogeneous multi-core processors, the scheduling problem and scheduling algorithm with relational tasks become the focus of researchers. In this paper, the Directed Acyclic Graph (DAG) task model on heterogeneous multi-core platform is analyzed. Because there are many types of computing resources in heterogeneous environment and they are widely distributed, the communication overhead between tasks on different cores exists in the actual scheduling process. However, most of the current scheduling algorithms either ignore the communication overhead between tasks on different cores, or fail to consider the communication overhead of tasks between cores when deciding and selecting processor cores, resulting in waste of resources and increasing the overall length of the system scheduling tasks. Therefore, for the DAG task model with communication overhead, this paper discusses the influence of the communication overhead between tasks on the task scheduling algorithm, and proposes a Composite Node Generation Algorithm(CNGA) task scheduling algorithm. According to the amount of communication overhead between tasks, the algorithm is preprocessed and allocated to generate composite nodes, and the upstream rank and communication ratio of task nodes are used as parameters to determine the priority of task nodes. Compared with HEFT and CPOP algorithms, the experimental results show that the ratio of task communication overhead to task execution overhead Communication to Computation Ratio (CCR) under certain conditions, the response time is improved by 10.19% compared with the original HEFT and CCOP, and the stability is increased by 3.96%.

     

/

返回文章
返回