计算机应用 ›› 2015, Vol. 35 ›› Issue (4): 938-943.DOI: 10.11772/j.issn.1001-9081.2015.04.0938

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

云计算环境下基于蜜蜂觅食行为的任务负载均衡算法

杨石1, 王艳玲1, 王永利2   

  1. 1. 长春财经学院 信息工程系, 长春 130122;
    2. 哈尔滨工业大学 计算机科学与技术学院, 哈尔滨 150001
  • 收稿日期:2014-11-11 修回日期:2015-01-05 出版日期:2015-04-10 发布日期:2015-04-08
  • 通讯作者: 杨石
  • 作者简介:杨石(1982-),男,吉林磐石人,讲师,硕士,主要研究方向:云计算、服务计算; 王艳玲(1965-),女,吉林长春人,教授,主要研究方向:云计算、分布式计算; 王永利(1976-),男,吉林长春人,副教授,博士,主要研究方向:云计算、服务计算。
  • 基金资助:

    国家自然科学基金资助项目(61103143);中国博士后科学基金资助项目(2012M512008)。

Load balancing algorithm of task scheduling in cloud computing environment based on honey bee behavior

YANG Shi1, WANG Yanling1, WANG Yongli2   

  1. 1. Department of Information Engineering, Changchun University of Finance and Economics, Changchun Jilin 130122, China;
    2. College of Computer Science and Technology, Harbin Institute of Technology, Harbin Heilongjiang 150001, China
  • Received:2014-11-11 Revised:2015-01-05 Online:2015-04-10 Published:2015-04-08

摘要:

针对云计算环境下的任务调度程序通常需要较多响应时间和通信成本的问题,提出了一种基于蜜蜂行为的负载均衡(HBB-LB)算法。首先,利用虚拟机(VM)进行负载平衡来最大化吞吐量;然后,对机器上任务的优先级进行平衡;最后,将平衡重点放在减少VM等待序列中任务的等待时间上,从而提高处理过程的整体吞吐量和优先级。利用CloudSim工具模拟云计算环境进行仿真实验,结果表明,相比粒子群优化(PSO)、蚁群算法(ACO)、动态负载均衡(DLB)、先入先出(FIFO)和加权轮询(WRR)算法, HBB-LB算法的平均响应时间分别节省了5%、13%、17%、67%、37%,最大完成时间分别节省了20%、23%、18%、55%、46%,可以更好地平衡非抢占式独立任务,适用于异构云计算系统。

关键词: 云计算环境, 任务调度, 蜜蜂觅食行为, 负载均衡, 虚拟机, 非抢占式

Abstract:

For the problem that task scheduling program in cloud computing environments usually takes high response time and communication costs, a Honey Bee Behavior inspired Load Balancing (HBB-LB) algorithm was proposed. Firstly, the load was balanced across Virtual Machines (VMs) for maximizing the throughput. Then the priorities of tasks on the machines were balanced. Finally, HBB-LB algorithm was used to improve the overall throughput of processing, and priority based balancing focused on reducing the wait time of tasks on a queue of the VM. The experiments were carried out in cloud computing environments simulated by CloudSim. The experiment results showed that HBB-LB algorithm respectively reduced average response time by 5%, 13%, 17%, 67% and 37% compared with Particle Swarm Optimization (PSO), Ant Colony Optimization (ACO), Dynamic Load Balancing (DLB), First In First Out (FIFO) and Weighted Round Robin (WRR) algorithms, and reduced maximum completion time by 20%, 23%, 18%, 55% and 46%. The result indicates that HBB-LB algorithm is suitable for cloud computing system and helpful to balancing non-preemptive independent tasks.

Key words: cloud computing environment, tasks scheduling, Honey Bee Behavior (HBB), load balancing, Virtual Machine (VM), non-preemptive

中图分类号: