< previous page page_332 next page >

Page 332
0332-01.gif
Figure 5.53
Cache configuration.
For the D-cache, we select:
Size:
32KB
Organization:
set associative degree 2
Replacement:
random
Writes :
no allocate on write
Write-through

In selecting random replacement (RAND), we should adjust the miss rates upward by about 12%. Our evaluation is also affected by our degree of association. Miss rate is increased by 15% for two-way associative cache.
Thus, the effec tive miss rates are now:
d87111c01013bcda00bb8640fdff6754.gif
(Miss rate) ´ (adjustment for RAND) ´ (adjustment for associativity).
For instructions:
0.03 ´ 1.12 ´ 1.15 = 0.039.
For data:
.044 ´ 1.12 ´ 1.15 = 0.057.

Each cache is organized as in Figure 5.53.
Processor performance with cache and six-cycle miss penalty is:
d87111c01013bcda00bb8640fdff6754.gif
2.82 + 0.73 ´ .039 ´ 6 + 0.34 ´ 0.057 ´ 6 = 2.82 + .29 = 3.11 CPI.

 
< previous page page_332 next page >