Deadlock Ignorance (original) (raw)

Last Updated : 5 Sep, 2025

The Deadlock Ignorance strategy simply assumes:

Why Use Deadlock Ignorance?

**1. Rarity of Deadlocks:

**2. High Overhead of Handling:

**3. Practical Philosophy:

**Note: many widely used systems, including UNIX and Windows, often adopt deadlock ignorance.

Real-World Examples

**Process Table Limit:

**File System (i-node Table):

**Swap Space Limit:

Advantages of Deadlock Ignorance

  1. **Simplicity: The OS design remains simple without complex prevention or detection algorithms.
  2. **Better Performance: Avoids the runtime overhead of tracking wait-for graphs or running detection cycles.
  3. **Low Development Cost: No need to implement prevention/recovery modules.
  4. **Practical Feasibility: Deadlocks occur so infrequently that ignoring them is often cheaper than handling them.

Disadvantages of Deadlock Ignorance

  1. **Unpredictable Behavior: System may suddenly freeze if deadlock occurs.
  2. **System Crashes: May require reboot, leading to data loss.
  3. **Reduced Reliability: Not acceptable for critical systems.
  4. **No Control: Users cannot resolve deadlocks explicitly.
  5. **Resource Starvation Risk: Processes may remain blocked indefinitely.

**Note: Scientists all over the world believe that the most efficient method to deal with deadlock is deadlock prevention. But the Engineers that deal with the system believe that deadlock prevention should be paid less attention as there are very less chances for deadlock occurrence.