系统工程与电子技术

• 系统工程 • 上一篇    下一篇

面向异构分布式计算环境的并行任务调度优化方法

柳玉1, 向东阳2, 郑春弟2   

  1. 1. 海军陆战学院科研部, 广东 广州 510430; 2. 海军陆战学院教研部, 广东 广州 510430
  • 出版日期:2016-01-30 发布日期:2010-01-03

Scheduling and optimizing algorithm for parallel tasks in heterogeneous distributed computing systems

LIU Yu1, XIANG Dong-yang2, ZHENG Chun-di2   

  1. 1.The Scientific Research Department, Naval Marine Academy, Guangzhou 510430, China; 2.The Teaching and Researching Department, Naval Marine Academy, Guangzhou 510430, China
  • Online:2016-01-30 Published:2010-01-03

摘要:

分布式计算环境中并行作业的任务调度策略直接影响应用程序的执行时间,寻找一种使任务执行时间最短的调度方案已被证明是NP(nondeterministic polynomial)完全问题。首先给出了异构分布式计算系统的形式化描述,建立了静态任务调度问题的理论体系,通过分析总结最长动态关键路径(longest dynamic critical path,LDCP)算法的核心思想及存在的不足,提出一种运用结点信息流量减少CPU空闲时间碎片的并行任务调度优化算法,其时间复杂度为O(M×N3)。实验表明改进后的算法在调度长度、加速比及计算效率3个指标上均优于LDCP算法和分层结点排序算法(sorted nodes in leveled directed acyclic graph division,SNLDD),其中,与LDCP、SNLDD相比,调度长度平均缩短19.03%、8.02%,加速比平均提升18.42%、7.96%,计算效率平均提高10.17%、3.72%,进一步提高了并行系统的资源利用率。

Abstract:

Strategies of parallel task scheduling have direct influences on the executing time of an application, but the perfect schedule which makes finishing time of the application shortest is a nonpolynomial completion time problem.By creating the mathematical models of heterogeneous distributed computing systems (DCS) and static task scheduling, the main procedure and deficiencies of the exist longest dynamic critical path algorithm (LDCP) is carefully analyzed.Further, an improved algorithm with time complexity O(M×N3) to decrease idle time blocks of processors based on the node information flow quantity is proposed.Experiments show that the proposed algorithm outperforms the traditional algorithm and the sorted nodes in leveled directed acyclic graph division algorithm (SNLDD) in the schedule length, speedup and computation efficiency.The schedule length of the improved algorithm is shorter than those of the LDCP and SNLDD algorithms by 19.03% and 8.02%,respectively.The average speedup gained by the improved algorithm is greater than those of the LDCP and SNLDD algorithms by 18.42% and 7.96%,respectively.The computation efficiency of the improved algorithm can get the amount of 10.17% and 3.72% increase than those of the LDCP and SNLDD algorithms.Hence, the proposed algorithm is sure to enhance the coefficient of the utilization for the whole system resources.