Abstract
Google’s BBR (Bottleneck Bandwidth and Round-trip propagation time) algorithm represents a significant shift in congestion control, moving from loss-based to model-based estimation. While BBR achieves high throughput and low latency, it suffers from a severe RTT fairness issue: flows with longer RTTs aggressively dominate bandwidth at the expense of shorter RTT flows. This paper identifies the root cause—probing behavior proportional to the Bandwidth-Delay Product (BDP)—and proposes BBQ (BBR with a Quota). BBQ caps the probing duration to ensure fairness without sacrificing BBR's performance benefits.
The Problem: The Long-RTT "Bully"
In traditional TCP (like Reno or CUBIC), shorter RTT flows typically have an advantage because they can react to feedback more quickly. BBR reverses this dynamic. In scenarios where a long-RTT flow (e.g., 50ms) competes with a short-RTT flow (e.g., 10ms), the long-RTT flow can seize up to 90% of the bottleneck bandwidth, effectively starving the faster connection.
This behavior is counter-intuitive and creates a "latency-cheating" vulnerability where a receiver could artificially delay ACKs to gain more bandwidth at the expense of others.
Root Cause and Key Insights
The unfairness stems from BBR's ProbeBW phase. To estimate bottleneck bandwidth, BBR periodically increases its sending rate by a factor (typically 1.25x). The amount of "excess" data injected is proportional to the flow's BDP. Since BDP includes RTT, a flow with a 50ms RTT injects five times more probing data than a 10ms flow.
This leads to two critical issues:
- Queue Occupation: The long-RTT flow physically occupies more of the bottleneck buffer during its longer probing cycle.
- The CWND Trap: The resulting queueing delay increases the total RTT. For a short-RTT flow, this delay is a larger percentage of its total RTT, causing it to hit its Congestion Window (CWND) limit sooner and stop competing effectively.
BBQ: BBR with a Quota
To restore fairness, the authors developed BBQ. BBQ modifies the standard BBR algorithm with two primary mechanisms:
- Probing Cap ($\alpha$): Instead of probing for a full RTT, BBQ caps the probing duration to a small constant (e.g., 3ms). This prevents long-RTT flows from flooding the network for extended periods.
- Adaptive Activation: BBQ monitors RTT measurements to detect persistent queues. The probing cap is only active when congestion is detected, allowing standard BBR behavior (fast ramp-up) when the link is underutilized.
Experimental Results
Evaluations in a controlled 20-server cluster using Linux kernel 4.9.18 demonstrated that BBQ significantly mitigates RTT unfairness.
- Fairness Boost: BBQ improved the bandwidth share of short-RTT flows by up to 6.1× compared to standard BBR.
- Lower Latency: By limiting aggressive probing, BBQ reduced average queueing delay by 64.5% (e.g., dropping from 23.4ms to 8.3ms in a typical test scenario).
- Efficiency: BBQ maintains the high link utilization that made BBR popular, proving that fairness does not have to come at the cost of speed.
Conclusion
BBR's RTT unfairness is an intrinsic property of its model-based probing mechanism. By introducing a simple probing quota, BBQ resolves this "bully" behavior, ensuring that low-latency connections are not penalized for their speed. This work highlights the importance of considering cross-flow dynamics in the design of next-generation congestion control algorithms.
Summary updated