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.
- Direct mapped
- 2-way set associative mapping using LRU
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
