提出一种基于计算密集型与I/O密集型建立虚拟机动态能耗的数学模型方法.结合了设备运行状态参数,在模型功耗处于计算密集型时引入了虚拟机的CPU使用率与CPU频率,处于I/O密集型时引入了虚拟机的硬盘读写总字节数与内存读写总字节数计算功耗,并对功耗进行积分得出数据中心能耗.与常规方法相比该方法进一步细化了测量粒度,且在使用Wordcount运行任务与Sort运行任务进行节点能耗测试时,得出能耗的平均误差为0.062 5.实验结果在粒度细化的同时保证了常规方法的同级别测量精度.
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.
[1] 邓维,刘方明,金海,等.云计算数据中心的新能源应用:研究现状与趋势[J].计算机学报,2013, 36(3):582-598. Deng W, Liu F M, Jin H, et al. Leveraging renewable energy in cloud computing datacenters:state of the art and future research[J]. Chinese Journal of Computers, 2013, 36(3):582-598.(in Chinese)
[2] Jalali F, Hinton K, Ayre R, et al. Fog computing may help to save energy in cloud computing[J]. IEEE Journal on Selected Areas in Communications, 2016, 34(5):1728-1739.
[3] 徐恒,吴俊敏,杨志刚,等.基于虚拟化环境的多GPU并行通用计算平台研究[J].计算机应用与软件,2017, 34(11):74-80, 129. Xu H, Wu J M, Yang Z G, et al. Research of parallel computing platform of multi-GPU based on virtual environment[J]. Computer Applications and Software, 2017, 34(11):74-80, 129.(in Chinese)
[4] Tian W, He M, Guo W, et al. On minimizing total energy consumption in the scheduling of virtual machine reservations[J]. Journal of Network & Computer Applications. 2018, 31(5):1218-1221.
[5] Wu W, Lin W, Peng Z. An intelligent power consumption model for virtual machines under CPU-intensive workload in cloud environment[J]. Soft Computing. 2016, 21(3):1-10.
[6] Callau-Zori M, Samoila L, Orgerie A C, et al. An experiment-driven energy consumption model for virtual machine management systems[J]. Sustainable Computing Informatics & Systems. 2016, 21(3):1108-1112.
[7] 邹伟东,夏元清.基于压缩动量项的增量型ELM虚拟机能耗预测[J].自动化学报,2019, 45(7):1290-1297. Zou W D, Xia Y Q. Virtual machine power prediction using incremental extreme learning machine based on compression driving amount[J]. Acta Automatica Sinica, 2019, 45(7):1290-1297.(in Chinese)
[8] 施继成,陈海波,臧斌宇.面向多处理器虚拟机的动态NUMA方法[J].小型微型计算机系统,2015, 36(4):677-682. Shi J C, Chen H B, Zang B Y. Dynamic NUMA on multi-processor hypervisor[J]. Journal of Chinese Computer Systems, 2015, 36(4):677-682.(in Chinese)
[9] 宋杰,马忠义,徐澍,等.算法能耗复杂度的定义与推导[J].计算机学报,2018, 41(3):709-723. Song J, Ma Z Y, Xu S, et al. Define and deduce energy consumption complexity of algorithms[J]. Chinese Journal of Computers, 2018, 41(3):709-723.(in Chinese)
[10] 林伟伟,吴文泰.面向云计算环境的能耗测量和管理方法[J].软件学报,2016, 27(4):1026-1041. Lin W W, Wu W T. Energy consumption measurement and management in cloud computing environment[J]. Journal of Software, 2016, 27(4):1026-1041.(in Chinese)
[11] 赵姗,杨秋松,李明树.性能非对称多核处理器下异构感知调度技术[J].软件学报,2019, 30(4):1164-1190. Zhao S, Yang Q S, Li M S. Heterogenity-aware scheduling research on performance asymmetric multicore processors[J]. Journal of Software, 2019, 30(4):1164-1190.(in Chinese)
[12] 曹天威,谢威,徐友云,等. M2M通信中能耗均衡的联合分簇-休眠管理策略[J].应用科学学报,2015, 33(4):341-350. Cao T W, Xie W, Xu Y Y, et al. Energy-balanced joint clustering-sleep management strategy for machine-to-machine communications[J]. Journal of Applied Sciences, 2015, 33(4):341-350.(in Chinese)
[13] 吴小东,韩建军.云数据中心基于阈值的虚拟机迁移节能调度算法[J].华中科技大学学报(自然科学版),2018, 46(9):30-34. Wu X D, Han J J. Threshold-based energy-efficient VM scheduling in cloud datacenters[J]. Journal of Huazhong University of Science and Technology (Natural Science Edition), 2018, 46(9):30-34.(in Chinese)
[14] 汤莉,何丽,周彩云.云计算环境下虚拟机动态整合关键技术研究进展[J].陕西师范大学学报(自然科学版),2018, 46(1):25-36. Tang L, He L, Zhou C Y, Research progress on key technologies of VM dynamic consolidation in cloud computing[J]. Journal of Shaanxi Normal University (Natural Science Edition), 2018, 46(1):25-36.(in Chinese)
[15] 李飞标,虞慧群,范贵生.基于能耗降低的虚拟机动态迁移算法[J].华东理工大学学报(自然科学版),2017, 43(5):692-697. Li F B, Yu H Q, Fan G S. Live migration algorithm of virtual machine for reduce energy consumption[J]. Journal of East China University of Science and Technology (Natural Science Edition), 2017, 43(5):692-697.(in Chinese)