Virtual Memory Implementation Considerations
The many different implementations of virtual memory differ in their
treatment of some common considerations:
- When should a process's pages be fetched?
A process initially requires the first page containing its starting
address (and some initial data structures), but thereafter when should
each page be allocated?
A VM system can employ demand paging in which a page is allocated only
when a reference to it is made,
or predictive pre-paging where pages are
"intelligently" allocated before they are required.
- Where in physical memory should pages be allocated?
Should we use
policies such as first-fit, best-fit, or next-fit
(which we saw when discussing basic memory partitioning)?
Does it matter?
CITS2002 Systems Programming, Lecture 14, p7, 12th September 2023.
|