Question: Question 2. Consider a system where the virtual memory page size is 1KB (1024 bytes), and main memory consists of 4 page frames, which are

Question 2. Consider a system where the virtual memory page size is 1KB (1024 bytes), and main memory consists of 4 page frames, which are empty initially. Now consider a process, which requires 8 pages of storage. At some point during its execution, the page table is as shown below: Virtual page # | Physical page # | Valid Fla Y es Yes 0 4 Yes Yes 0 1. List the virtual address ranges that will result in a page fault. 2. Give the following ordered references to the virtual addresses (i) 4500, (ii) 8000, (iii) 3000, (iv) 1100, please calculate the main memory (physical) addresses. If there is a page fault, please use LRU based page replacement to replace the page. How which page will be affected and compute the physical addresses after the page fault. We assume the reference string is... 2 4 7 3043075076023647632 before the new reference
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
