Question: 7) (10 points) Consider a 3-way set associative cache. A, B, C, D are memory addresses that have the same index bits but different tag

 7) (10 points) Consider a 3-way set associative cache. A, B,

7) (10 points) Consider a 3-way set associative cache. A, B, C, D are memory addresses that have the same index bits but different tag bits from each other. In a program, the memory reference sequence is as follows A, B, C, A, D, C, B, D,A, B a) (5 points) What is the miss rate if the cache is using a Least-Recently-Used (LRU) replacement policy? Show the content of the cache after each access on a table consisting of a column with the reference sequence, a column to indicate if it is a hit or a miss and a column (with as many sub-columns as the size of the set) to show the data within the cache afher each access. b) (5 points) What is the miss rate if the cache is using a Most-Recently-Used (MRU replacement policy? Show the content of the cache after each access on a table consisting of a column with the reference sequence, a column to indicate if it is a hit or a miss and a column (with as many sub-columns as the size of the set) to show the data within the cache afher each access

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!