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

By Prof. Fazal Rehman Shamil
Last modified on April 19th, 2020

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.

Prof.Fazal Rehman Shamil (Available for Professional Discussions)
1. Message on Facebook page for discussions,
2. Video lectures on Youtube
3. Email is only for Advertisement/business enquiries.