TurboTest: Learning When Less is Enough through Early Termination of Internet Speed Tests
Haarika Manda (UC Santa Barbara), Manshi Sagar (IIT Delhi), Yogesh (IIT Delhi), Kartikay Singh (IIT Delhi), Cindy Zhao (UC Santa Barbara), Tarun Mangla (IIT Delhi), Phillipa Gill (Google), Elizabeth Belding (UC Santa Barbara), Arpit Gupta (UC Santa Barbara)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 2 · Smart Pipes, Smarter Learning
Overview
Internet speed tests are ubiquitous tools used by billions of people and network operators to evaluate broadband performance, verify service-level agreements, and guide infrastructure investments. However, as global connectivity transitions rapidly toward gigabit-class connections, standard user-initiated, client-driven speed tests impose massive operational overheads on measurement platforms. Platforms like Measurement Lab (M-Lab) have observed exponential growth in data volume—reaching up to 12 petabytes annually—driven largely by the vast number of packets required to saturate and measure high-throughput links over traditional 10-second (or longer) testing windows. This paper introduces TurboTest, a machine learning-based framework designed to dramatically reduce the data volume of internet speed tests without sacrificing measurement accuracy through intelligent early termination.

Key moments
- 0:00 Introduction and the scaling problem of speed tests
- 2:00 Analysis of speed test distributions and high throughput costs
- 3:25 Limitations of existing heuristic-based early termination strategies
- 4:30 Decomposing the problem into a two-stage ML strategy
- 7:35 Operator-tunable tolerance thresholds and the classifier stage
- 9:20 Evaluating accuracy and data savings frontier
- 11:20 Performance breakdown on high throughput gigabit Ethernet speed tests
TurboTest: Learning When Less is Enough through Early Termination of Internet Speed Tests
Speakers: Haarika Manda (UC Santa Barbara); Manshi Sagar (IIT Delhi); Yogesh (IIT Delhi); Kartikay Singh (IIT Delhi); Cindy Zhao (UC Santa Barbara); Tarun Mangla (IIT Delhi); Phillipa Gill (Google); Elizabeth Belding (UC Santa Barbara); Arpit Gupta (UC Santa Barbara)
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=8d6bFqScnzQ
Overview
Internet speed tests are ubiquitous tools used by billions of people and network operators to evaluate broadband performance, verify service-level agreements, and guide infrastructure investments. However, as global connectivity transitions rapidly toward gigabit-class connections, standard user-initiated, client-driven speed tests impose massive operational overheads on measurement platforms. Platforms like Measurement Lab (M-Lab) have observed exponential growth in data volume—reaching up to 12 petabytes annually—driven largely by the vast number of packets required to saturate and measure high-throughput links over traditional 10-second (or longer) testing windows. This paper introduces TurboTest, a machine learning-based framework designed to dramatically reduce the data volume of internet speed tests without sacrificing measurement accuracy through intelligent early termination.
The core motivation behind TurboTest stems from a structural inefficiency in how speed test volume is distributed. While low-throughput tests represent the majority of absolute test volume, a small percentage of high-throughput gigabit Ethernet connections account for roughly 50% of all data transferred across platforms. Existing heuristic-based approaches—such as those leveraging congestion control signals from algorithms like BBR (Bottleneck Bandwidth and Round-trip propagation time)—fail to reliably balance the trade-off between data savings and prediction accuracy. By decomposing the problem into distinct prediction and termination tasks, TurboTest achieves significant data reductions while maintaining tight error bounds, paving the way for sustainable broadband measurement at internet scale.
Background
▶ Watch: Introduction and the scaling problem of speed tests (0:00)
Measuring broadband quality is foundational to bridging the digital divide, planning infrastructure, and enforcing regulatory standards. Platforms such as M-Lab, UCLA, and Cloudflare rely on client-driven, server-assisted speed tests where measurement servers stream traffic to clients to gauge peak download and upload speeds. Historically, these tests have operated on fixed, static time durations—typically lasting 10 seconds or more per direction—to ensure that TCP congestion control mechanisms fully ramp up and stabilize.
However, the systems engineering reality of modern networks has broken the assumptions underlying fixed-duration testing. As fiber-to-the-home and gigabit connections become standard, the sheer bandwidth-delay product requires servers to inject massive volumes of data into the network just to compute a single throughput metric. Previous attempts to optimize this process have relied on heuristic stopping rules. For instance, recent proposals published in systems venues like ACM SIGCOMM CCR attempted to monitor internal TCP congestion control parameters (specifically BBR window scaling) to detect when a connection has reached steady-state behavior and terminate early.
Yet, these heuristic strategies suffer from high error rates in practice. The underlying assumption—that congestion control stability correlates directly with throughput convergence—frequently breaks down under cross-traffic, varying bufferbloat conditions, and diverse access technologies. Consequently, heuristics often trigger premature termination, resulting in relative errors exceeding 40% (or errors exceeding 200 Mbps on high-speed links). This failure mode highlights the need for a data-driven approach that can capture complex temporal patterns in connection statistics while offering operators explicit control over the accuracy-versus-savings frontier.
Key Findings
▶ Watch: Limitations of existing heuristic-based early termination strategies (3:25)
When evaluating 1 million download tests collected between 2024 and 2025, the authors uncovered a stark Pareto distribution: low-throughput tests dominate test counts, but high-throughput gigabit tests dominate bandwidth consumption. This asymmetry forms the foundational premise for TurboTest, demonstrating that optimization efforts must specifically target high-bandwidth connections to yield meaningful infrastructure savings.
Benchmarked against traditional static approaches and state-of-the-art BBR-based heuristics, TurboTest achieves transformative data reductions across real-world datasets:
- Data Reduction: TurboTest transfers 2x to 4x less data than BBR-based heuristics while achieving equal or superior prediction accuracy.
- Platform-Scale Impact: When deployed on M-Lab’s monthly traffic profiles, configuring TurboTest with an operator error tolerance ($\epsilon$) of 5% reduces monthly packet transfer overhead from 12 petabytes down to 1 petabyte.
- High-Throughput Superiority: Bubble-plot breakdowns across round-trip time (RTT) bins and speed tiers reveal that TurboTest's largest performance gains occur precisely in high-throughput and gigabit Ethernet regimes—the exact conditions where rule-based BBR heuristics experience their highest error rates.
Technical Deep Dive
▶ Watch: Decomposing the problem into a two-stage ML strategy (4:30)
The architecture of TurboTest is built around a two-stage decomposition strategy. Rather than treating early termination as a monolithic classification or regression task, the framework separates the problem into (1) predicting the final throughput value, and (2) determining the optimal stopping time.
The input feature space consists of low-level server-side TCP kernel statistics (tcp_info) extracted during active speed tests. These features capture burstiness, stability, and congestion dynamics over time, including:
- Instantaneous throughput samples
- Congestion window size (cwnd) variations
- Packet retransmission counts
- RTT measurements
To balance competing objectives—minimizing prediction error versus maximizing data savings—TurboTest employs a dual-model pipeline:
- The Regressor Module: Responsible for minimizing prediction error. It takes time-series tcp_info data and maps it to the expected final throughput value ($X$ Mbps). However, running a regressor continuously at every time step is computationally inefficient and unnecessary.
- The Transformer-Based Classifier: Responsible for identifying the earliest optimal stopping point based on an operator-tunable tolerance parameter, $\epsilon$ (epsilon).
The parameter $\epsilon$ acts as a policy knob for network operators. For example, setting $\epsilon = 5\%$ enforces strict accuracy (limiting relative error tolerance to 5%), whereas setting $\epsilon = 15\%$ prioritizes higher data savings by tolerating a 15% relative error margin.
To optimize inference efficiency, the execution workflow is reversed during deployment: the transformer-based classifier evaluates the initial time steps and predicts the exact termination timestamp. The regressor module is invoked precisely once at that predicted stopping point to output the final throughput estimation, minimizing both network overhead and server-side compute cycles.
Experimental Setup & Results
▶ Watch: Evaluating accuracy and data savings frontier (9:20)
The evaluation of TurboTest is grounded in large-scale empirical analysis using a dataset of 1 million real-world download speed tests sourced from Measurement Lab (M-Lab) spanning 2024 to 2025.
The evaluation framework measures success across two primary axes:
- X-axis: Median relative error across the test corpus.
- Y-axis: Cumulative data transferred (in gigabytes/petabytes) across the evaluated sample set.
Baselines include full-length static speed tests, standard rule-based stopping heuristics derived from BBR congestion control states, and alternative state-of-the-art heuristics (such as CIS). Across all tested error thresholds, TurboTest consistently sits on the outer Pareto frontier. For a target relative error rate of 20%, TurboTest achieves a 1.8x to 4.4x reduction in data transferred compared to baseline heuristics. Ablation and operational sensitivity analyses confirm that individual $\epsilon$-tuned models successfully adapt to varying operator policies without requiring retraining from scratch.
Practical Implications
▶ Watch: Performance breakdown on high throughput gigabit Ethernet speed tests (11:20)
For infrastructure teams, network operators, and measurement platform maintainers, TurboTest offers a viable blueprint for scaling broadband telemetry sustainably. As subscriber base speeds transition from megabits to gigabits, scaling test infrastructure horizontally by provisioning more bandwidth-heavy measurement servers is economically prohibitive. TurboTest demonstrates that machine learning-driven early termination can prune redundant data transmission by over 90% at scale.
Tradeoffs and Limitations: Deploying TurboTest requires server-side access to granular kernel-level TCP statistics (tcp_info), which may not be exposed by all transport layer implementations or virtualized network stacks. Furthermore, operators must carefully select the $\epsilon$ parameter based on their specific use case: strict regulatory compliance measurements may require low $\epsilon$ values (e.g., 5%), whereas crowdsourced longitudinal mapping campaigns can tolerate higher $\epsilon$ values to maximize battery and data savings on client devices.
Key Takeaways
- Inefficiency of Static Tests: Fixed-duration speed tests transfer massive amounts of redundant data, with gigabit connections driving 50% of total platform volume despite representing a small fraction of tests.
- Failure of Heuristics: Traditional congestion control heuristics (such as those monitoring BBR) fail to reliably balance data savings and prediction accuracy, yielding relative errors exceeding 40%.
- Two-Stage ML Decomposition: TurboTest successfully decouples prediction error minimization (via a regressor) from data transfer optimization (via a transformer classifier).
- Massive Scale Savings: Integrating TurboTest with an $\epsilon = 5\%$ configuration reduces M-Lab's monthly traffic overhead from 12 petabytes to 1 petabyte.
- Operator-Tunable Flexibility: The framework exposes an explicit tolerance parameter ($\epsilon$), allowing network operators to dynamically tune the trade-off between measurement accuracy and data reduction.
About the Speaker(s)
Haarika Manda is a researcher at University of California, Santa Barbara (UCSB), working at the intersection of computer networking, systems, and machine learning. The research presented represents a collaborative effort involving researchers from UC Santa Barbara (including Cindy Zhao, Elizabeth Belding, and Arpit Gupta) and IIT Delhi (including Manshi Sagar, Yogesh, Kartikay Singh, and Tarun Mangla), alongside industry collaboration with Phillipa Gill from Google.
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)