Question: A process contains six virtual pages on disk and is assigned a fixed allocation of four (4) frames in the main memory. Consider the following

 A process contains six virtual pages on disk and is assigned

A process contains six virtual pages on disk and is assigned a fixed allocation of four (4) frames in the main memory. Consider the following virtual page reference string: 1,2,3,0,4,0,4,3,1,2,0,5,2,4,1 a. How many page faults would occur if Optimal policy is used? Show clearly when each page fault would occur. (4 marks) b. How many page faults would occur if FIFO policy is used? Show clearly when each page fault would occur. (4 marks) c. How many page faults would occur if LRU policy is used? Show clearly when each page fault would occur. (4 marks) d. Explain the limitation of Optimal policy. (2 marks)

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!