|
|
|
|
|
|
|
(b) Simple processor with ideal (write-through) cache. |
|
|
|
 |
|
|
|
|
Assume we have the same processor as in (a), but now we have an idealno misses at allwrite-through cache. Only writes go to the memory system. We assume that the writes have only limited buffering and that processor performance is directly affected by memory write contention. (We will consider more complete cache models later in this chapter.) |
|
|
|
 |
|
|
|
|
Assume m = 2. |
|
|
|
 |
|
|
|
|
Compute n: |
|
|
|
 |
|
|
|
|
B(2,0.6,0.2) = 0.54, |
|
|
|
|
|
|
|
|
so that write traffic is affected by |
|
|
|
|
|
|
|
|
and write traffic is slowed down by 10%. Of course, overall processor performance is affected by a lesser amount. For IF and DF, there is no performance slowdown. Thus, the overall performance estimate is: |
|
|
|
 |
|
|
|
|
Perfachieved = .983(25) = 24.6 MIPS. |
|
|
|
|
|
|
|
|
Notes: Part (a) illustrates that for many situations there may not be a great difference between the simple binomial model B(4,3.6,d = 1) = 2.45, and the d-binomial model (a 6% error). Part (b) of this study illustrates the case where n < 1 and d is small. Using the simple binomial model under such conditions produces significant error (> 20%). |
|
|
|
|
|