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

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

In this tutorial, we will try to learn the followings;

  1. What is Page Fault or Page Mis?
  2. Examples of Page Fault or Page Mis
  3. What is Page Hit?
  4. Examples of Page Hit
  5. Diagram of Page fault and Page Hit

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 page fault. The page fault is also called page miss.

Example of a page fault or page miss

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

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 page hit

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

optimal page replacement algorithm operating systems
Figure: Page hit, a Page fault or page miss
Fazal Rehman Shamil
Welcome to all friends. The reason for our success is only your love for T4Tutorials. Our team is always available to answer your queries regarding any kind of confusions or discussion regarding your study and career matters. For discussion with us please join our facebook group "T4Tutorials.com". The link of the group is mentioned below. Thanks and love to all for connecting with us. We are nothing without you. Love you all.....
https://web.facebook.com/groups/2066136233601097/