Cache interference phenomena
- 1 May 1994
- conference paper
- Published by Association for Computing Machinery (ACM)
- Vol. 22 (1) , 261-271
- https://doi.org/10.1145/183018.183047
Abstract
The impact of cache interferences on program performance (particularly numerical codes, which heavily use the memory hierarchy) remains unknown. The general knowledge is that cache interferences are highly irregular, in terms of occurrence and intensity. In this paper, the different types of cache interferences that can occur in numerical loop nests are identified. An analytical method is developed for detecting the occurrence of interferences and, more important, for computing the number of cache misses due to interferences. Simulations and experiments on real machines show that the model is generally accurate and that most interference phenomena are captured. Experiments also show that cache interferences can be intense and frequent. Certain parameters such as array base addresses or dimensions can have a strong impact on the occurrence of interferences. Modifying these parameters only can induce global execution time variations of 30% and more. Applications of these modeling techniques are numerous and range from performance evaluation and prediction to enhancement of data locality optimizations techniques.Keywords
This publication has 4 references indexed in Scilit:
- To copy or not to copyPublished by Association for Computing Machinery (ACM) ,1993
- A data locality optimizing algorithmACM SIGPLAN Notices, 1991
- Supercomputer performance evaluation and the Perfect BenchmarksPublished by Association for Computing Machinery (ACM) ,1990
- Cache MemoriesACM Computing Surveys, 1982