Question: Q1. A virtual memory system has a virtual address space of 1M words, a physical memory space of 16K words, and page size of 4k

Q1. A virtual memory system has a virtual address space of 1M words, a physical memory space of 16K words, and page size of 4k words.

Consider the following sequences of references to pages:

7, 5, 9, 2, 7, 1, 5, 7, 5, 9

Assume that the memory is initially empty. Consider the three page replacement policies: FIFO, OPT, and LRU. For each of these page replacement policies show

a. the number of page faults caused by the above sequence of page references.

b. the pages that are resident in main memory after each of the above sequence of page references.

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!