DocumentCode :
478761
Title :
A Lightweight Iterative Compilation Approach for Optimization Parameter Selection
Author :
Che, Yonggang ; Wang, Zhenghua
Author_Institution :
Sch. of Comput., Nat. Univ. of Defense Technol., Changsha
Volume :
1
fYear :
2006
fDate :
20-24 June 2006
Firstpage :
318
Lastpage :
325
Abstract :
A key step in program performance optimization is to determine optimal values for certain parameters. Static approaches determine these values based on analytical models. However, complex computer architectures and complex code structures limit the strength of them. Execution-driven approaches like iterative compilation determine these parameter values by executing the program with different parameter values and select the one with the shortest runtime. These approaches can find excellent results for they accurately account for all machine and program components. But the expensive compilation cost has limited their application scope to embedded applications and a small group of math kernels. We propose a low cost iterative compilation approach Lega (limited execution and genetic algorithm) for scientific program optimization parameter selection. It consists of three components: (1)parameterizations to make use of the native compiler; (2) program reduction transformations to reduce the time spent on evaluating each parameter value; (3)genetic algorithm to accelerate the parameter search process. We apply Lega to three math kernels and three SPEC95 benchmarks on two platforms. Results show that Lega can find excellent parameters comparable to previous iterative methods in much shorter time. Its cost is 5.4% of the original iterative compilation for the three math kernels on average. And its cost is 47.22% of the original iterative compilation for the three SPEC95 benchmarks on average, although the latter uses training input set instead of reference input set for the search procedure
Keywords :
benchmark testing; genetic algorithms; optimising compilers; search problems; Lega; SPEC95 benchmark; code structure; computer architecture; embedded application; execution-driven approach; genetic algorithm; lightweight iterative compilation approach; limited execution; math kernel; parameterization; program reduction transformation; scientific program optimization parameter selection; Analytical models; Computer architecture; Cost function; Genetic algorithms; Iterative algorithms; Iterative methods; Kernel; Optimization; Program processors; Runtime;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer and Computational Sciences, 2006. IMSCCS '06. First International Multi-Symposiums on
Conference_Location :
Hanzhou, Zhejiang
Print_ISBN :
0-7695-2581-4
Type :
conf
DOI :
10.1109/IMSCCS.2006.11
Filename :
4673568
Link To Document :
بازگشت