Question: Question 6 : Cache Mapping - Set Associative Cache ( 1 5 points ) Assume a cache that has 3 2 blocks where each block

Question 6: Cache Mapping - Set Associative Cache (15 points)
Assume a cache that has 32 blocks where each block has 4 words. What would be the miss rate for the following address references for 2-way set associative cache: 0,4,16,132,232,160,1024,32,144,3120,180,2180?(Notice that each cache block has 4 words, i.e.16 bytes, so word-aligned addresses 0,4,8 and 12 will map to the same block in the cache). Use the following table to show the changes made in the cache and indicate whether an access is a hit or miss. At the end, calculate and report the miss rate.
\table[[Set,2-way (blocks),Word 0,Word 1,Word 2,Word 3,Hit /miss],[0,0,,,,,],[1,,,,,],[2,2,,,,,],[3,,,,,],[3,4,,,,,],[5,,,,,],[dots,6,,,,,],[8,7,,,,,]]
\table[[9,18,,,,,],[19,,,,,],[11,20,,,,,],[21,,,,,],[dots,22,,,,,],[14,23,dots,,,,],[28,,,cdots,,],[,29,,,,,]]
 Question 6: Cache Mapping - Set Associative Cache (15 points) Assume

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!