Thrashing is when the system spends more time paging than executing, because processes do not have enough frames for their active pages, so nearly every access faults.
Vicious cycle: low CPU utilization leads the OS to admit more processes, which causes more faults and even lower utilization.
Fixes: reduce the degree of multiprogramming (suspend or swap out processes), use the working-set model or page-fault-frequency control to give each process enough frames, add RAM, improve locality, and use local replacement so one process cannot steal frames from others.
Loading…