Demand Paging

A page fault incurs slowdown in the activity of the OS. We can find the new average memory access time that takes such a slowdown into account. To calculate it, we need to know (1) the normal average memory access time (which we calculated in Topic 7, Slide 36), (2) the time it takes to handle a page fault, and (3) the page fault rate on a scale from 0 to 1 (the fraction of memory accesses in which page faults happen).

Examples: