Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M5806

Resource Starvation

Resource Starvation
SystemsHigh supportSystems Theory
Included
account_tree

Updated 2026-08-05

Loading revision record…

Summary

Resource starvation occurs when a task cannot obtain the resource it needs because other tasks continually take it, so it never progresses even without a deadlock.

Definition

A condition in concurrent systems in which a process or thread is indefinitely denied the resources it requires by scheduling policy, priority, or lock contention, while the system as a whole continues to run. Unlike deadlock, no circular wait exists, so the blocked task is not part of a cycle and the system is not frozen. The core claim is that progress for the whole does not imply progress for every part. The qualification is that starvation is a liveness problem and must be addressed by fairness mechanisms rather than by adding capacity alone.

How to use

- Use Starvation Scan: Identify tasks that are always deprioritized and never actually execute. - Use Fairness Design: Use aging, fair queues, or priority inheritance so every task eventually runs. - Use Reserve Bandwidth: Allocate guaranteed capacity to low-priority work such as maintenance and health.

Mechanism

Scheduling policies that always favor the highest-priority ready task leave lower-priority work permanently unselected whenever higher-priority work is available. If high-priority work arrives continuously, the lower task never runs, even though the system is not blocked and no cycle exists. Because the failure is an absence of progress rather than a stall, it is invisible in throughput metrics until the starved function collapses.

Practice

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • A low-priority thread never obtains CPU time when high-priority work arrives continuously.
  • A transaction waiting on a lock can starve indefinitely while other transactions keep acquiring it.
  • Personal maintenance and health tasks starve when urgent work always takes priority.

Common pitfalls

  • Confusing starvation with deadlock misses that starvation blocks only some tasks rather than the whole system.
  • Assuming that raising priorities solves the problem can simply move the starvation to another task.
  • Ignoring low-priority work until it fails leaves the system exposed to collapse at its edges.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Resource_starvationZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS