Quick memory stream locality analysis
J. Alakarhu, J. Niittylahti
Abstract
J. Alakarhu, J. Niittylahti
Abstract
Profiling a memory strewn and a memory system will have an increasing importance in the future as memory systems are getting more complex and the gap between processor and memory speeds increases. This paper proposes simple numerical metrics for measuring both temporal and spatial locality. The developed metrics make a strong simplification of a complex issue, but they provide a convenient method to study and distribute information about locality. To facilitate applying the metrics, a tool for calculating them is presented. Finally, the metrics and the tool are illustrated by examining the locality of the post-cache access stream. The results show how heavier caching decreases the temporal locality of the memory stream, but the spatial locality does not behave as consistently.
OpenAlex reports 2 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Profiling a memory strewn and a memory system will have an increasing importance in the future as memory systems are getting more complex and the gap between processor and memory speeds increases. This paper proposes simple numerical metrics for measuring both temporal and spatial locality. The developed metrics make a strong simplification of a complex issue, but they provide a convenient method to study and distribute information about locality. To facilitate applying the metrics, a tool for calculating them is presented. Finally, the metrics and the tool are illustrated by examining the locality of the post-cache access stream. The results show how heavier caching decreases the temporal locality of the memory stream, but the spatial locality does not behave as consistently.
Key concepts: Locality, Locality of reference, Computer science, Principle of locality, Profiling (computer programming), Cache, Parallel computing, Memory map