Mortise: Auto-tuning Congestion Control to Optimize QoE via Network-Aware Parameter Optimization

Yixin Shen (Tsinghua University, Bytedance Inc., and Zhongguancun Laboratory), Ruihua Chen (Tsinghua University), Bo Wang (Tsinghua University and Zhongguancun Laboratory), Jing Chen (Tsinghua University), Haochen Zhang (Tsinghua University), Minhu Wang (Tsinghua University), Yan Liu (Bytedance Inc.), Mingwei Xu (Tsinghua University and Zhongguancun Laboratory), Zili Meng (Hong Kong University of Science and Technology)

23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 3 · Designing Robust Networked Systems

Overview

Modern internet applications—ranging from adaptive video streaming and cloud gaming to the emerging metaverse—demand rigorous performance guarantees from underlying network transport layers. While application-layer mechanisms such as adaptive bit rate (ABR) algorithms and content delivery network (CDN) selection dictate high-level delivery strategies, congestion control algorithms (CCAs) fundamentally dictate user-perceived Quality of Experience (QoE). CCAs achieve this by navigating the inherent trade-offs among transport-layer Quality of Service (QoS) metrics: throughput, latency, and packet loss. However, static CCA parameterizations fail under real-world network dynamics because the optimal trade-off point between these QoS metrics shifts continuously as network conditions and application states evolve.

Watch on YouTube · Slides

Visual summary for Mortise: Auto-tuning Congestion Control to Optimize QoE via Network-Aware Parameter Optimization by Yixin Shen, Ruihua Chen, Bo Wang, Jing Chen, Haochen Zhang, Minhu Wang, Yan Liu, Mingwei Xu, Zili Meng
Visual summary for Mortise: Auto-tuning Congestion Control to Optimize QoE via Network-Aware Parameter Optimization by Yixin Shen, Ruihua Chen, Bo Wang, Jing Chen, Haochen Zhang, Minhu Wang, Yan Liu, Mingwei Xu, Zili Meng

Key moments

  1. 0:00 Introduction and background on QoE and CCAs
  2. 2:00 Key observation: CCA trade-offs and Kleinrock's point
  3. 4:00 Observation on evolving network conditions and QoE
  4. 6:00 Why current solutions fail and design challenges
  5. 8:00 Overview of Mortis and QoS trade-off as a proxy
  6. 9:40 Application preference extractor and trade-off controller design
  7. 12:00 Real-world demo, evaluation results, and conclusion

Mortise: Auto-tuning Congestion Control to Optimize QoE via Network-Aware Parameter Optimization

Speakers: Haochen Zhang, Tsinghua University (on behalf of authors Yixin Shen, Ruihua Chen, Bo Wang, Jing Chen, Minhu Wang, Yan Liu, Mingwei Xu, and Zili Meng)

Conference: USENIX NSDI

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

Overview

Modern internet applications—ranging from adaptive video streaming and cloud gaming to the emerging metaverse—demand rigorous performance guarantees from underlying network transport layers. While application-layer mechanisms such as adaptive bit rate (ABR) algorithms and content delivery network (CDN) selection dictate high-level delivery strategies, congestion control algorithms (CCAs) fundamentally dictate user-perceived Quality of Experience (QoE). CCAs achieve this by navigating the inherent trade-offs among transport-layer Quality of Service (QoS) metrics: throughput, latency, and packet loss. However, static CCA parameterizations fail under real-world network dynamics because the optimal trade-off point between these QoS metrics shifts continuously as network conditions and application states evolve.

To bridge this gap, researchers from Tsinghua University, ByteDance, and the Hong Kong University of Science and Technology introduce Mortise, an auto-tuning congestion control framework. Mortise continuously optimizes QoE through network-aware parameter optimization. Rather than treating CCAs as black boxes or relying on static heuristics, Mortise decomposes the complex mapping between application QoE and low-level transport parameters by using the QoS trade-off itself as a mathematical proxy. Implemented via eBPF (Extended Berkeley Packet Filter) on Linux TCP using Copa as its base engine, Mortise achieves rapid convergence to optimal operating points within seconds. Extensive real-world A/B testing across 128 cities over three months demonstrates that Mortise significantly outperforms 12 baseline CCAs across both file downloading and video streaming workloads.

Background

▶ Watch: Introduction and background on QoE and CCAs (0:00)

In computer networking, CCAs manage the balance between sending rates and network capacity to prevent congestion collapse. However, all CCAs face an inevitable trade-off among QoS metrics. In an ideal scenario, networks would achieve Kleinrock's point—maximum throughput coupled with empty queues and zero packet loss. In practice, unpredictable network fluctuations and inherent control loop delays (where congestion signals take at least one round-trip time [RTT] to reach the sender) make this impossible. CCAs must actively probe network capacity by adjusting sending rates. Aggressive CCAs target the upper bound of available bandwidth, maintaining deep queues to maximize throughput at the cost of high latency, whereas conservative CCAs favor empty queues to minimize latency at the expense of bandwidth underutilization.

Operating along this Pareto frontier requires choosing an operating point. Historically, operators make these choices intuitively based on static heuristics, selecting CCAs like GCC, NADA, or Copa for specific use cases (e.g., choosing a low-latency CCA for video conferencing). However, these choices suffer from two critical flaws. First, application preferences for QoE are not static; they shift dynamically within a single session. For instance, in high-bandwidth scenarios, marginal throughput gains yield diminishing returns for video quality, shifting the application's priority toward reducing latency and stall ratios. Conversely, in low-bandwidth scenarios, small throughput increases drastically improve video quality, making users more tolerant of latency. Second, real-world network conditions fluctuate wildly on time scales of tens of seconds.

Existing solutions fail to address these dynamics. Static heuristics cannot track runtime fluctuations. Transfer learning approaches require minutes to hours to adapt—far too slow for transient network spikes. CCA selection methods restrict systems to discrete, rigid operating points. Directly optimizing CCAs for QoE is computationally prohibitive for production environments due to the complex, non-linear mapping between raw control parameters and application-layer metrics, combined with the feedback latency inherent in QoE metrics that are typically calculated only upon session completion.

Key Findings

▶ Watch: Observation on evolving network conditions and QoE (4:00)

  • Network-Dependent Optimal Operating Points: The optimal balance among throughput, delay, and loss is neither static nor purely application-dependent; it varies continuously within a session as network bandwidth and RTT evolve.
  • Proxy-Based Decomposition Solves Complexity: Using the QoS trade-off (expressed mathematically as the slope of the tangent line on the performance curve) as an intermediate proxy successfully decouples QoE optimization from direct parameter tuning, avoiding the prohibitive computational costs of exhaustive searches.
  • Rapid Convergence via Adaptive Measurement: Mortise achieves convergence to near-oracle QoE performance within two adjustment rounds (under 1 second), even in the presence of measurement noise, by employing an adaptive observation window and balancing feedback control.
  • Production-Scale Validation: Large-scale A/B testing deployed across 128 cities over three months at ByteDance—covering file downloading and video streaming applications—revealed consistent, substantial QoE improvements over 12 distinct baseline CCAs spanning four major architectural classes.
  • Low Overhead Integration: Implemented in the Linux kernel using eBPF and built on top of the delay-based CCA Copa, Mortise introduces negligible system overhead while dynamically modifying control parameters in real time.

Technical Design

▶ Watch: Why current solutions fail and design challenges (6:00)

Mortise relies on rule-based CCAs that incorporate explicit network models. Unlike black-box neural network approaches, explicit models provide higher computational efficiency, maintain Pareto-optimal performance boundaries, and allow frequent, fine-grained parameter adjustments. Mortise centers its design around two primary components: the application preference extractor and the trade-off controller.

Application Preference Extractor

At session initialization, the application provides an explicit QoE model consisting of several application-layer metrics $M_i$ (such as video quality score and stall ratio). Mortise translates these metrics into a corresponding QoS-form function expressing QoE as a function of throughput, delay, and loss, weighted by coefficients that capture their relative importance to the user experience at any given moment.

To guide the transport layer, Mortise computes analytical gradients from this function, extracting preference hints:

  • $\lambda$ (Lambda): The delay-throughput trade-off hint, representing how much additional delay the application is willing to tolerate for one unit of throughput gain.
  • $\beta$ (Beta): The loss-throughput trade-off hint, quantifying loss tolerance relative to throughput gains.

Trade-Off Controller

Controlling transport parameters based on these hints introduces a circular dependency: adjusting control parameters shifts the system to a new operating point, which yields different network performance, which in turn alters the application's QoE preferences. Mortise resolves this cross-dependency through an iterative feedback loop designed to handle real-world measurement noise.

