Allocation and scheduling memory use:
- The operating system must allocate sufficient memory to each process, and make sure different processes do not access each other's memory allocation.
- An important feature of most operating systems today is virtual memory: making it look to a process like
there is much more memory than there really is.
- Basic idea of virtual memory:
Allocate swap space on a disk for a program's entire memory needs.
But only have a subset of the data and instructions actually in RAM at any one time.
- How this subset of memory pages is chosen, how it evolves over time, and how the book-keeping is handled, are very important to the efficient operation of a virtual memory system.
From How Stuff Works © (permission requested), click here for their tutorial.
CS1104 Main Page
Last Updated 2002/03/22
© L.Heath, 2000, updated by J.A.N. Lee.