IEEE Access (Jan 2020)

A Dynamic Virtual Machine Resource Consolidation Strategy Based on a Gray Model and Improved Discrete Particle Swarm Optimization

  • Yifan Shao,
  • Qiangqiang Yang,
  • Yajuan Gu,
  • Yong Pan,
  • Yi Zhou,
  • Ziao Zhou

DOI
https://doi.org/10.1109/ACCESS.2020.3046318
Journal volume & issue
Vol. 8
pp. 228639 – 228654

Abstract

Read online

With the continuous expansion of the scale of cloud datacenters, high energy consumption has become a problem. Virtual machine (VM) consolidation is an effective method of energy management, but overly aggressive consolidation has caused issues such as high service level agreement violation (SLA) rates and excessive migrations. To reduce energy consumption while ensuring the quality of service of a datacenter, a VM dynamic consolidation strategy based on a gray model and an improved discrete particle swarm algorithm (GM-DPSO) is proposed. This strategy uses a gray prediction algorithm for load detection and adjusts the size of the threshold according to the load condition. Then, we select VMs for overloaded and underloaded hosts and complete the placement of VMs through a VM placement strategy based on an improved discrete particle swarm algorithm. This method aims to improve the load balance, establish a mapping between VMs and hosts, use particles to search for the best VM placement in the global scope, and reduce the probability of SLAV. Our algorithm considers the impact of VM migration on system energy consumption and service quality and takes sufficient measures to reduce the number of migrations. To verify the effectiveness and practicality of this strategy, experiments were conducted on actual workloads, and the results were compared with those of other strategies. The experimental results show that the GM-DPSO greatly improves service quality while reducing energy consumption and SLAV by 34.53% and 97.53%, respectively. The methods and theories in this paper provide strong theoretical and practical engineering guidance for large-scale cloud deployment.

Keywords