DocumentCode :
2165063
Title :
Optimizing program locality through CMEs and GAs
Author :
Vera, Xavier ; Abella, Jaume ; González, Antonio ; Llosa, Josep
Author_Institution :
Institutionen for Datateknik, Vasteras, Sweden
fYear :
2003
fDate :
27 Sept.-1 Oct. 2003
Firstpage :
68
Lastpage :
78
Abstract :
Caches have become increasingly important with the widening gap between main memory and processor speeds. Small and fast cache memories are designed to bridge this discrepancy. However, they are only effective when programs exhibit sufficient data locality. Performance of memory hierarchy can be improved by means of data and loop transformations. Tiling is a loop transformation that aims at reducing capacity misses by exploiting reuse at the lower levels of cache. Padding is a data transformation targeted to reduce conflict misses. We present an accurate cost model which makes use of the cache miss equations (CMEs) to guide tiling and padding transformations. It describes misses across different hierarchy levels and considers the effects of other hardware components such as branch predictors. We combine the cost model with a genetic algorithm (GA) to select the tile and pad factors that enhance the program. Our results show that this scheme is useful to optimize programs´ performance. When compared to previous works, we observe that with a reasonable compile-time overhead, our approach obtains significant performance improvements for all studied kernels on a variety of architectures.
Keywords :
cache storage; genetic algorithms; program compilers; program control structures; cache miss equation; cost model; data transformation; genetic algorithm; loop transformation; main memory; padding; padding transformations; processor speed; program locality optimization; tiling transformations; Bridges; Cache memory; Computer architecture; Costs; Delay; Equations; Genetic algorithms; Hardware; Kernel; Tiles;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel Architectures and Compilation Techniques, 2003. PACT 2003. Proceedings. 12th International Conference on
ISSN :
1089-795X
Print_ISBN :
0-7695-2021-9
Type :
conf
DOI :
10.1109/PACT.2003.1238003
Filename :
1238003
Link To Document :
بازگشت