Free Virtual memory lessonsVirtual memory · Stage 2 · Thrashing and the working set · Step 1
Thrashing and the working set
See why a process with too few frames spends its time faulting, and how the working-set model sets the right number. About 14 minutes.
The system is thrashing: the CPU is mostly idle and the disk is busy. What should the OS do?
- AReduce the degree of multiprogramming, suspending a process so the others get enough frames
- BAdmit more processes, to use the idle CPU
- CSwitch the replacement policy to FIFO
Show the answer
Reduce the degree of multiprogramming, suspending a process so the others get enough frames. The working sets of the remaining processes then fit in memory.
4 questions on this idea
Short questions that apply the idea to new cases: trace it, work out a number, put steps in order. A wrong answer explains itself.
Answer them in your browserFree account, no card. Your progress is saved, and the idea comes back in a quick review later.
Sign up free to solve