QoS, Queueing & Traffic Shaping
Read this concept as one more decision made about a packet in flight. The widget below lets you change the inputs and watch the consequence instead of memorising the rule.
Why it matters
When traffic exceeds link capacity, something must be queued or dropped, and the policy decides which packets wait. Marking and scheduling determine whether latency stays bounded for time-sensitive flows.
On the wire
Routers classify packets using DSCP bits in the IP header or 802.1p priority bits, then place them into queues served by policies such as priority queuing, fair queuing, or token bucket shaping. Congestion avoidance like RED or WRED drops or marks selected packets before a queue fills completely.
When it breaks
A strict-priority queue can starve lower-priority traffic entirely during a burst, causing timeouts elsewhere. A shaper that smooths output adds delay, and remarking DSCP at a trust boundary can silently undo the intended treatment.
Queue & scheduler
Packets arrive with DSCP marks; the scheduler decides which queue is served first.
EF packets are served first. A sustained burst can starve best-effort traffic entirely.