Capacity miss is a miss that is not a compulsory miss but which misses in a
fully associative cache. That is due to the limited size of the cache.
Like Hill, we measure conflict and capacity misses with respect to a fully associative cache using an LRU replacement policy; we did not use the more accurate but more time-consuming metric of Sugumar and Abraham [1993].
We found that a 32KB fully associative cache would remove almost all conflict misses for these codes, hence the significant decrease.
show, for example, that an n-entry, fully associative cache that implements a least recently used (LRU) replacement policy includes all the contents of a similar cache with only (n - 1) entries.
As a consequence of the inclusion property, the number of hits in a fully associative cache of size n ([hits.sub.n]) can be computed from this array by adding all the hit counts up to a stack depth of (n - 1) as follows:
Since this requires an expensive search through all cache lines for every instruction fetch,
fully associative caches are used only when the number of cache lines is small, such as in translation lookaside buffers (TLBs).