基于频繁模式挖掘的GCC编译时能耗演化优化算法
作者:
作者单位:

作者简介:

倪友聪(1976-),男,安徽肥西人,博士,副教授,主要研究领域为数据驱动的软件工程;叶鹏(1976-),男,博士,讲师,主要研究领域为基于搜索的软件工程;吴瑞(1992-),男,学士,主要研究领域为数据驱动的软件工程;李汪彪(1980-),男,讲师,主要研究领域为智能电子系统;杜欣(1979-),女,博士,副教授,主要研究领域为人工智能,数据驱动的软件工程;肖如良(1966-),男,博士,教授,博士生导师,主要研究领域为机器学习,系统安全.

通讯作者:

杜欣,E-mail:xindu79@126.com;叶鹏,E-mail:whuyp@126.com

中图分类号:

基金项目:

福建省新世纪优秀人才项目;福建省自然科学基金(2015J01235,2017J01498);福建省教育厅JK类项目(JK2015006);湖北省自然科学基金(2018CFB689)


Evolutionary Algorithm for Optimization of Energy Consumption at GCC Compile Time Based on Frequent Pattern Mining
Author:
Affiliation:

Fund Project:

New Century Talent Supporting Program of Fujian Province; Natural Science Foundatiuon of Fujian Province (2015J01235, 2017J01498); JK Fund of Education Bureau, Fujian Province (JK2015006); Natural Science Foundatiuon of Hubei Province (2018CFB689)

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    演化算法通过搜寻GCC编译器最优编译选项集,对可执行代码的能耗进行改进,以达到编译时优化嵌入式软件能耗的目的.但这类算法未考虑多个编译选项之间可能存在相互影响,导致了其解质量不高且收敛速度慢的问题.针对这一不足,设计了一种基于频繁模式挖掘的遗传算法GA-FP.该算法在演化过程中利用频繁模式挖掘得到出现频度高且能耗改进大的一组编译选项,并以此作为启发式信息,设计了"增添"和"删减"两种变异算子,帮助提高解质量和加快收敛速度.与Tree-EDA算法在5个不同领域的8个典型案例下进行对比实验,结果表明,该GA-FP算法不仅能够更有效地降低软件能耗(平均降低2.5%,最高降低21.1%),而且还能在获得不劣于Tree-EDA能耗优化效果的前提下更快地收敛(平均加快34.5%,最高加快83.3%),最优解中编译选项的相关性分析进一步验证了所设计变异算子的有效性.

    Abstract:

    The evolutionary algorithms have been used to improve the energy consumption of executable code of embedded software by searching the optimal compilation options of GCC compiler. However, such algorithms do not consider the possible interaction between multiple compilation options so that the quality of their solutions is not high, and their convergence speed is slow. To solve this problem, this study designs an evolutionary algorithm based on frequent pattern mining, called GA-FP. In the process of evolution, GA-FP uses frequent pattern mining to obtain a set of compilation options which are of high-frequency and contribute to significant improvement on energy consumption. The derived options are used as the heuristic information and two mutation operators of ADD and DELETE are designed to increase the quality of solution and accelerate the convergence speed. The comparative experiments are done on 8 typical cases in 5 different fields between Tree-EDA and GA-FP. The experimental results indicate that the GA-FP can not only reduce the energy consumption of software more effectively (the average and maximal reduction ratios are 2.5% and 21.1% respectively), but also converge faster (the average of 34.5% faster and up to 83.3% faster) when the energy optimization effect obtained by GA-FP is no less than that of Tree-EDA. The correlation analysis of compilation options in the optimal solution further validates the effectiveness of the designed mutation operators.

    参考文献
    相似文献
    引证文献
引用本文

倪友聪,吴瑞,杜欣,叶鹏,李汪彪,肖如良.基于频繁模式挖掘的GCC编译时能耗演化优化算法.软件学报,2019,30(5):1269-1287

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2018-09-01
  • 最后修改日期:2018-10-31
  • 录用日期:
  • 在线发布日期: 2019-05-08
  • 出版日期:
文章二维码
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号