 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
n |
the working
set concept suggest the following
|
|
|
strategy to
determine the resident set size
|
|
|
|
u |
Monitor the
working set for each process
|
|
|
|
u |
Periodically
remove from the resident set of a
|
|
|
process those
pages that are not in the working set
|
|
|
|
u |
When the
resident set of a process is smaller than
|
|
|
its working set,
allocate more frames to it
|
|
|
|
F |
If not enough
free frames are available, suspend
|
|
the process
(until more frames are available)
|
|
|
|
• |
ie: a process may
execute only if its working set is in
|
|
|
main memory
|
|