Cache-conscious data placement
Brad Calder, Chandra Krintz, Simmi John et al. · ACM SIGOPS Operating Systems Review · 1998
As the gap between memory and processor speeds continues to widen, cache eficiency is an increasingly important component of processor performance. Compiler techniques have been used to improve instruction cache pet$ormance by mapping code with temporal locality to different cache blocks in the virtual address space eliminating cache conflicts. These code placement techniques can be applied directly to the problem of placing data for improved data cache pedormance.In this paper we present a general framework for Cache Conscious Data Placement. This is a compiler directed approach that creates an address placement for the stack (local variables), global variables, heap objects, and constants in order to reduce data cache misses. The placement of data objects is guided by a temporal relationship graph between objects generated via profiling. Our results show that profile driven data placement significantly reduces the data miss rate by 24% on average.
Cited by 9 works. doi:10.1145/384265.291036 Open-access PDF
Authors
References
- ATOM
- Evaluating associativity in CPU caches
- Achieving high instruction cache performance with an optimizing compiler
- Cache profiling and the SPEC benchmarks: a case study
- Compiler optimizations for improving data locality
- Improving direct-mapped cache performance by the addition of a small fully-associative cache and prefetch buffers
- Data transformations for eliminating conflict misses
- Using generational garbage collection to implement cache-conscious data placement
- Reducing false sharing on shared memory multiprocessors through compile time data transformations
- Analysis of multi-megabyte secondary CPU cache memories