Rather than demanding high-precision trade-off measurements instantaneously—which is impossible due to network stochasticity—Mortise uses an adaptive measurement period.

  1. Coarse Guidance: When far from the optimal operating point, rough directional guidance is sufficient to move the system closer.
  2. Fine Adjustment: As the system converges closer to the optimum, Mortise accumulates historical data over longer observation windows to calculate precise trade-off metrics, preventing parameter oscillation or overshoot.

When network capacity shifts (e.g., a bandwidth jump at $t = 20\text{s}$), the controller modifies control parameters such as the delay target delta ($\delta$) in Copa. In live demonstrations, Mortise detects the shift, re-computes the target trade-off via $\lambda$, and steers the system to near-optimal performance in under 1 second.

Experimental Setup & Results

▶ Watch: Application preference extractor and trade-off controller design (9:40)

To validate Mortise, the authors conducted comprehensive evaluations combining testbed experiments and large-scale production deployments:

  • Implementation Stack: Implemented in the Linux kernel using eBPF, leveraging Copa as the underlying delay-based CCA by dynamically tuning its internal $\delta$ (delta) parameter.
  • Deployment Scale: Real-world A/B testing conducted across 128 cities worldwide over a 3-month period.
  • Workloads: Two distinct production applications at ByteDance: file downloading and adaptive video streaming.
  • Baselines: Compared against 12 alternative congestion control algorithms categorized across four distinct architectural paradigms.
  • Evaluation Metrics: Application-layer QoE metrics (such as video stall ratios and effective download completion times) alongside core transport-layer QoS metrics (throughput, RTT, and packet loss rates).

Headline Results: Mortise consistently outperformed all 12 baseline CCAs across both wireless and wired network scenarios. In video streaming workloads, Mortise successfully suppressed stall ratios during bandwidth crunches while maximizing video bitrate during high-capacity intervals. For file downloading workloads, Mortise balanced queue accumulation to achieve near-maximum link utilization without inducing excessive bufferbloat latency. Box plot analyses in the evaluation confirm that Mortise tightly clusters around the optimal QoE ceiling, avoiding the performance degradation seen in static conservative or aggressive baselines.

Practical Implications

▶ Watch: Real-world demo, evaluation results, and conclusion (12:00)

Mortise provides critical takeaways for infrastructure teams, network protocol engineers, and application developers:

  • Dynamic Adaptation Over Static Tuning: Operators should abandon static CCA configurations. Because application QoE preferences shift dynamically alongside network variations, transport protocols must support runtime parameter tuning.
  • Proxy-Based Control is Viable for Systems: Direct end-to-end reinforcement learning for congestion control often suffers from sample inefficiency and slow convergence. Mortise demonstrates that utilizing explicit QoS trade-off gradients as an intermediate proxy combines the mathematical rigor of optimization theory with the responsiveness required for high-speed packet networks.
  • Kernel-Level Programmability: Leveraging modern systems frameworks like eBPF enables advanced, policy-driven transport protocols to be deployed in production kernels without requiring out-of-tree kernel modifications or monolithic driver updates.
  • Limitations: Mortise relies on the application providing a valid explicit QoE model at session initialization. Applications lacking clear analytical models of how transport metrics map to user experience may require additional profiling before integrating with the framework.

Key Takeaways

  • The Trade-Off Dilemma: All congestion control algorithms operate along a Pareto frontier constrained by Kleinrock's point, forcing a permanent trade-off between throughput, latency, and packet loss.
  • Network-Dependent Preferences: Application QoE preferences are time-varying within a single session; high-bandwidth regimes prioritize latency reduction, while low-bandwidth regimes prioritize throughput gains.
  • The Mortise Framework: Mortise introduces an auto-tuning architecture that uses QoS trade-offs as a mathematical proxy to bridge application-layer QoE semantics with transport-layer parameter adjustments.
  • Rapid Convergence: By pairing adaptive measurement windows with balancing feedback control, Mortise converges to optimal operating points in under 1 second (within two adjustment rounds).
  • Production Proven: Validated via large-scale A/B testing across 128 global cities over three months at ByteDance, outperforming 12 baseline CCAs across file transfer and video streaming workloads.
  • Open Source Availability: The complete implementation of Mortise is publicly available on GitHub for community adoption and further research.

About the Speaker(s)

Haochen Zhang presented this work on behalf of a multi-institutional research team. He is a researcher at Tsinghua University. The broader author team includes researchers and engineers from Tsinghua University, ByteDance Inc., Zhongguancun Laboratory, and the Hong Kong University of Science and Technology, combining strong academic foundations in networking systems with large-scale production deployment expertise from ByteDance.

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)