Question: need help with 8.6 8.6. A process contains eight virtual pages on disk and is assigned a fixed allocation of four page frames in main

need help with 8.6
8.6. A process contains eight virtual pages on disk and is assigned a fixed allocation of four page frames in main memory. The following page trace occurs: 1, 0, 2, 2, 1, 7, 6, 7, 0, 1, 2, 0, 3, 0, 4, 5, 1, 5, 2, 4, 5, 6, 7, 6, 7, 2, 4, 2, a. Show the successive pages residing in the four frames using the LRU replacement policy. Compute the hit ratio in main memory. Assume the frames are initially empty b. Repeat part (a) for the FIFO replacement policy c. Compare the two hit ratios and comment on the effectiveness of using FIFO to approximate LRU with respect to this particular trace
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
