计算机应用 ›› 2014, Vol. 34 ›› Issue (11): 3222-3226.DOI: 10.11772/j.issn.1001-9081.2014.11.3222

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

基于数据中心的两阶段虚拟机能效优化部署算法

张小庆1,贺忠堂2   

  1. 1. 武汉轻工大学 数学与计算机学院, 武汉 430023;
    2. 中国科学院 云计算中心,广东 东莞 523808
  • 收稿日期:2014-05-23 修回日期:2014-07-09 出版日期:2014-11-01 发布日期:2014-12-01
  • 通讯作者: 张小庆
  • 作者简介:张小庆(1984-),男,湖北武汉人,讲师,博士,主要研究方向:云计算;贺忠堂(1971-),男,江苏徐州人,高级工程师,博士,主要研究方向:云计算。
  • 基金资助:

    武汉轻工大学引进人才科研启动基金资助项目

Two-phase placement algorithm with energy efficiency optimization for virtual machins bsed on data center

ZHANG Xiaoqing1,HE Zhongtang2   

  1. 1. School of Mathematics and Computer Science, Wuhan Polytechnic University, Wuhan Hubei 430023, China;
    2. Cloud Computing Center, Chinese Academy of Sciences, Dongguan Guangdong 523808, China
  • Received:2014-05-23 Revised:2014-07-09 Online:2014-11-01 Published:2014-12-01
  • Contact: ZHANG Xiaoqing

摘要:

针对数据中心在虚拟机动态部署过程中的高能耗问题,提出了面向数据中心的两阶段虚拟机能效优化部署算法——DVMP_VMMA。第一阶段为初始部署,提出了动态虚拟机部署(DVMP)算法限定主机最优部署数量,降低了闲置能耗;同时,为了应对负载的动态变化,第二阶段提出迁移约束的虚拟机迁移算法(VMMA)对初始部署方案作进一步优化,这样不仅得到的系统能耗更低,而且还能保证应用服务质量。与满载算法(FL)、基于固定门限值的部署算法(FT),绝对中位差部署算法(MAD)、四分位差部署算法(QD)、迁移周期最优算法(MTM)、最小占用率迁移算法(MIU)进行的比较实验结果表明:DVMP_VMMA不仅考虑了系统能耗优化,使运行时资源利用率更高;而且还可以避免VM频繁迁移完成对性能的提升,其在优化数据中心能耗、SLA违例、VM迁移量的控制及性能损失等指标上均有较好效果,其综合性能优于对比算法。

Abstract:

In view of high energy consumption of dynamic virtual machine placement in data centers, a two-phase placement algorithm with energy efficiency optimization for virtual machines, named DVMP_VMMA, was proposed based on data center. The first phase was the initial placement, a Dynamic Virtual Machine Placement (DVMP) algorithm was presented to limit the optimal number of deployed hosts, which reduced the idle energy consumption. Meanwhile, for responding to the dynamic changes of loads, Virtual Machine Migration Algorithm (VMMA) was put forward to further optimize the initial placement with the migration constraints through the dynamic VM (Virtual Machine) migration in second phase, which not only got lower energy consumption of the system, but also ensured Quality of Service (QoS) of applications. Comparison experiments with FL (Full Load), FT (Fixed Threshold), MAD (Median Absolute Deviation), QD (Quartile Deviation), MTM (Migration Time Minimum) and MIU (Minimum Utilization) were given. The experimental results show that DVMP_VMMA not only considers the energy consumption optimization to increase the resource utilization, but also avoids frequent migration of VMs to improve the performance, it gets good effect in optimization of data center energy consumption, SLA (Service Level Agreement) violation, VM migration quantity and loss of performance, its comprehensive performance is better than compared algorithms.

中图分类号: