R-TCP: A Framework to Optimize TCP Performance Over Rate-Limiting Networks

Shengtong Zhu (The Chinese University of Hong Kong), Yan Liu (Independent Researcher), Lingfeng Guo (Independent Researcher), Jack Yiu Bun Lee (The Chinese University of Hong Kong)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 1 · Managing Complexity at Scale

Overview

Modern mobile networks, particularly 5G deployments, offer unprecedented bandwidth capabilities to end users. However, mobile data services universally introduce a critical economic and technical constraint known as the data quota. Once a subscriber exhausts their monthly high-speed allowance, network operators enforce strict rate-limiting policies, dropping available throughput anywhere from 2 Gbps down to 500 Kbps. This presentation introduces R-TCP, a novel systems framework designed to optimize Transmission Control Protocol (TCP) performance over these rate-limiting networks.

Watch on YouTube · Slides

Visual summary for R-TCP: A Framework to Optimize TCP Performance Over Rate-Limiting Networks by Shengtong Zhu, Yan Liu, Lingfeng Guo, Jack Yiu Bun Lee
Visual summary for R-TCP: A Framework to Optimize TCP Performance Over Rate-Limiting Networks by Shengtong Zhu, Yan Liu, Lingfeng Guo, Jack Yiu Bun Lee

Key moments

  1. 0:00 Introduction and mobile network rate-limiting problem overview
  2. 2:00 Impact of excessive retransmissions on bandwidth cost
  3. 4:30 Overview of the RTCP framework pipeline components
  4. 6:00 Detection trigger and token bucket parameter estimation
  5. 8:30 Flow classification criteria for rate-limiting
  6. 10:00 Optimizing Cubic and BBR congestion control algorithms
  7. 12:00 Performance evaluation on single file downloads and small files
  8. 13:30 Evaluation on DASH video streaming and short video apps

R-TCP: A Framework to Optimize TCP Performance Over Rate-Limiting Networks

Speakers: Shengtong Zhu (The Chinese University of Hong Kong); Yan Liu (Independent Researcher); Lingfeng Guo (Independent Researcher); Jack Yiu Bun Lee (The Chinese University of Hong Kong)

Conference: USENIX NSDI

YouTube: https://www.youtube.com/watch?v=h8bEGP6ZmO8

Overview

Modern mobile networks, particularly 5G deployments, offer unprecedented bandwidth capabilities to end users. However, mobile data services universally introduce a critical economic and technical constraint known as the data quota. Once a subscriber exhausts their monthly high-speed allowance, network operators enforce strict rate-limiting policies, dropping available throughput anywhere from 2 Gbps down to 500 Kbps. This presentation introduces R-TCP, a novel systems framework designed to optimize Transmission Control Protocol (TCP) performance over these rate-limiting networks.

Rate-limiting in cellular architectures is typically implemented via a token bucket regulator. When high-speed quotas are exceeded, standard TCP congestion control algorithms—such as CUBIC, BBR v1, and BBR v3—fail to harmonize with the token bucket parameters. This mismatch induces massive packet loss and excessive retransmissions, driving up infrastructure costs for telecom providers and degrading application performance. R-TCP tackles this systemic issue by accurately estimating token bucket parameters on the fly, detecting rate-limiting conditions, and adjusting congestion windows or pacing rates accordingly.

The significance of this work spans both network economics and systems design. For large-scale service providers handling massive peak bandwidth usage (such as 100 Terabits per second), even a fractional percentage point reduction in needless retransmissions translates to millions of dollars in monthly bandwidth savings. Crucially, R-TCP achieves up to an 80% reduction in retransmission rates without sacrificing application-level Quality of Experience (QoE) or video streaming metrics, establishing a new standard for transport-layer resilience under constrained network policies.

Background

▶ Watch: Introduction and mobile network rate-limiting problem overview (0:00)

The systems problem addressed by R-TCP stems from the interaction between transport-layer congestion control algorithms and operator-enforced rate-limiting machinery. Mobile network operators manage traffic shaping primarily through token bucket regulators governed by two core parameters: token bucket size ($B$) and token generation rate ($R$). Tokens are replenished at rate $R$ up to ceiling capacity $B$, and packet transmissions consume tokens proportional to their size. If the bucket is drained, incoming packets are immediately discarded.

