Towards RTT Fairness of Congestion-Based Congestion Control

Shiyao Ma, Jingjie Jiang, Wei Wang, Bo LiarXiv 2017

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.

Goodput disparity between a 50-ms RTT flow and a 10-ms RTT flow over time.

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.

Bandwidth share disparity as the RTT ratio between two flows increases.

This leads to two critical issues:

  1. Queue Occupation: The long-RTT flow physically occupies more of the bottleneck buffer during its longer probing cycle.
  2. 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

Abstract

BBR is a new congestion-based congestion control algorithm proposed by Google. A BBR flow sequentially measures the bottleneck bandwidth and round-trip delay of the network pipe, and uses the measured results to govern its sending behavior, maximizing the delivery bandwidth while minimizing the delay. However, our deployment in geo-distributed cloud servers reveals a severe RTT fairness problem: a BBR flow with longer RTT dominates a competing flow with shorter RTT. Somewhat surprisingly, our deployment of BBR on the Internet and an in-house cluster unearthed a consistent bandwidth disparity among competing flows. Long BBR flows are bound to seize bandwidth from short ones. Intrigued by this unexpected behavior, we ask, is the phenomenon intrinsic to BBR? how's the severity? and what's the root cause? To this end, we conduct thorough measurements and develop a theoretical model on bandwidth dynamics. We find, as long as the competing flows are of different RTTs, bandwidth disparities will arise. With an RTT ratio of 10, even flow starvation can happen. We blame it on BBR's connivance at sending an excessive amount of data when probing bandwidth. Specifically, the amount of data is in proportion to RTT, making long RTT flows overwhelming short ones. Based on this observation, we design a derivative of BBR that achieves guaranteed flow fairness, at the meantime without losing any merits. We have implemented our proposed solution in Linux kernel and evaluated it through extensive experiments.
BibTeX
@misc{ma2017towards,
  author = {Shiyao Ma and Jingjie Jiang and Wei Wang and Bo Li},
  title = {{Towards RTT Fairness of Congestion-Based Congestion Control}},
  year = {2017},
  eprint = {1706.09115},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.09115},
}

Loading related content...

Figure