期刊文献+

采用机器学习算法的软件能耗感知模型及其应用 被引量:1

An Energy Consumption Model for Softwares Using Machine Learning and Its Applications
下载PDF
导出
摘要 针对软件开发人员不了解代码的能耗,或者即使能测得软件运行时的能耗但由于缺乏对影响能耗的各因素了解的问题,在对4种机器学习算法实验的基础上,选用岭回归算法建立了以软件性能事件为特征的软件能耗模型。以收集的软件能耗测量值和软件性能事件数据作为训练样本,利用岭回归机器学习算法建立平均能耗模型,用平均能耗模型来预测其他软件的平均能耗;并在此基础上,利用软件运行的实时特征提出了实时的能耗模型。实验结果表明:以测量的能耗为基准,采用所提出的平均能耗模型对软件能耗进行预测的误差率在9%以内;与平均能耗模型相比,实时能耗模型的预测误差率更低。采用本文所提出的两种能耗模型,软件设计人员不需要对自己的软件进行测量和训练就可以较准确地估算出软件的能耗并能解释能耗产生的原因,最后根据预测结果对软件的能效进行优化。 An energy consumption model for softwares using machine learning is proposed to address the problem that software developers either are usually not aware of the specific energy consumption of their codes,or may measure the energy consumption of the application softwares using some tools but do not understand the factors which affect energy consumption and the relationship among them.The Ridge machine learning algorithm is adopted based on testings of 4 different machine learning algorithms to establish the model for estimating the software energy consumption characterized by software performance events.First,the collected measurement values of energy consumptions and the data of the software performance events of a set of softwares are used as the training samples,and the machine learning algorithm is applied to build up the energy consumption model.Then the average energy consumption of any other software is estimated using this model.On this basis,a real-time program energy consumption model for the running programs is established.Experimental results show that the energy consumption prediction error given by the proposed average energy consumption model is less than 9%.A comparison with the average energy consumption model shows that the real-time program energy consumption model further reduces the prediction error.When the software designers use the proposed model to get the energy consumption of their codes,they are not required to measure or train their own software.Not only can the energy consumption of the software be accurately estimated,but also the causes of energy consumption can be explained,and the energy efficiency of the software can be optimized according to the prediction result.
作者 傅翠娇 钱德沛 栾钟治 FU Cuijiao;QIAN Depei;LUAN Zhongzhi(School of Computer Science and Engineering,Beihang University,Beijing 100191,China;School of Data and Computer Science,Sun Yat-Sen University,Guangzhou 510275,China)
出处 《西安交通大学学报》 EI CAS CSCD 北大核心 2018年第12期70-76,共7页 Journal of Xi'an Jiaotong University
基金 自然科学基金资助项目(2017YFB0202202)
关键词 机器学习 软件能耗模型 性能事件 能效 machine learning software energy consumption model performance event energy efficiency
  • 相关文献

同被引文献14

引证文献1

二级引证文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部