Question: We have a 2 - way set associative cache and we use the recently used bit scheme to implement LRU for a replacement strategy. Answer
We have a way set associative cache and we use the recently used bit scheme to
implement LRU for a replacement strategy. Answer the following questions.
a We have an address that maps to line and the tag matches line of set What
happens with each sets used bit?
b We have an address that maps to line and matches neither tag. How do we decide
which of the two sets to discard?
c We decide to expand the way set associative cache to a way set associative cache.
We cant still use the recently used bit scheme to implement LRU, why not?
d How could we implement LRU for the way set associative cache in place of a single
used bit and why would we not want to do this?
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
