Policing: drop what is over the limit
A policer measures a subscriber’s traffic against the plan rate and discards whatever arrives above it. It is cheap, because the gateway holds nothing: a packet is either within the rate and forwarded, or over it and dropped.
The cost is paid by the customer’s applications. Most traffic runs over TCP, which treats a dropped packet as a sign of congestion, slows right down, and then speeds up again until the next drop. The result is a sawtooth: the download climbs, hits the policer, falls back and climbs again. The average sits below the plan rate, and the customer sees it as an unsteady line.
Shaping: make the excess wait
A shaper also holds the subscriber to the plan rate, but traffic above the rate waits briefly in a queue instead of being thrown away. The sender sees a steady flow and settles at the plan speed. Downloads run smoothly, and the customer gets the rate they pay for.
What shaping costs
- A queue per subscriber. Shaping needs memory and scheduling for every subscriber who is online. That is real work for a gateway, and it is why many gateways police instead.
- A little delay. Waiting in a queue adds delay for the packets that wait. The queue has to be sized so that a busy download does not make a voice call on the same line suffer.
- Nothing changes below the limit. A subscriber using less than their plan rate is not queued at all.
How to tell which one you have
Run one long download on an otherwise idle line and watch the speed second by second. A steady line at the plan rate points to shaping. A repeating climb and fall points to policing. Counting TCP retransmissions during the test tells you the same thing with a number.
What we chose
OrbEDGE BNG shapes each subscriber in their own queue, and a plan change reaches a live session without reconnecting the customer. Today it enforces one rate per direction for each subscriber. A committed rate with a ceiling, and several priority queues per subscriber, are on the roadmap and not in the current release.
Written by the engineering team at Tathya Technologies.