Using Hardware Performance Monitors to Isolate Memory Bottlenecks

Bryan R. Buck, Jeffrey K. Hollingsworth · 2000

In this paper, we present and evaluate two techniques that use different styles of hardware support to provide data structure specific processor cache information. In one approach, hardware performance counter overflow interrupts are used to sample cache misses. In the other, cache misses within regions of memory are counted to perform an n-way search for the areas in which the most misses are occurring. We present a simulation-based study and comparison of the two techniques. We find that both techniques can provide accurate information, and describe the relative advantages and disadvantages of each. 1 Introduction As processor speeds have rapidly increased, the gap between these speeds and the access time of main memory has widened. Because of this, it is becoming ever more important for applications to make effective use of memory caches. Information about an application 's interaction with the cache is therefore crucial to tuning its performance. To be most useful to a programmer...

Cited by 33 works. doi:10.5555/370049.370420

Authors

References