Question: Consider a cache memory with 8 cache blocks (0-7). If the memory block requests are in the following order- 3, 5, 2, 8, 0, 6,

Consider a cache memory with 8 cache blocks (0-7). If the memory block requests are in the following order-

3, 5, 2, 8, 0, 6, 3, 9, 16, 20, 17, 25, 18, 30, 24, 2, 63, 5, 82, 17, 24

What is the hit ratio for the above block requests for the following replacement algorithms.

  1. Direct mapped
  2. 2-way set associative mapping using LRU

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!