Explain the Working Set Model. How is the working set window used to estimate the degree of multiprogramming?
Last updated
A process's working set is the distinct pages it referenced in the last Δ references. It captures current locality, and holding it in memory prevents thrashing.
Δ must be tuned: too small underestimates need, while too large spans multiple localities and wastes frames.
Total demand D = Σ WSSi (working set sizes). If D exceeds available frames, the OS suspends a process. If D is well below capacity, it can admit another.