< previous page page_410 next page >

Page 410
6.8.8 Write-Through Cache Example
Assume WTNWA strategy and word-buffered I/O, so that only read misses access lines in memory. Queueing delays occur only when a write buffer is introduced or when I/O effects are taken into account. In the following study, we analyze some typical cases.
Study 6.4 Evaluating Write-Through (WTNWA) Caches
Assume we have determined that our processor traffic is 0.8 reads per cycle and 0.2 writes per cycle. Then, on the basis of read traffic, we determine that our cache has a miss rate of 0.024 misses per reference.
The cache is configured as:
Line size
=
16B
Physical word size
=
4B

and the memory is configured as:
d87111c01013bcda00bb8640fdff6754.gif
Ta = 120 ns, = Tc = 100 ns, Tbus = 40 ns, m = 2.
We compute the cache miss delay for:
(a) No fetch bypass, no write buffer, no I/O effects, ignoring write traffic contention in effective processor performance.
d87111c01013bcda00bb8640fdff6754.gif
This is case 1 in our analysis.
0410-01.gif
d87111c01013bcda00bb8640fdff6754.gif
and from study 6.3:
Twrite interference
=
260 ns
Tmiss
=
Tc.miss + Twrite interference
=
281 ns.

(b) Same as (a), but now including the effects of memory write contention.
d87111c01013bcda00bb8640fdff6754.gif
As with study 6.1(b),
m
=
2,
n
=
0.6,
d
=
0.2,
B(2, 0.5, 0.2)
=
0.54.

 
< previous page page_410 next page >