计算机应用 ›› 2016, Vol. 36 ›› Issue (3): 633-636.DOI: 10.11772/j.issn.1001-9081.2016.03.633

• 先进计算 • 上一篇    下一篇

云环境下基于模板遗传算法的任务调度方法

盛小东, 李强, 刘昭昭   

  1. 四川大学 计算机学院, 成都 610065
  • 收稿日期:2015-07-24 修回日期:2015-10-15 出版日期:2016-03-10 发布日期:2016-03-17
  • 通讯作者: 李强
  • 作者简介:盛小东(1991-),男,安徽巢湖人,硕士研究生,CCF会员,主要研究方向:移动计算、云计算;李强(1963-),男,四川成都人,副教授,博士,主要研究方向:分布式计算、云计算、移动计算、移动互联网、大数据;刘昭昭(1991-),女,湖北恩施人,硕士,主要研究方向:云计算、移动云计算。
  • 基金资助:
    四川省科技厅应用基础研究项目(2014JY0095)。

Task scheduling method based on template genetic algorithm in cloud environment

SHENG Xiaodong, LI Qiang, LIU Zhaozhao   

  1. College of Computer Science, Sichuan University, Chengdu Sichuan 610065, China
  • Received:2015-07-24 Revised:2015-10-15 Online:2016-03-10 Published:2016-03-17
  • Supported by:
    This work is partially supported by the Applied Basic Research Programs of Science and Technology Department of Sichuan Province (2014JY0095).

摘要: 云任务调度是云计算研究的一个热点。云任务调度方法的好坏直接影响云平台的整体性能。提出一种基于模板遗传算法(TBGA)的任务调度方法。首先,根据处理机的运算速度和带宽等条件,计算出每个处理机应分配的任务量模板大小;然后,根据模板大小将任务集合中的任务划分为多个子集合;最后,利用遗传算法将集合中的任务分配到对应的处理机。实验证明通过此方法能得到总任务完成时间较短的调度结果。通过仿真实验将TBGA算法与Min-Min算法和遗传算法(GA)进行比较,实验结果表明,TBGA算法与Min-Min算法相比任务集合完成时间降低了20%左右,与遗传算法相比任务集合完成时间降低了30%左右,是一种有效的任务调度算法。

关键词: 云计算, 模板, 组合优化, 遗传算法, 任务调度

Abstract: Cloud task scheduling is a hot issue in the research of cloud computing. The cloud task scheduling method directly affects the overall performance of the cloud platform. A task scheduling method Template-Based Genetic Algorithm (TBGA) was proposed. Firstly, according to the processor's CPU speed, bandwidth and etc., the amount of tasks that should be allocated to each processor was calculated. andwas called allocation template. Secondly, according to the template, the tasks were combined into multiple subsets and finally each subset of tasks was allocated to the corresponding processor by using genetic algorithm. Experimental results show that the method can obtain shorter time scheduling for total tasks. TBGA reduced 20% of task set completion time compared with Min-Min algorithm and 30% of task set completion time compared with Genetic Algorithm (GA). Therefore, the TBGA is an effective task scheduling algorithm.

Key words: cloud computing, template, combinatorial optimization, Genetic Algorithm (GA), task scheduling

中图分类号: