---
title: "When does trashing occur in Operating System?"  
description: "When does trashing occur in Operating System?"  
author: "Kalin"  
published: 2022-04-04  
canonical: https://answers.mindstick.com/qa/96700/when-does-trashing-occur-in-operating-system  
category: "troubleshooting"  
tags: ["troubleshooting", "operating systems"]  
reading_time: 1 minute  

---

# When does trashing occur in Operating System?

When does trashing occur in Operating System?

## Answers

### Answer by Hitesh Vohra

![When does trashing occur in Operating System?](https://answers.mindstick.com/questionanswer/1dd9081a-71bb-4900-b328-070ea1bb15eb/images/83470186-09c8-492f-9565-821db3406c22.jpeg) **\**

- **Thrashing** occurs when your system begins to devote more time to paging rather than computing. Thrashing causes serious performance issues.
- The operating system keeps track of CPU usage at all times. If the CPU is underutilised, the operating system increases the degree of multiprogramming by introducing more [**processes**](https://answers.mindstick.com/qa/95813/what-are-common-computer-hardware-problems-with-macs) to the system. A global page replacement technique is currently in use.
- So, if the operating system adds new processes, this algorithm will swap in and out some pages. As a result, CPU consumption has increased. OS added new processes to the system in order to boost CPU utilisation. However, after a while, page faults begin to occur, lowering CPU utilisation.
- The operating system creates extra processes, resulting in an increase in page faults and a fall in CPU utilisation.

\

**Read More: [What is Belady's Anomaly in Operating System?](https://answers.mindstick.com/qa/96695/what-is-belady-s-anomaly-in-operating-system)**


---

Original Source: https://answers.mindstick.com/qa/96700/when-does-trashing-occur-in-operating-system

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
