|
From: Vasilis no <pao...@gm...> - 2009-12-22 11:36:55
|
Hi Is there any note about how cachegrind simulates the replacement of data in L1/L2 cache, I mean how does cachegrind decide which will be loaded from main memory to cache. Thanks in advance |
|
From: Josef W. <Jos...@gm...> - 2009-12-22 15:29:22
|
On Tuesday 22 December 2009, Vasilis no wrote: > Hi > > Is there any note about how cachegrind simulates the replacement of data in > L1/L2 cache, I mean how does cachegrind decide which will be loaded from > main memory to cache. Hmm.. this should be part of 5.6.1 (Cache Simulation Specifics). It seems it got lost. Anyway: the replacement strategy is LRU. This is done by maintaining an LRU list for every set. Josef > > Thanks in advance > |