Next: Fundamental definitions Up: Memory Hierarchies Previous: Memory Hierarchies

Why Might it Work?

Temporal locality:
recently referenced items are likely to be referenced again soon, e.g. loops, stacks, temporary variables

Spatial locality:
programs tend to access items whose addresses are near one another, e.g. arrays, code segments, stacks
Hit ratio:
the ratio of the number of cache hits to the number of cache accesses



Paul H J Kelly Mon Dec 1 20:13:28 GMT 1997