Question: A process contains eight virtual pages on disk and is assigned a fixed allocation of four page frames in main memory. Assume that the frames

A process contains eight virtual pages on disk and is assigned a fixed allocation of four page frames in main memory. Assume that the frames are initially empty. The following page trace occurs: 1 0 2 2 1 7 6 7 0 1 2 0 3 0 4 5 1 5

(1) Define the OPT replacement policy ;

(2) Show the successive pages residing in the four frames using the OPT replacement policy.

(3) Compute the hit ratio in main memory.

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!