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
Assume that you have a page-reference string for a process with mframes (initially all empty). The page-reference string has length p, andn distinct page numbers occur in it. Answer these questions for anypage-replacement algorithms:a. What is a lower bound on the number of page faults?b. What is an upper bound on the number of page faults?
Solution
The first step in solving 9 problem number 2 trying to solve the problem we have to refer to the textbook question: Assume that you have a page-reference string for a process with mframes (initially all empty). The page-reference string has length p, andn distinct page numbers occur in it. Answer these questions for anypage-replacement algorithms:a. What is a lower bound on the number of page faults?b. What is an upper bound on the number of page faults?
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