MBA FA II SEM 204 Page Replacement Algorithms in Operating Systems
MBA FA II SEM 204 Page Replacement Algorithms in Operating Systems
MBA FA 204
SUBJECT NAME: OPERATION RESEARCH
UNIT-V
TOPIC NAME:
Page Replacement Algorithms in Operating Systems
In an operating system that uses paging for memory management, a page
replacement algorithm is needed to decide which page needs to be
replaced when new page comes in.
Initially all slots are empty, so when 7 0 1 2 are allocated to the empty slots —> 4 Page
faults
0 is already there so —> 0 Page fault.
when 3 came it will take the place of 7 because it is not used for the longest
duration of time in the future.—>1 Page fault.
0 is already there so —> 0 Page fault..
4 will takes place of 1 —> 1 Page Fault.
Now for the further page reference string —> 0 Page fault because they are
already available in the memory.