Question: [ 3 0 ] Consider a 2 0 4 8 KB , 4 - way set associative write allocate, write back cache using 6 4
Consider a KBway set associative write allocate, write back cache using byte lines
and LRU replacement implemented using counters Addresses are bits. Express your answers
in bytes or KB kilobytes
a How much storage required to implement the tag array for this cache? Remember "tag
array" refers to not just the tags but all other bookkeeping bits necessary to implement the
cache.
b To reduce thrashing you consider making the cache way set associative while keeping
the overall size of the data portion of the cache the same. How much more or less space is
now needed? Show your work. Aside from the increased storage, what other resources that
would require a larger die are necessary?
c As an alternative to increasing the associativity, you consider adding a entry, fully
associative victim cache using true LRU replacement again implemented with counters How
much more space is required by the victim cache including both data and tag arrays than the
original design? What other resources are necessary?
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
