Question: Consider a cache with a line size of 64 bytes. Assume that on average 30% of the lines in the cache are dirty. A word
a. Assume there is a 3% miss rate (0.97 hit ratio). Compute the amount of main memory traffic, in terms of bytes per instruction for both write-through and write-back policies. Memory is read into cache one line at a time. However, for write back, a single word can be written from cache to main memory.
b. Repeat part a for a 5% rate.
c. Repeat part a for a 7% rate.
d. What conclusion can you draw from these results?
Step by Step Solution
3.41 Rating (164 Votes )
There are 3 Steps involved in it
a Consider the execution of 100 instructions Under writethrough this creates 200 cache references 16... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
896-C-S-S-A-D (2366).docx
120 KBs Word File
