what is starvation in os

what is starvation in os

1 year ago 37
Nature

Starvation in OS refers to a problem of resource management where a process does not have access to resources because they are being used by other processes. This can occur in a priority-based scheduling system where high-priority processes are processed first, and low-priority processes may wait indefinitely for resources. Starvation can cause a low-priority process to be blocked for an extended period of time, unable to get the CPU or other resources it needs. Starvation can be resolved using various techniques such as aging, which gradually increases the priority of long-waiting processes. Some common causes of starvation include a lack of resources to provide for every process as required, random selection of processes, and faulty resource allocation decisions. Starvation can be distinguished from deadlock, which occurs when each process holds a resource and waits for other resources held by other processes.

Read Entire Article