《计算机应用》唯一官方网站 ›› 2023, Vol. 43 ›› Issue (2): 474-483.DOI: 10.11772/j.issn.1001-9081.2022010001

• 先进计算 • 上一篇    

混合自适应粒子群工作流调度优化算法

马学森1,2(), 许雪梅1,2, 蒋功辉1,2, 乔焰1,2, 周天保1,2   

  1. 1.合肥工业大学 计算机与信息学院,合肥 230601
    2.安全关键工业测控技术教育部工程研究中心(合肥工业大学),合肥 230009
  • 收稿日期:2022-01-05 修回日期:2022-03-17 接受日期:2022-03-21 发布日期:2023-02-08 出版日期:2023-02-10
  • 通讯作者: 马学森
  • 作者简介:许雪梅(1998—),女,安徽合肥人,硕士研究生,主要研究方向:云计算、移动边缘计算
    蒋功辉(1998—),男,江西吉安人,硕士研究生,主要研究方向:网络流量预测、数据挖掘
    乔焰(1984—),女,山东聊城人,副教授,博士,主要研究方向:云计算数据中心网络管理、计算机网络管理
    周天保(1998—),男,湖北黄石人,硕士研究生,主要研究方向:云计算、深度学习。
  • 基金资助:
    国家重点研发计划项目(2020YFC1512601)

Hybrid adaptive particle swarm optimization algorithm for workflow scheduling

Xuesen MA1,2(), Xuemei XU1,2, Gonghui JIANG1,2, Yan QIAO1,2, Tianbao ZHOU1,2   

  1. 1.School of Computer Science and Information Engineering,Hefei University of Technology,Hefei Anhui 230601,China
    2.Engineering Research Center of Safety Critical Industrial Measurement and Control Technology,Ministry of Education (Hefei University of Technology),Hefei Anhui 230009,China
  • Received:2022-01-05 Revised:2022-03-17 Accepted:2022-03-21 Online:2023-02-08 Published:2023-02-10
  • Contact: Xuesen MA
  • About author:XU Xuemei, born in 1998, M. S. candidate. Her research interests include cloud computing, mobile edge computing.
    JIANG Gonghui, born in 1998, M. S. candidate. His research interests include network traffic prediction, data mining.
    QIAO Yan, born in 1984, Ph. D., associate professor. Her research interests include cloud computing data center network management, computer network management.
    ZHOU Tianbao, born in 1998, M. S. candidate. His research interests include cloud computing, deep learning.
  • Supported by:
    National Key Research and Development Program of China(2020YFC1512601)

摘要:

针对具有截止期的云工作流完成时间与执行成本冲突的问题,提出一种混合自适应粒子群工作流调度优化算法(HAPSO)。首先,基于截止期建立有向无环图(DAG)云工作流调度模型;然后,通过范数理想点与自适应权重的结合,将DAG调度模型转化为权衡DAG完成时间和执行成本的多目标优化问题;最后,在粒子群优化(PSO)算法的基础上引入自适应惯性权重、自适应学习因子、花朵授粉算法的概率切换机制、萤火虫算法(FA)和粒子越界处理方法,从而平衡粒子群的全局搜索与局部搜索能力,进而求解DAG完成时间与执行成本的目标优化问题。实验中对比分析了PSO、惯性权重粒子群算法(WPSO)、蚁群算法(ACO)和HAPSO的优化结果。实验结果表明,HAPSO在权衡工作流(30~300任务数)完成时间与执行成本的多目标函数值上降低了40.9%~81.1%,HAPSO在工作流截止期约束下有效权衡了完成时间与执行成本。此外,HAPSO在减少完成时间或降低执行成本的单目标上也有较好的效果,验证了HAPSO的普适性。

关键词: 云工作流, 调度, 截止期, 自适应权重, 粒子群优化算法, 目标优化

Abstract:

Aiming at the conflict between the makespan and execution cost of cloud workflows with deadlines, a Hybrid Adaptive Particle Swarm Optimization algorithm for workflow scheduling (HAPSO) was proposed. Firstly, a Directed Acyclic Graph (DAG) cloud workflow scheduling model was established based on deadlines. Secondly, through the combination of norm ideal points and adaptive weights, the DAG scheduling model was transformed into a multi-objective optimization problem that weighs DAG makespan and execution cost. Finally, based on Particle Swarm Optimization (PSO) algorithm, the adaptive inertia weight, the adaptive learning factors, the probability switching mechanism of flower pollination algorithm, Firefly Algorithm (FA) and the particle out-of-bound processing method were added to balance the global search ability and the local search ability of the particle swarm, and then to solve the objective optimization problem of DAG makespan and execution cost. The optimization results of PSO, Weight Particle Swarm Optimization (WPSO), Ant Colony Optimization (ACO) and HAPSO were compared and analyzed in the experiment. Experimental results show that HAPSO reduces the multi-objective function value by 40.9% to 81.1% that weighs the makespan and execution cost of workflow (30~300 tasks), and HAPSO effectively weighs the makespan and execution cost with the constraints of workflow deadlines. In addition, HAPSO also has a good effect on the single objective of reducing the makespan or execution cost, which verifies the universality of HAPSO.

Key words: cloud workflow, scheduling, deadline, adaptive weight, Particle Swarm Optimization (PSO) algorithm, objective optimization

中图分类号: