Working Set Example
• Assume 3 page frames
• Let interval  be w = 5
• 1 2 3 2 3 1 2 4 3 4 7 4 3 3 4 1 1 2 2 2 1
   W={1,2,3}       W={3,4,7}   W={1,2}
– if w too small, will not encompass locality
– if w too large, will encompass several localities
– if w infinity, will encompass entire program
• if Total WS > physical memory thrashing
– Need to suspend a process (to free up physical memory)