What to Page in
• Demand paging brings in the faulting page
– To bring in more pages, we need to know the future
• Users don’t really know the future, but a few OSs
have user-controlled pre-fetching
• In real systems,
– load the initial page
– Start running
– Some systems (e.g. WinNT will bring in additional
neighboring pages (clustering))
• Also
– Figure out working set from previous activity
– Page in entire working set of a swapped out process