BBR

Also known as: Bottleneck Bandwidth and Round-trip propagation time · TCP BBR

On this page 7

BBR, short for Bottleneck Bandwidth and Round-trip propagation time, is a model-based congestion control algorithm for TCP and other transport protocols that sends data at the rate the network path can actually deliver, rather than waiting for packet loss as a signal to slow down. Developed at Google and first released for the Linux kernel in 2016, TCP BBR estimates two properties of the path, the bottleneck bandwidth and the minimum round-trip time, and uses them to set both a pacing rate and a limit on data in flight.

In networking, BBR matters because classic loss-based algorithms such as Reno and CUBIC fill router buffers until packets drop, which inflates latency and wastes capacity on lossy links. BBR aims for the theoretical optimal operating point: maximum delivery rate with minimum queueing delay.

How BBR models the network path

BBR works by continuously building a two-parameter model of the path and steering the sender toward the point where throughput is maximal and queues are empty. The first parameter, BtlBw, is the highest delivery rate observed over a recent window of about 10 round trips. The second, RTprop, is the lowest round-trip time observed over roughly 10 seconds, which approximates pure propagation delay without queueing.

The product of these two values is the bandwidth-delay product (BDP), the amount of data that fills the pipe exactly. BBR paces packets at approximately BtlBw and caps data in flight at a small multiple of the BDP, typically two BDP to tolerate delayed acknowledgments. Because the two parameters cannot be measured at the same moment, BBR alternates between probing for more bandwidth and draining queues to observe the true minimum delay.

The table below lists the core quantities BBR maintains and what each one controls.

VariableWhat it estimatesHow it is measuredWhat it controls
BtlBwBottleneck link capacityWindowed maximum of delivery rate samplesPacing rate
RTpropPropagation delay of the pathWindowed minimum of RTT samplesBDP calculation
Pacing gainHow far to push above or below BtlBwSet by the current stateProbing and draining
Cwnd gainHeadroom for data in flightFixed multiple, usually 2Congestion window cap
Core state variables in BBR

The BBR state machine

BBR moves through four operating states, each with its own pacing gain, so that it can discover capacity quickly and then hold the path near its optimum. The pacing gain is a multiplier applied to the estimated bottleneck bandwidth: values above 1 build a small queue to test for more capacity, and values below 1 drain that queue.

StatePacing gainPurposeTypical duration
StartupAbout 2.89Find bottleneck bandwidth exponentiallyUntil bandwidth stops growing for 3 rounds
DrainAbout 0.35Empty the queue built during startupUntil in-flight data falls to one BDP
ProbeBWCycles 1.25, 0.75, then 1.0Probe for spare capacity in steady stateMost of the connection lifetime
ProbeRTTCwnd reduced to 4 packetsRefresh the minimum RTT estimateAt least 200 ms every 10 seconds
Operating states of BBR version 1

In ProbeBW, the eight-phase gain cycle spends one round at 1.25, one at 0.75 and six at 1.0. This gentle oscillation lets BBR notice when competing flows leave and bandwidth becomes available, while keeping the standing queue close to zero on average. ProbeRTT briefly cuts the window so that queues empty and the true propagation delay becomes visible again.

BBR compared with loss-based congestion control

BBR differs from traditional TCP congestion control in what it treats as the congestion signal. Reno and CUBIC interpret packet loss as congestion and use an additive increase, multiplicative decrease pattern on the congestion window, whereas BBR treats loss as mostly irrelevant noise and reacts to changes in measured rate and delay.

PropertyRenoCUBICBBR
Congestion signalPacket lossPacket lossDelivery rate and RTT
Window growthLinearCubic function of timeModel-driven pacing
Queue occupancyFills buffersFills buffersKeeps queues small
Behavior on random lossThroughput collapsesThroughput drops sharplyLargely unaffected
Sender requirementNoneNonePacket pacing
BBR versus common loss-based algorithms

The practical consequence is that BBR can sustain high throughput on lossy paths, such as long-distance or wireless links with 1 to 2 percent random loss, where CUBIC would repeatedly halve its window. It also reduces bufferbloat, because it does not deliberately fill the deep buffers found in many home routers and cellular networks.

BBR versions and deployment

BBR has evolved through three major versions, each addressing weaknesses observed in large-scale production. BBRv1 shipped in Linux 4.9 and is enabled with the net.ipv4.tcp_congestion_control=bbr setting, usually together with the fq queuing discipline for pacing. BBRv2 added explicit reactions to loss and ECN marks to improve fairness, and BBRv3 refined those mechanisms and became the default for much of Google traffic.

BBR is not limited to TCP. Several QUIC implementations include BBR-style controllers, and the algorithm has been described in an IETF Internet-Draft within the congestion control research community. Because BBR only changes sender behavior, receivers need no modification, which makes it easy to deploy on content servers.

  • Enable pacing with the fq qdisc or kernel-internal pacing; without it, BBR bursts and loses accuracy.
  • Measure before switching: compare throughput, retransmission rate and latency against CUBIC on real traffic.
  • Check kernel support, because BBRv2 and BBRv3 are not in every mainline kernel.

Limitations and common misconceptions about BBR

BBR is not a universal improvement, and its fairness toward other flows is its most debated weakness. When BBRv1 shares a bottleneck with CUBIC flows, the outcome depends heavily on buffer size: in shallow buffers BBR tends to dominate, while in very deep buffers CUBIC can take the larger share. BBRv1 could also cause high retransmission rates in shallow buffers because it ignored loss.

The following table pairs frequent misunderstandings with the more accurate view.

MisconceptionRealityPractical consequence
BBR always increases speedGains appear mainly on lossy or long pathsClean, short paths see little difference
BBR ignores congestionIt reacts to rate and delay, and later versions to lossIt still backs off under real contention
The receiver must support BBROnly the sender changesClients need no configuration
BBR is always fairFairness varies with buffer depth and RTTMixed deployments need testing
Misconceptions and corrections

Another subtle issue is RTT unfairness: flows with longer round-trip times can obtain more bandwidth under BBRv1, the opposite of classic TCP behavior. ProbeRTT phases can also cause periodic dips in throughput that sensitive real-time applications may notice.

Stripped to the essentials

BBR is a way for a computer to decide how fast to send data across the internet. Older methods keep speeding up until something breaks, meaning data gets lost, and only then slow down. BBR instead keeps measuring how much the road can carry and how long a trip takes when the road is empty.

Think of a driver who learns the speed limit and the travel time of a route, then drives steadily at that pace instead of accelerating until hitting traffic. The result is faster transfers with less waiting, especially on long or imperfect connections.

Where it is applied

A video streaming provider serves viewers across several continents from servers running Linux with CUBIC. Viewers on intercontinental paths with around 150 ms round-trip time and about 1 percent random loss experience frequent buffering, because each loss event halves the sending window and recovery takes many seconds.

The operations team enables BBR with the fq queuing discipline on a test group of servers and compares results over two weeks. On the long, lossy paths, median delivery throughput rises substantially and rebuffering events fall noticeably, while short domestic paths show little change. After also confirming that retransmission rates stay acceptable, the team rolls BBR out across the server fleet and keeps monitoring fairness on shared links.