Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

18. This problem is about what can be done when a process is larger than physical memory, that is, a process has more virtual pages

image text in transcribed
18. This problem is about what can be done when a process is larger than physical memory, that is, a process has more virtual pages than there are physical page frames. Assume that a process has four pages (numbered 0,1,2,3) in its virtual address space but the computer has only three physical page frames (numbered 0,1,2). The following diagrams show two possible sequences of referenced virtual page numbers by the running process. Write down in the empty slots below each page reference the virtual page that is loaded into each of the physical page frames just after the page reference (in other words, what does the process 's page table look like just after each page reference?Also, write down the total number of page hits and misses. Use the "Leased Recently Used"(LRU) page replacement policy in both cases, so you replace the contents of the page frame that was used the farthest back in time. Page Referenced: 0 23 02 Page Frame 0: Page Frame 1: Page Frame 2: # of hits- # of misses Page Referenced: 0 10 2 3 2 Page Frame 0: Page Frame 1: Page Frame 2: # of hits # of misses

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 19c DBA By Examples Installation And Administration

Authors: Ravinder Gupta

1st Edition

B09FC7TQJ6, 979-8469226970

More Books

Students also viewed these Databases questions

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago