Question: ( 8 points ) In this exercise, we will examine how replacement policies impact miss rate. Assume a 2 - way set associative cache with
points
In this exercise, we will examine how replacement policies impact miss rate. Assume a way set associative cache with blocks. To solve the problems in this exercise, you may find it helpful to draw a table like the one below, as demonstrated for the address sequence
tabletableAddress ofMemoryBlock AccessedHit or Miss,tableEvictedBlockContents of Cache Blocks After ReferenceSet Set Set Set Miss,,MemMiss,,MemMemMiss,,MemMemMemMiss,,MemMemMemMemMiss,MemMemMemMemdots
Consider the following address sequence:
Assuming an LRU replacement policy, how many hits does this address sequence exhibit? Please show the status of the cache after each address is accessed.
Assuming an MRU most recently used replacement policy, how many hits does this address sequence exhibit? Please show the status of the cache after each address is accessed.
File Preview
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
