Abstract
BitTorrent has recently introduced LEDBAT, a novel application-layer congestion control protocol for data exchange. The protocol design starts from the assumption that network bottlenecks are at the access of the network, and that thus user traffic competes creating self-inducing congestion. To relieve from this phenomenon, LEDBAT is designed to quickly infer that self-induced congestion is approaching (by detecting relative changes of the one-way delay in the transmission path), and to react by reducing the sending rate prior that congestion occurs. Prior work has however shown LEDBAT to be affected by a latecomer advantage, where newly arriving connections can starve already existing flows. In this work, we propose modifications to the congestion window update mechanism of the LEDBAT protocol that aim at solving this issue, guaranteeing thus intra-protocol fairness and efficiency. Closed-form expressions for the stationary throughput and queue occupancy are provided via a fluid model, whose accuracy is confirmed by means of ns2 packet level simulations. Our results show that the proposed change can effective solve the latecomer issue, without affecting the other original LEDBAT goals at the same time.
The Problem: The Latecomer Advantage in LEDBAT
In the landscape of internet traffic, "background" transfers—such as those used by BitTorrent—are designed to be "polite," yielding bandwidth to interactive traffic like VoIP or web browsing. The LEDBAT (Low Extra Delay Background Transfer) protocol achieves this by measuring one-way delay and reacting to congestion before it causes packet loss.
However, standard LEDBAT suffers from a critical fairness flaw known as the latecomer advantage. When a new flow enters a link already occupied by an existing LEDBAT flow, the newcomer often miscalculates the network's "base delay" because it perceives the existing queue as part of the empty network delay. This leads the newcomer to ramp up aggressively, eventually starving the original flow.
Proposed Solution: fLEDBAT
To address this, the authors propose fLEDBAT (fair-LEDBAT). The core innovation lies in rethinking the Congestion Window (cwnd) update logic. While standard LEDBAT uses an Additive Increase Additive Decrease (AIAD) policy, fLEDBAT introduces:
- Constant Additive Increase: Similar to TCP Reno, ensuring the protocol remains efficient.
- Multiplicative Decrease: A delay-driven reduction mechanism that forces the queue to react more dynamically.
By moving toward an Additive Increase Multiplicative Decrease (AIMD) style of logic, fLEDBAT ensures that flows eventually converge to a fair share of the bandwidth, regardless of when they started.
Methodology and Validation
The research utilizes a three-pronged validation strategy:
- Fluid Modeling: The authors developed a system of Ordinary Differential Equations (ODEs) to describe system dynamics, proving through Lyapunov stability theory that fLEDBAT converges to a stable, fair equilibrium.
- Packet-Level Simulation: Using $ns2$, the authors simulated 10 Mbps bottlenecks with 50ms RTTs to test the protocol under realistic conditions.
- Experimental Testbed: A physical LAN testbed using
libUTP(BitTorrent's open-source LEDBAT implementation) was used to confirm the simulation results.
Key Results
The results demonstrate that fLEDBAT successfully restores intra-protocol fairness without sacrificing the protocol's original goal of maintaining low extra delay. In scenarios where a latecomer would normally starve a first-comer to zero bandwidth, fLEDBAT achieves a near-perfect 50/50 split of the link capacity.
Furthermore, the protocol proved robust in heterogeneous environments with varying RTTs, outperforming standard LEDBAT in almost all fairness metrics while keeping bottleneck queue lengths near the desired target.
Conclusion
fLEDBAT provides a mathematically sound and practically verified solution to the latecomer advantage. By replacing the flawed AIAD logic with a delay-based multiplicative decrease, the authors have created a background transport protocol that is both polite to interactive traffic and fair to its own peers. Future work may involve testing fLEDBAT against more aggressive modern congestion control algorithms like BBR.
Summary updated