应用科学学报 ›› 2020, Vol. 38 ›› Issue (3): 488-495.doi: 10.3969/j.issn.0255-8297.2020.03.014

• 计算机科学与应用 • 上一篇    下一篇

基于虚拟机的数据中心能耗测量

陈俊, 李娅, 张芥   

  1. 贵州师范大学 教育学院, 贵阳 550025
  • 收稿日期:2019-03-13 出版日期:2020-05-31 发布日期:2020-06-11
  • 通信作者: 陈俊,教授,研究方向为云计算能耗优化.E-mail:82631710@qq.com E-mail:82631710@qq.com
  • 基金资助:
    国家自然科学基金(No.61309006)资助

Data Center Energy Consumption Measurement Based on Virtual Machine

CHEN Jun, LI Ya, ZHANG Jie   

  1. School of Education, Guizhou Normal University, Guiyang 550025, China
  • Received:2019-03-13 Online:2020-05-31 Published:2020-06-11

摘要: 提出一种基于计算密集型与I/O密集型建立虚拟机动态能耗的数学模型方法.结合了设备运行状态参数,在模型功耗处于计算密集型时引入了虚拟机的CPU使用率与CPU频率,处于I/O密集型时引入了虚拟机的硬盘读写总字节数与内存读写总字节数计算功耗,并对功耗进行积分得出数据中心能耗.与常规方法相比该方法进一步细化了测量粒度,且在使用Wordcount运行任务与Sort运行任务进行节点能耗测试时,得出能耗的平均误差为0.062 5.实验结果在粒度细化的同时保证了常规方法的同级别测量精度.

关键词: 数据中心, 功耗模型, 能耗模型, 虚拟机

Abstract: Based on computation intensive mode and I/O intensive mode and combined with the running state parameters of typical equipment, a mathematical model for the dynamic energy consumption measurement of virtual machine granularity is proposed for the experimental environment of data center. The power consumption model takes CPU usage and CPU frequency in the computation intensive mode and takes the total read and write bytes of hard disk and memory in the I/O intensive mode to measure the power consumption, accordingly, deriving the energy consumption of the cloud platform by integrating the power consumption. Compared with the conventional method, the experimental method further refines the measurement granularity, and obtains an average precision of 0.062 5 as it measures energy consumption of test nodes with Wordcount computing task and Sort computing task. The proposed method performs a finer-grained energy consumption measurement than conventional methods with the same measurement accuracy.

Key words: data center, power consumption model, energy consumption model, virtual machine

中图分类号: