Custom Queuing (CQ)
Algorithm (simple GPS emulation):
- Assign each queue a weight.
- Serve non-empty queues in turn in proportion to their queue weights.
- When variable packet sizes:
normalized weight = queue weight/ average packet size
Advantages:
- Fair if packets are identical.
Disadvantages:
- Unfair if packets are of variable length, need to know mean packet size in advance.