Virtual Memory

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 on slide 26), (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: