Congestion Control and Transport Layer Protocols

Congestion control algorithms (CCAs) largely determine the manner and extent to which applications utilize network resources (i.e., bandwidth). CCAs enable applications to adapt their delivery rate to available bottleneck bandwidth, equitably share bandwidth with other contending applications, and reduce or prevent congestion in the network. Research on CCAs spans more than four decades, producing an extensive body of literature—and the pace shows no signs of slowing down. As networking hardware (e.g., programmable switches and NICs), network infrastructure (e.g., LEO satellite networks), and networked systems or applications (e.g., virtual and extended reality) continue to evolve, new opportunities and challenges emerge for revisiting and rethinking CCA designs. As such, another focus area of our group are transport protocols and congestion control algorithms.

BBRv3 in the Public Internet:

The Bottleneck-Bandwidth and Round-trip (BBR) congestion control algorithm was introduced by Google in 2016. Unlike prior congestion-control algorithms (CCAs), BBR does not rely on signals that are weakly correlated with congestion (e.g., packet loss and transient queue delay). Instead, it characterizes a path using two parameters, bottleneck bandwidth and round-trip propagation time, and is designed to converge with a high probability to Kleinrock’s optimal operating point. Essentially, in stable state, BBR maximizes throughput while minimizing delay and loss. Google has used BBR for a significant fraction of its network traffic both within its datacenters and on its WAN since 2017. BBR’s interaction dynamics with Cubic, the widely used CCA in the Internet, has received intense scrutiny: Some studies observed BBR to be unfair to Cubic, or generally loss-based CCAs. Google, to its credit, has diligently revised BBR’s design to address the criticisms.

Given the increasing volume of traffic that Google has been transitioning to use BBR and its current efforts to include BBRv3 in the Linux kernel, we turned our attention to performing a systematic and rigorous evaluation of BBRv3 in a range of realistic network conditions and traffic scenarios e.g., considering different buffer sizes, round-trip times, packet losses, and flow-size distributions. Specifically, we checked whether Google’s claims of BBRv3’s fairness towards other CCAs hold water in our evaluations.

While BBRv3 has evolved substantially compared to the earlier versions, in our evaluations BBRv3 struggles to achieve an equitable bandwidth sharing with competing flows. Even when competing with similar flows (i.e., flows using BBRv3) a small difference in arrival times causes BBRv3 to incur substantial delays in bandwidth convergence. Despite the revisions, optimizations, and bug fixes, BBRv3’s highly competitive behavior stifles Cubic on a bottleneck link, particularly in shallow buffer settings.

One of the fundamental changes in BBRv2, which has remained intact in BBRv3, is the use of explicit congestion notification (ECN) signals for adapting the sender’s delivery rate. ECN allows routers along the network path between a sender and receiver to mark a packet to signal impending congestion. Receiver must echo the signal to the sender, via the ECN-Echo (ECE) field in the TCP header. We built upon our prior work and examine BBRv3’s ability to coexist with Cubic flows by taking loss, in the form of ECN signals, into account. Our evaluations reveal that, when ECN is enabled, a single BBRv3 flow can acquire more than  99% of the bandwidth even when competing with five Cubic flows.

These results have crucial implications for BBRv3’s adoption and deployment in the public Internet. Our study, additionally, highlights a key challenge in evaluating CCAs: lack of a clear consensus on CCA evaluation and/or benchmarking. We believe that it is a key source of the discrepancies between our findings and those of Google concerning BBR’s behavior.

Benchmarking Congestion-Control Algorithms:

Congestion control algorithms (CCAs) largely determine the manner and extent to which applications utilize network resources (i.e., bandwidth). CCAs empower applications to adapt their delivery rate to available bottleneck bandwidth, share the bottleneck bandwidth equitably among other contending applications, and reduce the likelihood of or prevent congestion in the network. They have crucial implications for the efficient, fair, and safe use of network (or Internet) infrastructure. Research on CCAs spans more than four decades with an extensive body of literature, and its pace shows no signs of “slowing down. ” As the networking hardware (e.g., programming switches and NICs), network infrastructure (e.g., LEO satellite networks), and networked systems or applications (e.g., virtual and extended reality applications) continually evolve, new opportunities and challenges open up for revisiting, rethinking, and reevaluating CCA designs.

We highlight, unfortunately, a critical threat to congestion control research—the lack of a community-wide consensus on evaluating CCA designs. Our investigations into prior work reveal vastly different evaluation approaches, with CCA designers selectively choosing parameters and metrics without sufficient justification for these choices. The evaluation measures (e.g., utilization, fairness, and convergence), metrics (e.g., Jain’s fairness index, harm, slowdown, and flow-completion time), network conditions (i.e., flow startup times and RTTs, etc.), and deployment scenarios used (i.e., flow sizes, traffic workloads, bottleneck topology, etc.) vary vastly across studies. Furthermore, we uncover a pervasive lack of well-specified, open, and reproducible evaluations, which poses a critical threat for congestion control research. While the curated set of “tests” might be well-justified in certain scenarios, they do not present a complete evaluation, which makes it hard to determine whether the key insights from a prior work generalize to other scenarios that the designer did not consider. The differences in evaluation scenarios and metrics also make it non-trivial to perform comparative evaluations of one CCA against others. Besides, many prior works do not fully disclose the details of their testbed and/or release their “tests,” which exacerbates the already arduous task of conducting rigorous and comprehensive comparative evaluations of a CCA against prior work. The solution to remedy these issues is rather simple: embrace an open, reproducible, standardized approach to evaluating CCAs.

In this work, we address the lack of consensus issue head on by presenting a CCA benchmarking “recipe” that distills and adapts past work on evaluating CCAs into three fundamental questions that designers should consider when evaluating CCAs: (1) How does a CCA cope with the performance unpredictability of the end-to-end path? (2) How does a CCA adapt to cross-traffic? (3) How does a CCA handle workload dynamics? We demonstrated how answering these questions offers a rigorous characterization of a CCA’s behavior in a wide range of network conditions. For instance, in exploring the parameter space, many factors influence the behavior of a CCA ranging from end-host system settings (e.g., kernel configuration and NIC optimizations) to network configurations (e.g., buffer size, delays, and queuing discipline) to traffic conditions (e.g., mixing of different flow distributions). Exploring each such parameter and considering all possible values that it can take quickly results in a combinatorial explosion of the parameter space. By presenting a recipe that unifies, adapts, and explicitly focuses on the objectives of a design, we hope our approach will help in catalyzing standardization efforts. A standardized evaluation helps explain CCA behavior and helps designers easily infer where, i.e., along what dimensions, their CCA fares poorer compared to others and quickly investigate the test scenarios and rectify the problem in the design. Such a standardized approach also helps inform future research to focus on specific instances where a prior work diverges, and demonstrate how their designs fare better than the prior work, e.g., by using interpretable machine learning models to automatically construct counter examples of situations where a CCA fares poorly. Another benefit is in the publication of data sets where large content providers and network operators publish their traffic data sets or insights into their traffic matrices to help other congestion control researchers or operators.

Network-assisted Congestion Feedback:

A fundamental and long-standing challenge in networking is effective mitigation of congestion on a bottleneck link. There exists, unsurprisingly, an extensive body of prior work on congestion control algorithms (CCAs) spanning about four decades. The network landscape, however, evolves continually (examples include programmable data planes, low Earth-orbit satellite networks, 5G and WiFi 7 for cellular and wireless networks, and plethora of novel applications with varying performance demands), and this evolution, in turn, ushers in innovative CCA proposals from the networking community. The evolution in networking technologies and applications (or systems) also introduce new challenges for CCA design. Today, an “ideal” CCA must cater to a multitude of objectives including ensuring fair or equitable sharing of network resources, reducing delays or RTTs, maximizing throughput, minimizing FCTs, avoiding starvation, tackling TCP Incast, and adapting to diverse network settings (e.g., datacenter and wireless networks).

In this work, We present Network Congestion Feedback (NCF), a novel congestion control framework that leverages programmable data planes for generating a rich congestion signal for use in the public Internet. NCF makes several contributions, including isolating ‘mice’ and ‘elephant’ flows using separate queues, detecting congestion in the elephants’ queue and generating a rich sub-RTT signal for the concerned senders, and designing a congestion-control algorithm (CCA) that matches a flow’s demands with supply (i.e., available bandwidth) for maximizing utilization and fairness. It extends two key ingredients from prior work on datacenter CCAs—a short control-loop delay and a precise congestion signal—that are crucial for designing an efficient, fair CCA, by adapting them for the more challenging Internet context. NCF isolates mice and elephant flows so that the former cannot unfairly degrade the throughput of the latter, and it guarantees that mice flows experience minimal round-trip times (RTTs) even when contending with elephant flows. NCF virtually eliminates slow-start spikes and achieves high fairness in both shallow and deep-buffer configurations, and even when the flows experience drastically different RTTs.

Lastly, NCF offers low flow completion times (FCTs) to short flows even in challenging Multiple-bottleneck scenarios. Our evaluations showed that NCF is robust and safe for deployment in the public Internet. The need to guarantee low latency to applications is quite evident from network operators’ interests in approaches such as L4S. Emerging applications are, however, highly demanding, than ever before: They are not demanding of low latencies, but also of high bandwidths, and these requirements might also vary over time, i.e., over the course of a data transfer or session. NCF’s ability to isolate mice and elephant flow types dynamically would be crucial in meeting the stringent performance requirements of such applications. In today’s Internet where CDNs, cloud, and content providers account for most of the Internet traffic, NCF, which only requires sender-side support, offers a new, practical, safe, and robust framework for experimenting with congestion control.

Rethinking Internet Congestion Control:

Congestion control algorithms (CCAs) largely determine the manner and extent to which applications utilize network resources (i.e., bandwidth). CCAs enable applications to adapt their delivery rate to available bottleneck bandwidth, equitably share bandwidth with other contending applications, and reduce or prevent congestion in the network. Research on CCAs spans more than four decades, producing an extensive body of literature—and the pace shows no signs of slowing down. As networking hardware (e.g., programmable switches and NICs), network infrastructure (e.g., LEO satellite networks), and networked systems or applications (e.g., virtual and extended reality) continue to evolve, new opportunities and challenges emerge for revisiting and rethinking CCA designs.

As one recent example, the Bottleneck Bandwidth and Round-trip propagation time (BBR) congestion control algorithm was introduced by Google in 2016. Unlike traditional CCAs, BBR does not rely on signals weakly correlated with congestion (e.g., packet loss or transient queueing delays). Instead, it characterizes a network path using two parameters—bottleneck bandwidth and round-trip propagation time—and is designed to converge with high probability to Kleinrock’s optimal operating point. Essentially, in steady state, BBR aims to maximize throughput while minimizing delay and loss.

Unfortunately, we highlight a critical threat to congestion control research: the lack of a community-wide consensus on evaluating CCA designs. Our investigations into prior work reveal widely varying evaluation methodologies, where designers often selectively choose parameters and metrics without providing sufficient justification. Evaluation aspects—including performance measures (e.g., utilization, fairness, convergence), metrics (e.g., Jain’s fairness index, harm, slowdown, flow completion time), network conditions (e.g., RTTs, flow startup times), and deployment scenarios (e.g., flow sizes, workloads, bottleneck topologies)—differ significantly across studies.

Moreover, while curated sets of evaluation tests may be well-justified in particular contexts, they often do not represent a complete assessment, making it difficult to determine whether key insights from prior work generalize to untested scenarios. The inconsistency in evaluation setups and metrics also complicates comparative assessments between CCAs. For example, a case study on BBR shows that its interactions with Cubic—the widely deployed Internet CCA—have drawn intense scrutiny. Some studies find BBR to be unfair to Cubic or to loss-based CCAs in general.

In this work, we address the lack of evaluation consensus by presenting a CCA benchmarking “recipe” that distills and adapts insights from past work into three fundamental questions that CCA designers should consider: 1) How does a CCA cope with performance unpredictability along the end-to-end path? 2) How does a CCA adapt to cross-traffic? 3) How does a CCA handle workload dynamics? We demonstrate that answering these questions enables a rigorous characterization of a CCA’s behavior under diverse network conditions. Many factors influence a CCA’s behavior—ranging from end-host system settings (e.g., kernel configuration, NIC optimizations), to network configurations (e.g., buffer sizes, delays, queuing disciplines), to traffic patterns (e.g., flow size distributions). Exploring each parameter and its potential values quickly leads to a combinatorial explosion in the parameter space. By offering a structured and objective-driven recipe, we aim to catalyze standardization efforts.

Given Google’s increasing deployment of BBR and its current efforts to integrate BBRv3 into the Linux kernel, we focused our attention on a systematic and rigorous evaluation of BBRv3. Although BBRv3 introduces significant changes compared to its predecessors, our evaluations show that it still struggles with equitable bandwidth sharing. Even when competing against similar BBRv3 flows, small differences in arrival times can cause substantial delays in convergence. Despite numerous revisions, optimizations, and bug fixes, BBRv3 continues to dominate Cubic in shared bottlenecks, particularly in shallow-buffer settings. One notable feature introduced in BBRv2 and retained in BBRv3 is the use of Explicit Congestion Notification (ECN) signals to adapt the sender’s delivery rate. ECN allows routers to mark packets as a signal of impending congestion. The receiver then echoes this signal back to the sender via the ECN-Echo (ECE) field in the TCP header. Building on our prior work, we evaluate BBRv3’s ability to coexist with Cubic when ECN signals are used to indicate loss. Our experiments reveal that even with ECN enabled, a single BBRv3 flow can capture over 99% of the bandwidth when competing against five Cubic flows.

These findings have important implications for BBRv3’s adoption and deployment on the public Internet. In general, a standardized evaluation framework helps explain CCA behavior and allows designers to quickly identify and address weaknesses in their algorithms. It also enables future research to focus on specific cases where prior work diverged, and to demonstrate improvements—for instance, by using interpretable machine learning models to automatically generate counterexamples where a CCA performs poorly. The solution to these issues is straightforward: embrace an open, reproducible, and standardized approach to CCA evaluation. Standardized evaluation encourages collaboration, as large content providers and network operators can more easily share traffic datasets or insights into traffic patterns, supporting the broader community of congestion control researchers and practitioners.

Evaluating Implementations of Happy Eyeballs:

The standardization of IPv6 as a non-compatible protocol to IPv4 resulted in a separation of the IP layer. Due to the IPv4 address space exhaustion, IPv6 is deployed and used more widely. The non-compatibility imposes a decision on clients: Which address family should be used? Happy Eyeballs (HE) started out by describing a mechanism that prefers IPv6 connections while ensuring a fast fallback to IPv4 when IPv6 fails. While the standards include recommendations for HE parameters choices, it is up to the client and operating system to implement HE. Furthermore, new protocols increased the scope and complexity of the initial problem. QUIC resulted in another transport protocol besides TCP and the foundation for a new version of HTTP. Like IPv6, QUIC and HTTP/3 are incompatible with existing alternatives, and clients must decide which protocol to use. Therefore, as of November 2024, a new version of HE and a new IETF working group are suggested to provide guidance given the new complexity.

We investigate the state of HE in various clients, particularly web browsers and recursive resolvers. We introduce a framework to analyze and measure client’s HE implementations and parameter choices. According to our evaluation, only Safari supports all HE features. Only Safari implements a resolution delay, an address selection mechanism and interlaces addresses of different versions, thus, HEv2. In contrast, Chromium-based browsers and Firefox delay IPv6 connection initialization until the corresponding DNS A record arrives, even though IPv6 address information is available and preferred. We further show that problems with the DNS A record lookup can even delay and interrupt the network connectivity despite a fully functional IPv6 setup with Chrome and Firefox.

Evaluation of QUIC Deployments over Time and with a Distributed Approach:

QUIC was only standardized in 2021 and is by design implemented in user space. This allowed the development of more than 20 different libraries already during its standardization phase. Furthermore, previous work related to this project has shown that many libraries are actually used on the Internet.

A longitudinal measurement, started in 2021, allows us to evaluate the development of QUIC deployments on the Internet over time. The measurement provides insights into the availability of QUIC-based HTTP services, the used QUIC libraries, QUIC and TLS specific configurations and served X.509 certificates. The project evaluates whether changes are visible and whether they can be linked to new standards or findings regarding QUIC, e.g., performance bottlenecks due to certain configurations or libraries. Furthermore, while all implementations follow the same standard, differences are visible and their impact on performance or available functionality can be drastic. To allow researchers, users and network operators an informed evaluation of the network and quality of experience, knowledge about the library and configurations are important. The properties of individual connections are not only influenced by the network itself and the used protocols, but also the respective QUIC library.

The second goal of this project is to transfer methodologies to evaluate QUIC deployments and to identify libraries into a distributed measurement environment. The Internet is highly decentralized and optimized towards individual networks, e.g., implementing load balancing or accounting for device capabilities in specific regions. This project will develop and deploy the tools for distributed measurements to account for topological and geographical influences on QUIC.

Evaluating Pacing Strategies in QUIC Implementations:

Pacing, the controlled scheduling of packet transmissions, is a well-known mechanism for improving efficiency by trying to avoid bursty packet transmissions. It is known to reduce packet loss, lower queuing delays, and improve overall network performance. The QUIC standard issues the normative statement that a sender should pace outgoing traffic with, for example, a leaky bucket algorithm. While the QUIC protocol recommends pacing and congestion control algorithms like BBR rely on it, the user-space nature of QUIC introduces unique challenges.

In this project, we investigate how pacing is implemented across different QUIC stacks, including quiche, picoquic, and ngtcp2. Furthermore, we evaluate the impact of system-level features like Generic Segmentation Offloading (GSO) and Linux qdiscs on pacing. Using a custom measurement framework, we establish a baseline with default settings and systematically explore the effects of qdiscs, hardware offloading using the ETF qdisc, and GSO on pacing precision and network performance. We compare kernel-assisted and purely user-space pacing approaches. We show that pacing with only user-space timers can work well, as demonstrated by picoquic with BBR. We identify FQ as a qdisc well-suited for pacing QUIC traffic, as it is relatively easy to use and offers precise pacing based on packet timestamps. For example, quiche can make use of the FQ qdisc for pacing. Comparing the pacing of a quiche baseline with an optimized FQ configuration, we observe similar pacing during large parts of the connection. However, with FQ, packet trains longer than five packets are rare while they make up over 10 % of the packets in the baseline. Thus, the overall connection is better paced. Our findings provide new insights into the trade-offs involved in implementing pacing in QUIC and highlight potential optimizations for real-world applications like video streaming and video calls.