Reasons of Starvation
- There are not enough resources available to everyone during starvation, and processes begin to lose priority.
- If higher-priority processes continuously monopolize the processor, a lower-priority operation might have to wait indefinitely. As a result of the low-priority programs not communicating with anything, Starvation cannot result in a standstill.
- A process may have to wait a lengthy period if a random selection of processes is employed due to non-selection.
- Since starvation is a failsafe way to break a deadlock, the way it impacts the system as a whole is far more crucial.
- Starvation may result if a process is never given the resources it needs to be executed due to poor resource allocation decisions.
Starvation and Aging in Operating Systems
Starvation occurs when a process in the OS runs out of resources because other processes are using it. This is a problem with resource management while Operating systems employ aging as a scheduling approach to keep them from starving. It is one of the most common scheduling algorithms in batch systems. Each process is assigned a priority. The process with the highest priority is to be executed first and so on. Here we will be discussing a major problem related to priority scheduling and its solution.
Contact Us