Virtual Memory - giving the illusion of more physical memory
than there really is (via demand paging)
Pure Paging - The total program is kept in memory as sets of
(non-contiguous) pages
No illusion of virtual memory
Demand Paging - A program’s “working set” is kept in
memory, reference outside WS causes corresponding code to
be retrieved from disk (“page fault”)
Provides the illusion of virtual memory
CS3204 - Arthur
Paging Systems
Processes (programs) are
divided into fixed size pieces
called Pages
Main memory is divided into
fixed size partitions called
Blocks (Page Frames)
Pure Paging - entire program is
kept in memory during
execution, but pages are not
kept in contiguous blocks
Demand paging - only parts of
program kept in memory during
execution, pages are not kept in
contiguous blocks
No comments:
Post a Comment