Chapter 12Down the Rabbit Hole: BBR and the Pipe You Can't Measure All at Once
The numbers in the original BBR paper read like a typo. On Google's B4 backbone, BBR got 2 to 25 times the throughput of CUBIC. On one US-Europe path it sustained 2 Gbit/s where CUBIC managed 15 Mbit/s, a factor of 133. When YouTube switched, median RTT dropped 53% globally and more than 80% in the developing world.
Today BBRv3 runs all of google.com, YouTube's public traffic and Google's internal WAN. AWS CloudFront rolled BBR out in 2019 for up to 22% more aggregate throughput.
But Verizon's CDN saw a roughly 50% regression on links between its own points of presence, and kept CUBIC inside the data center. Dropbox found BBRv2 still caused about twice the packet loss of CUBIC. One algorithm, a huge win in one place and a clear loss in another. It all comes down to one simple model and the one thing it can't see.
The parking lot problem#
Picture a toll booth that passes exactly 100 cars a minute, with a parking lot behind it for cars that arrive too fast.
Reno and CUBIC keep sending until the lot overflows and a car is turned away (a loss), then cut back (CUBIC multiplies its window by 0.7) and creep up again. The lot is almost always full, so every car waits. That's bufferbloat: a 40 ms path can take hundreds.
BBR asks "what does this path look like?" and answers with two numbers:
- BtlBw, the bottleneck bandwidth: the fastest rate cars come out of the booth.
- RTprop, the round-trip propagation time: the trip time with an empty lot.
Their product is the bandwidth-delay product (BDP), the data that should be on the road to keep the booth busy with nobody waiting. BBR paces at BtlBw and keeps about one BDP in flight.
You can't measure both at once#
To see true bandwidth the pipe must be full, so a queue is forming. To see true propagation delay the queue must be empty, so the pipe isn't full. One measurement gives you one of them.
This isn't a BBR quirk. Kleinrock showed in 1979 that the best operating point (max throughput, min delay) is exactly at BDP. Jaffe showed in 1981 that no distributed algorithm can converge to it exactly.
BBR measures them at different times, with filters that each err in only one direction:
- Every RTT sample is at least RTprop, since queueing only adds delay. Take the minimum over a 10-second window.
- Every delivery-rate sample is at most BtlBw, since competition only reduces it. Take the maximum over a short window.
Each filter converges toward the truth and never past it, as long as there's no measurement noise. Hold onto that condition.
The control loop as code
# per ACK: one delivery-rate sample
send_elapsed = P.sent_time - P.first_sent_time
ack_elapsed = now - P.delivered_time
interval = max(send_elapsed, ack_elapsed) # guards against ACK compression
delivery_rate = (C.delivered - P.delivered) / interval
max_bw = windowed_max(delivery_rate) # ~BtlBw
min_rtt = windowed_min(rtt_sample) # ~RTprop, 10 s window
bdp = max_bw * min_rtt
pacing_rate = pacing_gain * max_bw
cwnd = cwnd_gain * bdp # a safety cap, not the main controlGains above and below one#
Sending at exactly the measured rate would never discover that bandwidth went up, so BBR runs a state machine of gains.
gain 4 ln 2 = 2.77 rate doubles each RTT pipe [##########>>>>>>>>>>>>] queue [##########] filling
Like slow start. Ends after three rounds without 25% bandwidth growth.
Why 4 ln 2 ≈ 2.77 (BBRv1 used 2/ln 2 ≈ 2.885)? Your bandwidth estimate is always stale.
The Startup gain derivation
Model the estimate as the average send rate over the window from two rounds ago to one round ago. If the rate must double each round, the gain has to satisfy
b(t) = (1/R) ∫ r₀ 2^(s/R) ds over [t-2R, t-R] = r(t) / (4 ln 2)so g = r(t) / b(t) = 4 ln 2. That derivation is the dive's reconstruction; the draft just calls it the minimum gain that lets the rate double each round.
The toy simulator#
My small packet-level simulator has one bottleneck, a Reno-like sender and a BBRv1-like sender. It's deliberately simple: drops are detected instantly, no SACK or timeouts. 12 Mbit/s, 40 ms path:
| Buffer | Sender | Goodput (Mbit/s) | Median RTT | Drops |
|---|---|---|---|---|
| 8x BDP (320 pkt) | Reno | 11.91 | 221.0 ms | 1 |
| BBR | 11.89 | 55.5 ms | 0 | |
| 32x BDP (1280 pkt) | Reno | 11.91 | 670.0 ms | 1 |
| BBR | 11.89 | 55.5 ms | 0 | |
| 0.5x BDP (20 pkt) | Reno | 11.32 | 49.0 ms | 8 |
| BBR | 11.89 | 49.5 ms | 324 |
In deep buffers, Reno's RTT tracks the buffer size (221 ms, then 670 ms) while BBR stays near 55 ms. That's the YouTube result in miniature.
The last rows are the catch. In a sub-BDP buffer, BBRv1 gets 5% more goodput by causing 40 times more drops. It essentially ignored loss, and a cwnd cap of 2x BDP plus probing overflows a shallow buffer every cycle. v2 and v3 fix that: they cap loss at 2% per round, cut by 0.7 when exceeded, and learn a ceiling on in-flight data from where loss started.
Sharing the road#
BBR's model has no concept of a fair share. A max filter of your own delivery rate measures your slice of the link, not its capacity.
Against CUBIC in a deep buffer, CUBIC keeps the queue full, so BBR's share is decided by its in-flight cap (2 x max_bw x min_rtt), not by any congestion signal. Ware et al. (IMC 2019) predicted BBR's share within 5% median error. The headline: a single BBR flow takes a fixed ~40% of the link whether it competes with 1 CUBIC flow or 16.

Fig. 4 (right) from Scherrer et al., "A Control-Theoretic Perspective on BBR/CUBIC Congestion-Control Competition" (arXiv 2025), arXiv:2510.22773, licensed CC BY 4.0. Cropped and recompressed.
The two flows trade the lead over tens of seconds. The "fixed share" is an average over a system that never sits still.
v3 didn't fix it:
- Unfairness. PAM 2024 found v3's unfairness toward CUBIC "nearly identical to BBRv1's behavior and exacerbated in shallow buffers".
- Long-RTT bias. A longer RTprop means a bigger BDP, a bigger cap, a bigger slice of the shared queue. That's what hurt Verizon's PoP-to-PoP links.
- ECN backfires. With ECN on, one BBRv3 flow took about 99% of the bandwidth against five CUBIC flows (ANRW 2024). v3 reacts to marks proportionally, like DCTCP; CUBIC treats any mark like a loss and cuts by 30%. Same bit, two meanings.
The failure you can't tune away#
Most failure modes have patches: an extra_acked allowance for Wi-Fi ACK aggregation, a long-term model for token-bucket policers, short-term bounds in v2 for bandwidth drops.
One can't be patched. Remember the no-noise condition. Arun, Alizadeh and Balakrishnan (SIGCOMM 2022) proved that if an algorithm converges to a delay range of width δ that depends on its rate, and non-congestive jitter (ACK aggregation, end-host scheduling) can exceed 2δ, then there are paths where two flows running the same algorithm get arbitrarily unequal throughput. Starvation. The rate is encoded in the delay, and enough jitter makes one flow see a delay that "means" a much lower rate. BBR, PCC Vivace and Copa all starved in emulation.
The question I'm left with#
What should "fair" even mean between different algorithms?
Jain's index treats every unequal split as equally bad and ignores duration. Ware et al. argued for a harm-based metric: how much worse off am I because you showed up, compared with how much CUBIC would have hurt me? The IETF hasn't picked one, and BBRv3's draft sits on the Experimental track partly for that reason.
Theory also lags deployment. A 2025 IFIP paper found existing fluid models fit v1 and partly v2, but v3 shows "clear discrepancies". Most of Google's public traffic runs on an algorithm with no validated model.
One exit: FRCC (NSDI 2026) claims to be the first algorithm that provably bounds unfairness even under jitter, by separating "how many flows share this link" from "how big is the link". Not deployed at Internet scale. Meanwhile Starlink reshuffles RTT and capacity roughly every 15 seconds, which makes a 10-second min filter look slow.
Next on my list is L4S, where routers mark packets at a very shallow queue so the sender doesn't have to guess. That feels like the honest fix for "you can't measure both at once", if it ever gets deployed widely enough.
Sources#
- Cardwell et al. BBR: Congestion-Based Congestion Control (ACM Queue, 2016)
- draft-ietf-ccwg-bbr-06 (IETF CCWG, 2026)
- BBRv3 overview and Google deployment (IETF 119 slides)
- AWS. TCP BBR congestion control with Amazon CloudFront
- Dropbox. Evaluating BBRv2 on the Dropbox edge network
- APNIC. BBR evaluation at a large CDN
- Ware et al. Modeling BBR's Interactions with Loss-Based Congestion Control (IMC 2019)
- Arun, Alizadeh, Balakrishnan. Starvation in End-to-End Congestion Control (SIGCOMM 2022)
- Zeynali et al. Promises and Potential of BBRv3 (PAM 2024) and BBRv3 in the public Internet (ANRW 2024)
- Sarpkaya et al. BBR's Sharing Behavior with CUBIC and Reno (IFIP Networking 2025)
- Scherrer et al. A Control-Theoretic Perspective on BBR/CUBIC Competition (2025)
- Agarwal, Arun, Seshan. FRCC (NSDI 2026)
- Unveiling TCP BBR Dominance in Starlink Internet (2026)
- Google. BBR v3 source