Called block block Cache block 0 counter block Cache block 1 counter block Cache block 2 counter block Cache block 3 counter block Cache block counter Cache block block • counter Cache block block 1...




  1. The following blocks are referenced by the CPU and to be fetched from the RAM to the cache sequentially:




(i   j    k    L   L   j  m j   n    L    m    j    m    L    k    S    j    P    i    O  k)



Assume that the cache set is empty and all the above blocks can be inserted into the set.



Use the LRU algorithm to fill in the following table that describes the status of the cache locations for each called block.


Called block<br>block<br>Cache<br>block 0<br>counter<br>block<br>Cache<br>block 1<br>counter<br>block<br>Cache<br>block 2<br>counter<br>block<br>Cache<br>block 3<br>counter<br>block<br>Cache<br>block<br>counter<br>Cache<br>block<br>block •<br>counter<br>Cache<br>block<br>block 1<br>counter<br>Cache<br>block<br>block Y<br>counter<br>Hit or Fail<br>

Extracted text: Called block block Cache block 0 counter block Cache block 1 counter block Cache block 2 counter block Cache block 3 counter block Cache block counter Cache block block • counter Cache block block 1 counter Cache block block Y counter Hit or Fail

Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here