DocumentCode :
688382
Title :
Combining Program Analysis and Empirical Search to Optimize Programs
Author :
Pingjing Lu ; Bao Li ; Zhengbin Pang ; Ying Zhang ; Shaogang Wang
Author_Institution :
Sch. of Comput., Nat. Univ. of Defense Technol., Changsha, China
fYear :
2013
fDate :
13-15 Nov. 2013
Firstpage :
1896
Lastpage :
1901
Abstract :
Code optimization improves program performance through program analysis and program transformation, which transforms the program in an equivalent form. The basis of optimization is data flow analysis and control flow analysis. The paper first analyzes the characterization of Mgrid and the kernel Resid routine, including architecture analysis, data flow analysis, and dependence analysis, which is the basis of static optimization. Based on these characterization data, we first apply static optimization to Resid, including DMA access, data reuse, overlapping of computing and DMA, loop unrolling, common sub-expression extraction, Input Value Embedding, etc. and then loop blocking is applied to Resid, and genetic algorithm is utilized to search for the near-optimal blocking size, which further improves the performance of static optimization. The performance of Mgrid is improved by combing static analysis and empirical search, which is verified during the experiments.
Keywords :
data flow analysis; data handling; file organisation; genetic algorithms; optimising compilers; program control structures; search problems; software architecture; DMA access; Mgrid characterization; architecture analysis; characterization data; code optimization; common subexpression extraction; control flow analysis; data flow analysis; data reuse; dependence analysis; empirical search; genetic algorithm; input value embedding; kernel Resid routine; loop blocking; loop unrolling; near-optimal blocking size searching; program analysis; program optimization; program performance improvement; program transformation; static optimization; Arrays; Data transfer; Kernel; Optimization methods; Performance analysis; code optimization; empirical search; program analysis; program transformation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
High Performance Computing and Communications & 2013 IEEE International Conference on Embedded and Ubiquitous Computing (HPCC_EUC), 2013 IEEE 10th International Conference on
Conference_Location :
Zhangjiajie
Type :
conf
DOI :
10.1109/HPCC.and.EUC.2013.272
Filename :
6832155
Link To Document :
بازگشت