How do you limit the effect of thrashing?
Matthew Barrera
Updated on June 06, 2026
We can limit the effects of thrashing by using a local replacement algorithm (or priority replacement algorithm). With local replacement, if one process starts thrashing, it cannot steal frames from another process and cause the latter to thrash as well.
What is thrashing How can it be reduced?
When this swapping activity is occurring such that it is the major consumer of the CPU time, then you are effectively thrashing. You prevent it by running fewer programs, writing programs that use memory more efficiently, adding RAM to the system, or maybe even by increasing the swap size.What is cause of thrashing how can it be prevented?
Thrashing is caused by under allocation of the minimum number of pages required by a process, forcing it to continuously page fault. The system can detect thrashing by evaluating the level of CPU utilization as compared to the level of multiprogramming. It can be eliminated by reducing the level of multiprogramming.Which of the following techniques can be used to reduce thrashing?
A more direct approach to handling thrashing is the one that uses the Page-Fault Frequency concept. The problem associated with Thrashing is the high page fault rate and thus, the concept here is to control the page fault rate.Which of the following does not help in limiting the effect of thrashing?
The main objective of local replacement algorithm it set the limit of effect of thrashing. In the local replacement it select the pages which are in the local memory this algorithm is not fruitful to limit the he effect of thrashing.L-5.16: What is Thrashing | Operating System
What is thrashing how it is controlled using working set principle?
Working-Set ModelThe basic principle states that if we allocate enough frames to a process to accommodate its current locality, it will only fault whenever it moves to some new locality. But if the allocated frames are lesser than the size of the current locality, the process is bound to thrash.