Difference between page fault, page hit, and page miss, Examples, Diagram

optimal page replacement algorithm operating systems

Difference between page fault, page hit, and page miss, Examples and Diagram.

What is Page fault?

When we want to load the page on the memory, and the page is not already on memory, then it is called a page fault. The page fault is also called page miss.

optimal page replacement algorithm operating systems
Figure: optimal page replacement algorithm operating systems

Example of a page fault or page miss

For example, in the diagram page fault is on 2nd, 3rd, 4th and 6th columns.

What is Page Hit?

When we want to load the page on the memory, and the page is already available on memory, then it is called page hit.

Example of the page hit

For example, in the diagram page hit is on the 5th and 7th column.

By:Prof. Fazal Rehman Shamil
CEO @ T4Tutorials
Last Modified: April 19, 2020

Leave a Reply

Your email address will not be published. Required fields are marked *