|
From: John R. <jr...@bi...> - 2012-08-27 04:24:37
|
> (2) Replace VG_(cpuid) with, say, VG_(cache_info) which would return > information about the host's caches in a general way: > - number of cache levels > - for each cache level > - split data/insn cache or not > - line size > - cache size > - set associativity Cache policies can be important, too: Action taken upon a miss (read miss allocate? write miss allocate?), replacement algorithm (selecting a victim), interleaving algorithm (map from virtual address to cache set/line), number of levels traversed by a fill, auto pre-fetch (AltiVec, etc.), coherency, coloring (small page size (< 64KB) creates big problems), ... -- |