Under what circumstances do page faults occur? Describe the actions taken by the operating system when a page fault occurs.
Read moreTable of Contents
Textbook Solutions for Operating System Concepts
Question
Consider the following page reference string:7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1, 0, 5, 4, 6, 2, 3, 0 , 1.Assuming demand paging with three frames, how many page faultswould occur for the following replacement algorithms? LRU replacement FIFO replacement Optimal replacement
Solution
The first step in solving 9 problem number 21 trying to solve the problem we have to refer to the textbook question: Consider the following page reference string:7, 2, 3, 1, 2, 5, 3, 4, 6, 7, 7, 1, 0, 5, 4, 6, 2, 3, 0 , 1.Assuming demand paging with three frames, how many page faultswould occur for the following replacement algorithms? LRU replacement FIFO replacement Optimal replacement
From the textbook chapter Virtual
Memory you will find a few key concepts needed to solve this.
Visible to paid subscribers only
Step 3 of 7)Visible to paid subscribers only
full solution