atom

Deficit Round Robin

Deficit Round Robin (DRR)

💡 The Core Idea

A scheduling algorithm that provides fair bandwidth allocation and handles variable packet sizes with O(1)O(1) complexity, avoiding the high cost of bit-by-bit fair queuing.

🧠 Mechanism

Each flow is assigned:

  1. Quantum (QiQ_i): The bandwidth share per round (e.g., 500 bits).
  2. Deficit Counter (DiD_i): Tracks unused credit.

The Algorithm

🔗 Connections