CS 3733 Operating Systems


Lecture 15 [2/16/98]: Virtual Memory

Reading: SG 9.1-9.4

  • What is virtual memory and why have it?

  • Demand paging - the most common form of virutal memory

  • Page fault rate (p) and hit ratio (h): p is the probability that a memory reference results in a page fault. h = 1 - p is the hit ratio or the probability that a memory reference will not result in a page fault.

  • When a particular page is referenced:

  • The major components of page fault service are:

    The first and third tasks take a few hundred instructions each (perhaps 100 microseconds). Page switching takes perhaps 25 milliseconds. Thus effective memory access time is dominated by the page fault rate.


    Skill: Understand the mechanics of demand paging.


    Revision Date: 2/15/98