When a TCP flow operates at unrestricted high speeds before hitting a quota threshold, packets arrive faster than the token replenishment rate $R$. Once the bucket size $B$ is depleted, the network abruptly drops packets, triggering aggressive back-offs and retransmissions in standard congestion control protocols. Empirical measurements conducted over 46 days across short-video services reveal that retransmission rates start near zero at the beginning of the month (when data quotas reset) and climb progressively as users exhaust their allowances, reaching upwards of 28% to 60% by month's end.

Prior work in this domain, such as SM-BBR, attempted to mitigate retransmissions over rate-limited links but often did so at the steep expense of application QoE. Standard TCP stacks like CUBIC and BBR assume network bottlenecks are caused by competing cross-traffic rather than a rigid, algorithmic token bucket. Consequently, they continuously probe for available bandwidth by overfilling the pipe, resulting in severe burst losses when hitting the rate limiter's ceiling. R-TCP is engineered to bridge this gap by treating the rate limiter itself as a first-class system parameter that must be modeled and respected.

Key Findings

▶ Watch: Overview of the RTCP framework pipeline components (4:30)

R-TCP demonstrates that mitigating transport-layer retransmissions over rate-limited mobile networks is achievable without degrading application-level throughput or video playback quality. Evaluated across five distinct mobile operators and multiple congestion control baselines (CUBIC, BBR v1, BBR v3), R-TCP yields dramatic performance improvements:

  • Massive Retransmission Reduction: For single file downloads of 32 megabytes, R-TCP reduces retransmission rates by up to 80% averaged across three major operators.
  • Cold-Start Optimization via State Caching: While small files initially challenge detection algorithms due to insufficient transfer data, implementing an STP (State Transfer Protocol / State Caching) technique allows R-TCP to cache detection results across subsequent flows from the same client. This cuts retransmission rates by up to 88% on secondary connections right from the start.
  • Dash Video Streaming Efficacy: In adaptive bitrate (ABR) streaming scenarios, R-TCP decreases retransmission rates by approximately 40% with no noticeable penalty to user QoE.
  • Short Video Workloads: Tested on a top-10 global short-video application (60 videos per session across 30 sessions), R-TCP cuts retransmissions by 40% compared to BBR v1 and by 60% compared to CUBIC, outperforming alternative mitigation schemes like SM-BBR that suffer from QoE degradation.

Technical Deep Dive

▶ Watch: Flow classification criteria for rate-limiting (8:30)

R-TCP operates as a four-component pipeline embedded within the TCP stack: Detection Trigger, Parameter Estimation, Classification, and Rate/Window Regulation.

1. Detection Trigger

Because the primary symptom of rate-limiting is excessive packet loss leading to inflated bandwidth costs, R-TCP utilizes a loss-based trigger. Calculations and parameter estimation are initiated only if a flow's packet loss rate exceeds 20% within a window of 7 Round Trip Times (RTTs). Unrestricted flows naturally exhibit much lower loss rates, bypassing this trigger entirely and incurring zero processing overhead.

2. Parameter Estimation

Once triggered, R-TCP executes once every ACK packet to match an observed packet pattern against a theoretical rate-limiting model. The observed packet pattern is defined as curve $A(t)$, representing cumulative acknowledged packets delivered to the receiver from time $0$ to $t$. The theoretical rate-limited model $C(t)$ is bounded by token bucket size $B$ and limit rate $R$.

The core optimization challenge is finding the $(B, R)$ parameter set that minimizes the error gap (represented by the integrated area between $A(t)$ and $C(t)$). To avoid the heavy computational expense of explicit area integration, R-TCP derives mathematical theorems enabling parameter identification through lightweight comparative operations.

3. Classification

A flow is formally classified as rate-limited if two simultaneous criteria are met:

  • Abrupt Reduction: When accumulated tokens in the token bucket are exhausted, output rates clamp immediately.
  • Convergence: Curve $A(t)$ must converge toward the theoretical limit curve $C(t)$, meaning the estimated $(B, R)$ parameter set remains stable across consecutive evaluation runs.

4. Congestion Control Integration

R-TCP adapts its mitigation strategy based on the underlying congestion control family:

  • CUBIC Integration: R-TCP constrains inflight packets to one Bandwidth-Delay Product (BDP) by capping the congestion window ($cwnd$). To account for estimation drift, every 20 RTT rounds, the $cwnd$ cap is inflated by 20% for 3 rounds. If estimated parameters remain stable, the strict cap is reapplied; otherwise, the rate limiter is assumed to have changed, allowing CUBIC to resume standard growth.
  • BBR v1 / v3 Integration: BBR relies on pacing rather than window sizing. R-TCP clamps the BBR pacing rate directly to the estimated limit rate $R$. Similar to the CUBIC workflow, a periodic 20-round probe checks whether the rate limiter has shifted, allowing BBR to enter its probing phase if parameters change.

