Introduction

In operating systems that use paging for memory management, page replacement algorithm are needed to decide which page needed to be replaced when new page comes in. Whenever a new page is referred and not present in memory, page fault occurs and Operating System replaces one of the existing pages with newly needed page. Different page replacement algorithms suggest different ways to decide which page to replace. The target for all algorithms is to reduce number of page faults.


Example

MRU Page Replacement Algorithm works on a prediction that the pages that have been used more times in the last few instructions will probably be used again and again.In More Recently Used (MRU) algorithm is a Greedy algorithm where the page to be replaced is Most recently used. The idea is based on locality of reference, the most recently used page is not likely.

Learn More

Page Replacement Algorithms






Click Below for Live Simulation