Module: B1.5-R5: Data Communications and Computer Networks
Chapter: Data Link Layer
Scheduling mechanisms are algorithms used in networks to decide **which frame or packet should be transmitted next**, especially when multiple queues or priorities exist. These mechanisms ensure fairness, optimized performance, quality of service (QoS), and efficient bandwidth utilization.
Scheduling is crucial in:
FIFO transmits packets in the order they arrive. It is simple but does not support priority or QoS.
Packets: A → B → C Transmission order: A → B → C
Packets are placed in different queues based on priority (High, Medium, Low). The scheduler always serves higher priority queues first.
High Priority Queue → served first Medium Priority Queue → served after high Low Priority Queue → last
Each queue is served in a cyclic order ensuring fairness.
Queues: Q1, Q2, Q3 Order: Q1 → Q2 → Q3 → Q1 → Q2 → Q3 → ...
Each queue is assigned a weight. Higher weights → more packets sent per cycle.
Weights: Q1=3, Q2=2, Q3=1 Order: Q1 Q1 Q1 → Q2 Q2 → Q3 → repeat
FQ divides the available bandwidth equally among all active flows.
Weighted version of FQ. Assigns different bandwidth shares to different flows.
Bandwidth per flow = (Weight_of_flow / Total_weight) × Total_bandwidth
Flow A weight = 2 Flow B weight = 1 Bandwidth → A gets 2x more than B
Theoretical ideal model where flows are served simultaneously with proportional weights.
Real schedulers like WFQ approximate GPS.
Advanced scheduling that handles variable packet sizes.
| Mechanism | Priority Support | Fairness | QoS | Complexity |
|---|---|---|---|---|
| FIFO | No | Low | No | Very Low |
| PQ | Yes | Low | High | Low |
| RR | No | Medium | No | Medium |
| WRR | Yes | Medium | Medium | Medium |
| FQ | No | High | Medium | High |
| WFQ | Yes | High | High | High |
| DRR | Yes | High | Medium | High |
Scheduling mechanisms ensure efficient, fair, and QoS-aware packet transmission in networks. From simple FIFO and RR to advanced WFQ and DRR, scheduling plays a crucial role in routers, switches, wireless networks, and real-time audio/video systems. Choosing the right scheduling algorithm improves performance, reduces delay, and meets QoS guarantees.