2BRobust -- Overcoming TCP BBR Performance Degradation in Virtual Machines under CPU Contention
By: Kathrin Elmenhorst, Nils Aschenbruck
Potential Business Impact:
Fixes slow internet when computers are busy.
Motivated by the recent introduction and large-scale deployment of BBR congestion control algorithms, multiple studies have investigated the performance and fairness implications of this shift from loss-based to delay-based congestion control. Given the potential Internet-wide adoption of BBR, we must also consider its robustness in network and system scenarios. One such scenario is Cloud-based Virtual Machine (VM) networking - highly relevant in today's CDN-centric Internet. Interestingly, previous work has shown significant performance problems of BBRv1-2 running in Xen VMs, with BBR performance dropping to almost zero when CPU credit is low. In this paper, we develop a framework for measuring TCP throughput under fully controlled CPU contention, which uses Linux deadline scheduling to emulate generalized CPU contention conditions. Our measurements reveal that - in stark contrast to Cubic! - BBR throughput can break down during CPU contention under any hypervisor and all tested BDP conditions. Characterizing this performance degradation on a fine-granular level, we show that CPU limited BBR senders are capped at very low throughput levels below 10-20 Mbps. This finding implies that an Internet-wide shift from Cubic to BBR could harm the Internet's overall robustness, if not deployed with caution. To detect and overcome CPU-limited throughput, we propose a minimal BBR patch which detects the problematic situation by monitoring inflight bytes and reacts by increasing the pacing rate to make better use of the available CPU time. We show that our BBR patch overcomes the throughput problem for the most critical cases.
Similar Papers
Should BBR be the default TCP Congestion Control Protocol?
Networking and Internet Architecture
Makes internet faster for big downloads.
TCP BBR Performance over Wi-Fi~6: AQM Impacts and Cross-Layer Insights
Networking and Internet Architecture
Makes internet faster on your home Wi-Fi.
Understanding BBRv3 Performance in AQM-Enabled WiFi Networks
Networking and Internet Architecture
Makes Wi-Fi faster and fairer for everyone.