Question: a . Assume the cache is 5 1 2 bytes, direct - mapped, with 1 6 - byte cache blocks. What is the miss rate?
a Assume the cache is bytes, directmapped, with byte cache blocks. What is the miss rate? b What is the miss rate if we double the cache size to bytes?
c Now assume the cache is bytes, twoway set associative with byte cache blocks. Furthermore, assume that if a cache miss occurs and the set into which the incoming block is to be brought in is full, the cache block that was accessed the furthest in the past is replaced. This is called the Least Recently Used, or LRU, replacement policy. What is the miss rate?
d For the cache in part c will a larger cache size help to reduce the miss rate? Why or why not?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
