Title
Trading cache hit rate for memory performance
Abstract
Most of the prior compiler based data locality optimization works target exclusively cache locality optimization, and row-buffer locality in DRAM banks received much less attention. In particular, to the best of our knowledge, there is no single compiler based approach that can improve row-buffer locality in executing irregular applications. This presents a critical problem considering the fact that executing irregular applications in a power and performance efficient manner will be a key requirement to extract maximum benefits from emerging multicore machines and exascale systems. Motivated by these observations, this paper makes the following contributions. First, it presents a compiler-runtime cooperative data layout optimization approach that takes as input an irregular program that has already been optimized for cache locality and generates an output code with the same cache performance but better row-buffer locality (lower number of row-buffer misses). Second, it discusses a more aggressive strategy that sacrifices some cache performance in order to further improve row-buffer performance (i.e., it trades cache performance for memory system performance). The ultimate goal of this strategy is to find the right tradeoff point between cache performance and row-buffer performance so that the overall application performance is improved. Third, the paper performs a detailed evaluation of these two approaches using both an AMD Opteron based multicore system and a multicore simulator. The experimental results, collected using five real-world irregular applications, show that (i) conventional cache optimizations do not improve row-buffer locality significantly; (ii) our first approach achieves about 9.8% execution time improvement by keeping the number of cache misses the same as a cache-optimized code but reducing the number of row-buffer misses; and (iii) our second approach achieves even higher execution time improvements (13.8% on average) by sacrificing cache performance for additional memory performance.
Year
DOI
Venue
2014
10.1145/2628071.2628082
PACT
Keywords
Field
DocType
data locality,compiler,row buffer,irregular application,compilers,cache,optimization
Cache-oblivious algorithm,Cache invalidation,Cache pollution,Cache,Computer science,Parallel computing,Cache algorithms,Page cache,Real-time computing,Cache coloring,Smart Cache
Conference
ISSN
ISBN
Citations 
1089-795X
978-1-5090-6607-0
2
PageRank 
References 
Authors
0.37
23
6
Name
Order
Citations
PageRank
Wei Ding113011.67
Mahmut T. Kandemir27371568.54
Diana Guttman3293.07
Adwait Jog456823.32
Chita R. Das5146780.03
Praveen Yedlapalli6494.42