• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2015, Vol. 37 ›› Issue (07): 1227-1232.

• 论文 •    下一篇

一种基于改进模拟退火算法的程序性能优化参数搜索算法

陆平静,李宝,易任娇,张英,王绍刚,庞征斌   

  1. (国防科学技术大学计算机学院,湖南 长沙 410073)
  • 收稿日期:2014-07-15 修回日期:2014-12-22 出版日期:2015-07-25 发布日期:2015-07-25
  • 基金资助:

    国家自然科学基金资助项目(61103014);教育部博士点基金资助项目(20134307120031);国家973计划资助项目(2011CB309705)

An improved simulated annealing algorithm for
program optimization parameters search   

LU Pingjing,LI Bao,YI RenJiao,ZHANG Ying,Wang Shaogang,PANG Zhengbin   

  1. (College of Computer,National University of Defense Technology,Changsha 410073,China)
  • Received:2014-07-15 Revised:2014-12-22 Online:2015-07-25 Published:2015-07-25

摘要:

高级程序变换是提高程序性能的重要手段,很多涉及到优化参数的选择问题,如为循环分块选择适当的分块因子。由于优化参数搜索问题本身是NP难问题,目前尚没有确定性的算法可以有效解决该问题,针对于此,将该问题转化为一个非线性全局最优化问题,提出一种基于改进模拟退火算法的程序性能优化参数搜索算法,实验结果验证了算法的有效性。

关键词: 程序性能优化, 优化变换, 优化参数, 模拟退火

Abstract:

High level program transformations are critical to improve applications’ performance,many of which mainly concern the determination of optimal transformation parameters, such as loop blocking.Since optimization parameter search problem is featured NP-hard,to date,no one can find any deterministic algorithms to efficiently solve this problem.Considering it as a nonlinear global optimization problem,we introduce an improved simulated annealing algorithm to find the optimal parameters.Several comparative experiments demonstrate the performance and effectiveness of the new method.

Key words: performance optimization of programs;optimization transformation;optimization parameters;simulated annealing