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 a system that uses pure demand paging.a. When a process first starts execution, how would you characterizethe page-fault rate?b. Once the working set for a process is loaded into memory, howwould you characterize the page-fault rate?c. Assume that a process changes its locality and the size of the newworking set is too large to be stored in available free memory.Identify some options system designers could choose from tohandle this situation.
Solution
The first step in solving 9 problem number 16 trying to solve the problem we have to refer to the textbook question: Consider a system that uses pure demand paging.a. When a process first starts execution, how would you characterizethe page-fault rate?b. Once the working set for a process is loaded into memory, howwould you characterize the page-fault rate?c. Assume that a process changes its locality and the size of the newworking set is too large to be stored in available free memory.Identify some options system designers could choose from tohandle this situation.
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