Paging
Demand paging
- don’t load page until absolutely necessary
- commonly used in most systems
- doing things one at a time can be slower than batching them.
Prepaging
- anticipate fault before it happens
- overlap fetch with computation
- hard to predict the future
- some simple schemes (hints from programmer or program behavior) can work.
- vm_advise
- larger “virtual” page size
- sequential pre-paging from mapped files