DocumentCode
2746117
Title
Exploring code cache eviction granularities in dynamic optimization systems
Author
Hazelwood, Kim ; Smith, James E.
Author_Institution
Div. of Eng. & Appl. Sci., Harvard Univ., Cambridge, MA, USA
fYear
2004
fDate
20-24 March 2004
Firstpage
89
Lastpage
99
Abstract
Dynamic optimization systems store optimized or translated code in a software-managed code cache in order to maximize reuse of transformed code. Code caches store superblocks that are not fixed in size, contain links to other superblocks, and carry a high replacement overhead. These additional constraints reduce the effectiveness of conventional hardware-based cache management policies. In this paper, we explore code cache management policies that evict large blocks of code from the code cache, thus avoiding the bookkeeping overhead of managing single cache blocks. Through a combined simulation and analytical study of cache management overheads, we show that employing a medium-grained FIFO eviction policy results in an effective balance of cache management complexity and cache miss rates. Under high cache pressure the choice of medium granularity translates into a significant reduction in overall execution time versus both coarse and fine granularities.
Keywords
cache storage; optimising compilers; cache replacement overhead; code cache eviction granularities; dynamic optimization system; hardware-based cache management policies; program translation; Analytical models; Dynamic compiler; Hardware; Image sequence analysis; Optimizing compilers; Performance analysis; Runtime; Software systems; Steady-state; Streaming media;
fLanguage
English
Publisher
ieee
Conference_Titel
Code Generation and Optimization, 2004. CGO 2004. International Symposium on
Print_ISBN
0-7695-2102-9
Type
conf
DOI
10.1109/CGO.2004.1281666
Filename
1281666
Link To Document