what is page fault and page miss?

WHAT IS PAGE FAULT AND PAGE HIT.


 Page Fault : When the demanded page or required page is not present in the main memory then it is called page fault. Or when CPU wants to access the page or required page which  is not present in the main memory then Page fault occur.  it is also known as Page miss.

we can also find the Fault Ratio = no. of page Fault / total no. of page.

for example: here CPU demands for page 4( P4) but it is not present in the main memory . 

Page hit  : When the demanded page is present in the main memory then it is called as Page hit .

Page hit Ratio= no of Page hit/ total no of pages.

for example : Here P1, P2 ,P3 are present  in the main memory ,so it is Page hit. 

Post a Comment

have you any doubt then ask.

Previous Post Next Post