Search⌘ K

Introduction to Swapping: Mechanisms

Explore how operating systems manage large virtual address spaces using swapping mechanisms that move data between fast memory and slower storage. Understand the role of swap space in supporting multiprogramming and creating the illusion of large memory capacity.

We'll cover the following...

Thus far, we’ve assumed that an address space is unrealistically small and fits into physical memory. In fact, we’ve been assuming that every address space of every running process fits into memory. We will now relax these big assumptions, and assume that we wish to support many concurrently-running large address spaces.

To do so, we require an additional level in the memory hierarchy. Thus far, we have assumed that all pages reside in physical memory. However, to support large address spaces, the OS will need a place to stash away portions of address spaces that currently aren’t in great demand. In general, the characteristics of such a location are that it should ...