OakType / Runtime Notes

BBR on long-fat paths: what the bandwidth estimate actually tracks

Domain TransportKernel 6.1+Revised 2026-11-19

The reason BBR outperforms loss-based congestion control on a 180 ms path is not that it is "smarter" about loss. It is that BBR derives its rate from delivery rate samples rather than from a loss signal that never arrives on a well-buffered path.

Why CUBIC gives up early

CUBIC increases the window until a loss event, then reduces by a fixed multiplicative factor. On a path with 180 ms RTT and a 12 Mbit bottleneck, a single queue build-up can be read as congestion long before the pipe is full, because the standing queue occupies most of the bottleneck buffer. The result is a sawtooth whose mean sits well below the link rate.

BBR instead estimates the bottleneck bandwidth from the maximum delivery rate observed over a window, and caps the inflight data at that rate multiplied by the minimum RTT it has measured. The cap is the entire mechanism.

# inspect the live state of the controller
ss -tin dst 203.0.113.10 | tr ' ' '\n' | grep -E '^(bbr|cwnd|rtt|delivery_rate|pacing_rate)'

# switch without touching route policy
sysctl -w net.ipv4.tcp_congestion_control=bbr
sysctl -w net.core.default_qdisc=fq

The fq qdisc matters: BBR's pacing is expressed through the qdisc's rate estimator, and without fq the kernel cannot pace packets smoothly. On hosts still defaulting to pfifo_fast, enabling BBR alone often changes nothing measurable.

Reading the estimate

CounterMeaningTypical healthy value
delivery_rateDelivered bytes per unit time, per ACK clockWithin 3 % of link rate
pacing_rateActual send pacing, usually 2× estimate in startup≤ 2.2× delivery rate
cwndInflight cap in segments≈ BDP, not growing
rttSmoothed RTTStable; drift means queueing

A pacing_rate that sits far above delivery_rate for more than a few seconds is the signature of a rate estimate that has not converged — usually because the receiver window, not the network, is the limiter.

When BBR is the wrong answer

On paths that share a shallow buffer with many competing flows, BBR's tendency to hold a standing queue is antisocial: it wins its own throughput at the cost of the aggregate. If the box is a leaf in someone else's network, CUBIC with a sane tcp_rmem ceiling is the politer default.

Reproduction note. Figures above were taken on a 2 vCPU instance with txqueuelen 1000, against a receiver advertising a 4 MiB window at 180 ms RTT. Change either and the plateau moves.