Experimental Setup & Results

▶ Watch: Optimizing Cubic and BBR congestion control algorithms (10:00)

The evaluation of R-TCP was conducted across five real-world mobile network operators using three distinct workload categories:

  1. Single File Downloads: Evaluated using file sizes ranging from small payloads up to 32 MB over CUBIC, BBR v1, and BBR v3. Unoptimized protocols suffered retransmission rates exceeding 10% to 50%, whereas R-TCP slashed these rates by up to 80%. Using state caching for back-to-back connections (with 5-second idle gaps) yielded up to 88% retransmission reduction on secondary streams.
  2. DASH Video Streaming: Assessed using standard ABR video streaming workloads. R-TCP achieved a 40% reduction in retransmission rates. Notably, QoE sensitivity varied across operators (Operator 1 and 2 exhibited smoother interactions than Operator 3), pointing to complex dynamics between transport-layer congestion control and client-side ABR logic.
  3. Short-Video Applications: Tested using a top-10 global short-video platform where users viewed 60 videos per session across 30 sessions. Compared against vanilla BBR v1 and CUBIC, R-TCP achieved a 40% to 60% reduction in retransmission overhead while maintaining identical playback quality and outperforming baseline solutions like SM-BBR.

Practical Implications

▶ Watch: Evaluation on DASH video streaming and short video apps (13:30)

For infrastructure engineering teams and mobile network operators, R-TCP offers a compelling deployment paradigm. Network operators spend millions of dollars in transit costs servicing unnecessary retransmissions caused by token-bucket rate-limiting. By integrating R-TCP at the transport layer, providers can drastically lower transit overhead without needing to upgrade core routing hardware or modify cellular radio access network (RAN) architectures.

For application developers and model builders deploying bandwidth-heavy client applications (such as high-definition video streaming or large artifact downloads), R-TCP eliminates the performance cliffs commonly encountered toward the end of monthly billing cycles.

However, practitioners must consider certain limitations. R-TCP requires a brief learning window to detect rate-limiting parameters, making it less effective for extremely short, bursty single-packet transactions unless state-caching mechanisms (like STP) are actively deployed across client sessions. Furthermore, interactions between transport-layer rate capping and application-layer ABR algorithms require careful tuning to prevent unintended QoE oscillations.

Key Takeaways

  • The Rate-Limiting Penalty: Token-bucket rate-limiting in 5G and mobile networks forces standard TCP congestion control algorithms (CUBIC, BBR) into excessive retransmission rates, reaching up to 50–60% by the end of billing cycles.
  • Significant Cost & Bandwidth Savings: R-TCP reduces retransmission rates by up to 80% for large file downloads and 40–60% for short-video and DASH streaming workloads, translating to millions in potential monthly bandwidth savings for large providers.
  • Lightweight Mathematical Modeling: By tracking cumulative ACK curves ($A(t)$) against theoretical token bucket models ($C(t)$), R-TCP accurately estimates bucket size $B$ and rate $R$ without heavy computational overhead.
  • Protocol-Agnostic Adaptation: R-TCP seamlessly integrates with both window-based (CUBIC) and pacing-based (BBR v1/v3) congestion control algorithms by dynamically adjusting $cwnd$ caps and pacing limits.
  • Cold-Start Mitigation: Utilizing state-caching techniques (STP) enables R-TCP to apply optimization parameters immediately on secondary connections, achieving up to 88% retransmission reduction even for smaller payloads.
  • QoE Preservation: Unlike prior mitigation frameworks (e.g., SM-BBR), R-TCP achieves steep retransmission reductions without compromising application-layer Quality of Experience.

About the Speaker(s)

Shengtong Zhu is a researcher at The Chinese University of Hong Kong presenting this work on behalf of a collaborative research team including Yan Liu, Lingfeng Guo, and Professor Jack Yiu Bun Lee (also of The Chinese University of Hong Kong). The research was conducted in close cooperation with industry service provider collaborators, bridging academic transport-layer systems design with real-world cellular network operations.

Reviews

→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)

All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)