Once it detects thrashing, what can the system do to eliminate this problem? - 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.
If available memory is too short to hold entire working set.The process will cause many page faults and run slowly,since executing an instruction takes a few nanoseconds and reading in a page takes 10 milliseconds.At the rate of one or two instructions per 10 milliseconds.It will take ages to finish.A program causing page faults every few instructions is said to be Trashing.
CPU has limited memory, at that instant of memory if we increase the number of processes then throughput is also increase but after certain limit if we add more processes to the cpu then their is a shortage of memory which will put of tlot of page faults and maaxmimum time CPU will be consume in page swapping which decrease the throughput a well as performance.
To avoid this, Cpu has a thrashing point, after the peak point of thrashing it cannot allow more processes to enter in the processor.