full associative cache
set associative cache
least recently used (LRU)
average memory access time (AMAT) definition
If the clock rate is increased without changing the memory system, the fraction of execution time due to cache misses _____ relative to total execution time
set associative
increasing the set associativity usually ___ the miss rate but ___ the hit time
multilevel cache
The second-level cache in a multi-level cache is typically used to reduce the multi-level cache’s _____.
global miss rate
The fraction of references that miss in all levels of a multilevel cache
local miss rate
First-level caches are more concerned about _____.
Second-level caches are more concerned about _____.
average memory access time (AMAT) formula
loads/stores move between the ___ and the __ in the memory hierarchy
register file, cache
the operating system moves between __ and the ___ in the memory hierarchy
OS, disk
true structure of memory hierarchy
three rules of memory hierarchy
reduce compulsory misses (2 ways)
reduce conflict misses (1 way)
reduce capacity misses (2 ways)
how is a block found?
where can a block be placed?
In direct mapped cache:
- In one specific block based on modular arithmetic
In set associative cache:
- A block can be placed in any one of the k block storage locations provided by the set
least recently used (LRU)
not recently used (NRU)