计算机集成制造系统 ›› 2014, Vol. 20 ›› Issue (5): 1070-.DOI: 10.13196/j.cims.2014.05.tanwenan.1070.8.2014059

• 产品创新开发技术 • 上一篇    下一篇

基于并行分层的工作流调度优化算法

谭文安1,2,路广振1+,孙勇1   

  1. 1.南京航空航天大学计算机科学与技术学院
    2.上海第二工业大学计算机与信息学院
  • 出版日期:2014-05-30 发布日期:2014-06-12
  • 基金资助:
    国家自然科学基金资助项目(61272036)。

Workflow scheduling optimization based on concurrent level

  • Online:2014-05-30 Published:2014-06-12
  • Supported by:
    Project supported by the National Natural Science Foundation,China(No.61272036).

摘要: 针对给定截止时间约束下用有向无环图描述的工作流时间费用优化问题,逆向分层算法未考虑工作流中各个任务在实际执行过程中的并行性而带来相对较多的时间碎片,提出一种基于并行分层的工作流调度算法——并发级别工作流调度算法。该算法将工作流在实际执行过程中的某个任务和其他一个(或具有依赖关系的相邻多个)并行执行的任务尽量划分到同一层,并根据各层的并行度分配冗余时间,对每层中存在具有依赖关系的多个相邻任务采用Markov决策过程算法进行时间费用优化。对平衡结构和非平衡结构的有向无环图所描述的工作流进行大量模拟实验,对比最小临界路径算法、逆向分层算法和期限顶级算法,实验结果表明所提算法具有较显著的优势。

关键词: 并行分层, 工作流调度, 有向无环图, 启发式, 优化算法

Abstract: Aiming at the workflow time cost optimization problem described by scheduling Directed Acyclic Graph (DAG) under deadline constraint,the Deadline Bottom Level (DBL) algorithm didn't considered the concurrence in the real executing process which caused much more shatter time.For this reason,a novel heuristics algorithm of Concurrent Level Workflow Scheduling (CLWS) was proposed.In this algorithm,some tasks of workflow in actual executive process were divided into the same level with the other concurrent tasks.The redundant time was distributed according to the concurrent degree of each level,and the multiple adjacent tasks with dependency relationship in each level were optimized by using Markov Decision Process (MDP) algorithm.Based on the workflow described by balanced structure and unbalanced structure of DAG,a number of simulation experiments were made to compare three algorithms of Minimum Critical Path (MCP),DBL and Deadline Top Level (DTL),and the results showed that CLWS algorithm had significant improvement.

Key words: concurrent level, workflow scheduling, directed acyclic graph, heuristics, optimization algorithm

中图分类号: