The Community for Technology Leaders
Proceedings of the 22nd International Conference on Parallel Architectures and Compilation Techniques (2003)
New Orleans, Louisiana
Sept. 27, 2003 to Oct. 1, 2003
ISSN: 1089-795X
ISBN: 0-7695-2021-9
pp: 68
Xavier Vera , Mälardalens Högskola
Josep Llosa , Universitat Politècnica de Catalunya-Barcelona
Jaume Abella , Universitat Politècnica de Catalunya-Barcelona
Antonio González , Universitat Politècnica de Catalunya-Barcelona
<p>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.</p> <p>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.</p> <p>This paper presents 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.</p> <p>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.</p>
Xavier Vera, Josep Llosa, Jaume Abella, Antonio González, "Optimizing Program Locality Through CMEs and GAs", Proceedings of the 22nd International Conference on Parallel Architectures and Compilation Techniques, vol. 00, no. , pp. 68, 2003, doi:10.1109/PACT.2003.1238003
97 ms
(Ver 3.3 (11022016))