Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Given Page requests: Reference string: 1 , 1 , 2 , 1 , 1 , 3 , 1 , 4 , 3 , 2 ,

Given Page requests: Reference string:1,1,2,1,1,3,1,4,3,2,4,2
Draw the memory allocation states as the above pages are being referenced for the given scheduling algorithm (given the respective number of page frames). What is the number of page faults for each algorithm ?
1.LRU
Assume there are 3 page frames of physical memory
2.
NFU / LFU
Assume there are 3 page frames of physical memory
There can be situation/s where more than one page can be evicted. In that case: use LRU to determine which page gets evicted.
3.
AGING
Assume there are 3 page frames of physical memory
Also assume there are 4 bits in the counter for each page
4.
NFU is a page replacement algorithm. But it has a major problem. What is it ? Explain.
6.
Which algorithm is the most efficient algorithm that approximates LRU well ?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions