Question: 2- Show a reference matrix (given the cache holds four lines) performs to realize LRU algorithm with the following sequence: 5, 4, 4, 2,
2- Show a reference matrix (given the cache holds four lines) performs to realize LRU algorithm with the following sequence: 5, 4, 4, 2, 5, 7, 6, 2, 4, 5. Make sure to identify the hit(H) and miss (M). 3- Calculate the cache hit ratio and cache miss ratio for the sequence given at question 2.
Step by Step Solution
There are 3 Steps involved in it
lets simulate a reference matrix for the given sequence using a cache with four lines and implement ... View full answer
Get step-by-step solutions from verified subject matter experts
