计算机应用 ›› 2016, Vol. 36 ›› Issue (1): 117-121.DOI: 10.11772/j.issn.1001-9081.2016.01.0117

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

基于粒子群优化算法的虚拟机部署策略

杨靖, 张宏军, 赵水宁, 占栋辉   

  1. 解放军理工大学 仿真与数据中心, 南京 210007
  • 收稿日期:2015-07-27 修回日期:2015-09-15 出版日期:2016-01-10 发布日期:2016-01-09
  • 通讯作者: 杨靖(1991-),男,江西鹰潭人,硕士研究生,主要研究方向:服务计算、计算机网络
  • 作者简介:张宏军(1963-),男,江苏泰州人,教授,博士,主要研究方向:军用数据与知识工程;赵水宁(1971-),男,江西南昌人,副教授,博士,主要研究方向:服务计算、计算机网络;占栋辉(1988-),男,江西上饶人,博士研究生,主要研究方向:智能算法、数据挖掘。

Virtual machine deployment strategy based on particle swarm optimization algorithm

YANG Jing, ZHANG Hongjun, ZHAO Shuining, ZHAN Donghui   

  1. Center of Simulation and Data, PLA University of Science and Technology, Nanjing Jiangsu 210007, China
  • Received:2015-07-27 Revised:2015-09-15 Online:2016-01-10 Published:2016-01-09

摘要: 针对云计算基础设施即服务(IaaS)中的虚拟机部署问题,提出一种基于粒子群优化(PSO)算法的部署策略。由于PSO算法在处理虚拟机部署这类大规模复杂问题时,具有收敛速度慢且容易陷入局部最优的缺点,首先,引入多种群进化模式提高算法收敛速度,并在此基础上加入高斯学习策略避免局部最优,提出了一种多种群高斯学习粒子群优化(MGL-PSO)算法;然后,根据部署模型,使用轮询(RR)算法对MGL-PSO进行初始化,进而提出了一种以负载均衡为目标的虚拟机部署策略。通过在CloudSim中进行仿真实验,验证了在解决虚拟机部署问题时,MGL-PSO相比PSO算法,具有更快的收敛速度,并且负载不均衡度降低了13.1%。在两种实验场景下,所提算法相比随机负载均衡(OLB)算法,其负载不均衡度分别平均降低了25%和15%;相比贪婪算法(GA),使负载不均衡度分别平均降低了19%和7%。

关键词: 虚拟机部署, 粒子群优化, 负载均衡, 高斯学习, 多种群进化

Abstract: To solve the virtual machine deployment problem in Infrastructure as a Service (IaaS) of cloud computing, a virtual machine deployment strategy based on Particle Swarm Optimization (PSO) algorithm was proposed. Since the PSO algorithm has weaknesses of having a slow convergence speed and falling into local optimum easily when dealing with large-scale and complex problems like virtual machine deployment, firstly, a Multiple-population Gaussian Learning Particle Swarm Optimization (MGL-PSO) algorithm was proposed, with using the model of multiple population evolution to accelerate the algorithm convergence, as well as adding Gaussian learning strategy to avoid local optimum. Then according to the deployment model, with using Round Robin (RR) algorithm to initialize the MGL-PSO, a virtual machine deployment strategy aiming to load balancing was proposed. Through the simulation experiment in CloudSim, it validates that MGL-PSO has a higher convergence speed and load imbalance degree is reduced by 13% compared with PSO algorithm. In the two experimental situations, compared with the Opportunistic Load Balancing (OLB) algorithm, the load imbalance degrees of the proposed algorithm decrease by 25% and 15% respectively, and compared with the Greedy Algorithm (GA) the load imbalance degrees decrease by 19% and 7% respectively.

Key words: virtual machine deployment, Particle Swarm Optimization (PSO), load balancing, Gaussian learning, multiple population evolution

中图分类号: