SET-ASSOCIATIVE CACHE SIMULATION USING GENERALIZED BINOMIAL TREES

Citation
Ra. Sugumar et Sg. Abraham, SET-ASSOCIATIVE CACHE SIMULATION USING GENERALIZED BINOMIAL TREES, ACM transactions on computer systems, 13(1), 1995, pp. 32-56
Citations number
16
Categorie Soggetti
Computer Sciences","Computer Science Theory & Methods
ISSN journal
07342071
Volume
13
Issue
1
Year of publication
1995
Pages
32 - 56
Database
ISI
SICI code
0734-2071(1995)13:1<32:SCSUGB>2.0.ZU;2-S
Abstract
Set-associative caches are widely used in CPU memory hierarchies, I/O subsystems, and file systems to reduce average access times. This arti cle proposes an efficient simulation technique for simulating a group of set-associative caches in a single pass through the address trace, where all caches have the same line size but varying associativities a nd varying number of sets. The article also introduces a generalizatio n of the ordinary binomial tree and presents a representation of cache s in this class using the Generalized Binomial Tree (gbt). The tree re presentation permits efficient search and update of the caches. Theore tically, the new algorithm, GBF_LS, based on the gbt structure, always takes fewer comparisons than the two earlier algorithms for the same class of caches: all-associativity and generalized forest simulation. Experimentally, the new algorithm shows performance gains in the range of 1.2 to 3.8 over the earlier algorithms on address traces of the SP EC benchmarks. A related algorithm for simulating multiple alternative direct-mapped caches with fixed cache size, but varying line size, is also presented.