
CS 414 : Operating Systems
UNIVERSITY OF VIRGINIA
Department of Computer Science
Fall 2005
Topic 14: Virtual Memory, Demand Paging, and Working Sets
Readings for this topic: Ch.9
Separation of the programmer’s view of memory from the system’s view using a mapping
mechanism. Each sees a different organization. This makes it easier for the OS to shuffle
users around and simplifies memory sharing between users.
However, until now a user process had to be completely loaded into memory before it could
run. Is it absolutely necessary?
What is virtual memory? A technique that allows ...
Is it the same as demand paging?
Intoduce the third party into the scene.
The idea is to produce the illusion of a disk as fast as main memory.
The reason that this works is ...
What is 90-10 rule?
Is past is a good predictor of future?
What if processes access pages randomly?
Two issues:
How does it work? Mechanisms to handle when it references a page that is only in the
backing store.
Scheduling decisions: When to move which pages between memory and disk.
— 14.1 —