

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CPU Cache
CPU Cache
Cache Size (KB)
1-way
2-way 4-way 8-way Capacity
Compulsory
Conflict
Block Size Block Size Block Size
Miss Rate
Miss Penalty
X = Avg. Memory Access Time
Block Size Block Size
Block Size (bytes)
Miss Rate
**1. Reduced compulsory misses -improved spatial locality
Block size Miss rates by cache size (bytes)
Miss penalty
Block AMAT by cache size size (bytes)
Cache Size (KB)
1-way
2-way 4-way
8-way Capacity
Compulsory
Conflict
2:1 Cache Rule: Miss rate of a direct mapped cache of size n is about the same as a two-way set associative cache of size n/2 (i.e. miss rates similar for half sized cache with small increase (to two-way) in associativity)
8-way set associative is practically as effective as fully associative
.
.
.
.
.
.
.
.
.
.
.
.
8-way .087 .054 .039 .029.
4-way .095 .064 .049 .035.
2-way .105 .076 .057 .038.
1-way .133 .098 .072 .046.
Degree Miss rates by cache size Associative