Traffic Shaping vs Policing

Run a Speed Test

Shaping and policing both control traffic rate, but they feel very different in real life. Shaping slows packets down deliberately so traffic leaves smoothly. Policing enforces a hard limit and deals with excess traffic immediately, often by dropping it.

The Short Version

MethodWhat It DoesHow It FeelsCommon Place
Traffic shapingQueues and spaces packets so traffic stays within a target rateSmoother, more predictable, lower lossHome QoS, SQM, enterprise WAN edges
Traffic policingDrops, marks, or reclassifies packets above a limitCan feel abrupt if the limit is hit oftenISP enforcement, carrier networks, enterprise ingress limits

Why Shaping Helps Home Networks

Your home connection usually has one narrow point: the upload from your modem to the ISP, or the download from the ISP to your modem. If your router lets traffic blast into that narrow point at full speed, the queue may form in equipment you do not control. That is where bufferbloat begins.

Shaping fixes this by making your router the bottleneck on purpose. It sets a rate slightly below the real usable line speed, then schedules packets intelligently. That sounds like giving up speed, but the trade is tiny: you may lose a few percent of peak throughput while gaining much steadier ping during downloads, uploads, video calls, and gaming.

Why Policing Can Feel Harsh

Policing is a gatekeeper. If traffic arrives above the allowed rate, the policer can drop it, mark it down to a lower class, or otherwise treat it as nonconforming. This is useful for protecting a network from abuse, enforcing a contract, or preventing one customer from exceeding a purchased rate.

For interactive use, policing can be rough because dropped packets have to be retransmitted. A speed test may still show a reasonable average, while a video call stutters because bursts keep running into the limit.

Where You See Each One

ScenarioLikely TechniqueWhat To Do
OpenWrt SQM set to 90 to 95 percent of measured speedShapingGood for latency control
ISP plan capped at 300 MbpsOften policing or shaping upstreamNormal plan enforcement
Router QoS prioritizing games and callsShaping or schedulingUseful if configured with real speeds
Packets dropped when a business link exceeds contract ratePolicingUse shaping before the provider edge

Which One Fixes Bufferbloat?

Shaping is the usual answer. SQM systems such as CAKE and FQ-CoDel work by combining a shaper, fair queueing, and active queue management. The shaper gives your router control over the queue, fair queueing keeps one flow from crowding out the others, and active queue management keeps the queue from growing stale.

Policing may enforce a speed limit, but it does not usually give your router the gentle packet scheduling needed for low latency under load.

A Practical Home Setup Rule

Measure your actual wired download and upload speed when the line is quiet. In your SQM or QoS settings, start at 90 percent of those measured values. Test again while uploading or downloading a large file. If ping still spikes, lower the shaped rate a little. If latency is excellent and speed loss is too high, raise it carefully.

Frequently Asked Questions

Is traffic shaping the same as throttling?

Not always. Traffic shaping is a neutral technique for smoothing traffic into a known rate. Throttling is a policy decision to slow traffic. On a home router, shaping is often used to improve latency rather than punish traffic.

Is policing bad for latency?

It can be. Policing can drop traffic above the limit instead of smoothing it, and repeated drops can create retransmissions, stalls, and uneven performance.

Which one should a home router use?

For latency control, a home router should usually use shaping through SQM or a good QoS system. Policing is more common as an enforcement tool at provider or enterprise boundaries.

Related Guides

More From This Section