西安电子科技大学学报 ›› 2022, Vol. 49 ›› Issue (5): 145-153.doi: 10.19665/j.issn1001-2400.2022.05.017

• 计算机科学与技术 & 人工智能 • 上一篇    下一篇

一种面向数据中心的能耗感知虚拟机放置策略

杨傲1(),马春苗1(),伍卫国1(),王思敏1(),赵坤2()   

  1. 1.西安交通大学 计算机科学与技术学院,陕西 西安 710049
    2.广东浪潮大数据研究有限公司,广东 广州 510000
  • 收稿日期:2021-08-26 出版日期:2022-10-20 发布日期:2022-11-17
  • 通讯作者: 赵 坤(1986-),男,高级工程师,Email:zhaokunbj@inspur.com
  • 作者简介:杨 傲(1994—),男,西安交通大学硕士研究生,E-mail:jinshenwuyu@gmail.com;马春苗(1999—),女,西安交通大学硕士研究生,E-mail:3120305297@stu.xjtu.edu.cn;伍卫国(1963—),男,教授,E-mail:wgwu@mail.xjtu.edu.cn;王思敏(1982—),女,西安交通大学博士研究生,E-mail:wangsm@stu.xjtu.edu.cn
  • 基金资助:
    国家重点研发计划(2017YFB1001701);国家自然科学基金(61972311);山东省自然科学基金(ZR2019LZH007)

Energy-awarevirtual machine placement strategy for data centers

YANG Ao1(),MA Chunmiao1(),WU Weiguo1(),WANG Simin1(),ZHAO Kun2()   

  1. 1. School of Computer Science and Technology,Xi’an Jiaotong University,Xi’an 710049,China
    2. Guangdong Inspur Big Data Research Company Limited,Guangzhou 510000,China
  • Received:2021-08-26 Online:2022-10-20 Published:2022-11-17

摘要:

随着互联网的不断发展,数据中心规模不断扩大,其面临的突出问题是如何保证数据中心安全运行并降低其运行能耗。目前的研究中仅着眼于降低数据中心运行能耗,并未考虑服务器的环境温度。若在高温区域持续增加负载,则可能导致局部热点问题,使得制冷设备处于过度制冷状态而导致数据中心运行能耗整体提高。针对上述问题,提出一种能耗感知的虚拟机放置策略,可以在降低数据中心运行能耗条件下避免热点出现。策略由两部分算法组成:第1部分为最佳适应算法,算法将物理机序列按照可用的CPU资源大小进行排序,对于当前虚拟机请求,按照文中提出的温度迫切值计算方法选择迫切值最小的物理机作为目标位置,并将目标物理机序列二进制化后作为遗传算法的初始种群;在第2部分遗传算法中,对种群进行交叉变异操作,通过适应度函数计算的适应度值选择出下一代种群,不断迭代计算最终得出最优解。为了验证所提出策略的有效性,在cloudsim仿真计算平台上进行了相关实验。仿真结果表明,所提方法在降低运行能耗的同时也降低了服务器间的温度波动值从而避免热点出现。

关键词: 数据中心, 运行能耗, 遗传算法, 虚拟机放置

Abstract:

With the development of the Internet,the scale of the data centers continues to expand,with the prominent problem being how to ensure the safe operation of data centers and reduce the operation energy consumption.The current research focuses only on reducing the energy consumption of the data center,but does not consider the ambient temperature of the servers.If the load continues to increase in the high temperature area,it may lead to local hot spot problems and cause the refrigeration equipment to be in the over-cooling state,resulting in the overall increase of the energy consumption.To solve this problem,this paper proposes an energy-aware virtual machine placement strategy that can avoid hot spots while reducing the energy consumption of the data center.The strategy consists of two parts of the algorithm.The first part is the best adaptation algorithm which sorts the physical machine sequence according to the available CPU resource size.For the current virtual machine request,the physical machine with the smallest urgent value is selected as the target location according to the calculation method of temperature urgent value proposed in this paper,and the sequence of the target physical machine is binarized as the initial population of the genetic algorithm.In the second part of the genetic algorithm,the population is cross-mutated,the next-generation population is selected through the fitness value calculated by the fitness function,and the algorithm finally obtains the optimal solution through continuous iterative calculations.To verify the effectiveness of the strategy proposed in this paper,corresponding experiments are carried out on the cloudsim simulation computing platform.The simulation results show that the proposed method reduces not only the operating energy consumption but also the temperature fluctuation value between the servers to avoid the occurrence of hot spots.

Key words: data center, energy consumption, genetic algorithm, virtual machine placement

中图分类号: 

  • TP399