adspace
What is the cause of thrashing? How does the system detect thrashing? Once it detects thrashing, what can the system do to eliminate this problem?
Answer Posted / Ravindra Prasad
Thrashing occurs when a system's CPU utilization is high because it spends more time managing processes and less time executing them. This happens when there are too many processes in the ready queue, causing excessive context switching. The operating system can detect thrashing by monitoring parameters such as CPU usage, memory usage, and process waiting times. To eliminate thrashing, the system can perform techniques like dynamic memory allocation, prioritizing processes, or reducing the number of running processes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers