2BRobust——缓解CPU竞争下虚拟机中TCP BBR的性能退化
2BRobust -- Mitigating TCP BBR Performance Degradation in Virtual Machines under CPU Contention
AI总结:
研究在CPU竞争下BBR在虚拟机中的性能退化问题,开发测量框架揭示其吞吐量在竞争中下降,提出BBR补丁通过监控字节和调整速率来缓解问题,避免互联网范围转变损害整体健壮性。
摘要:
受BBR拥塞控制算法近期引入和大规模部署的推动,多项研究探讨了从基于丢包到基于延迟的拥塞控制转变的性能和公平性影响。鉴于BBR可能在互联网上广泛采用,还必须考虑其在网络和系统场景中的健壮性。以前的工作表明BBRv1在Xen虚拟机中运行时存在显著性能问题,当CPU信用低时BBR性能几乎降至零。本文开发了一个在完全可控的CPU竞争下测量TCP吞吐量的框架,使用Linux截止调度来模拟广义CPU竞争条件。测量结果表明,与Cubic不同,BBR吞吐量在任何管理程序和所有测试的BDP条件下的CPU竞争期间都会下降。我们表明,受CPU限制的BBR发送器的吞吐量上限非常低,低于10-20Mbps。这一发现意味着,如果不谨慎部署,从Cubic到BBR的互联网范围转变可能会损害互联网的整体健壮性。为了检测和克服受CPU限制的吞吐量,我们提出了一个BBR补丁,通过监控飞行中的字节来检测问题情况,并通过提高 pacing 速率做出反应,以更好地利用可用的CPU时间。我们表明,我们的BBR补丁在最关键的情况下缓解了吞吐量问题。
英文摘要:
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 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 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 mitigates the throughput problem for the most critical cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。