FlexTOE:具有细粒度粒度的灵活TCP卸载
FlexTOE: Flexible TCP Offload with Fine-Grained Parallelism
摘要:
FlexTOE是一个灵活的、高性能的TCP卸载引擎(TOE),可用于SmartVPN。FlexTOE消除了几乎所有的主机数据路径TCP处理,并且完全可定制。FlexTOE可以与其他TCP协议栈很好地互操作,在不利的网络条件下也很健壮,并支持POSIX套接字。FlexTOE专注于已建立连接的数据路径卸载,避免NIC中复杂的控制逻辑和数据包缓冲。FlexTOE利用TCP数据路径的细粒度并行化和段重新排序,在脆弱的SmartNIC架构上实现高性能,同时通过模块化设计保持灵活性。我们将Agilio-CX 40上的FlexTOE与主机TCP堆栈Linux和TAS以及Chelsio Terminator TOE进行了比较。我们发现,Memcached在FlexTOE上的扩展能力比TAS高出38%,同时与Chelsio相比节省了81%的主机CPU周期。FlexTOE为RPC提供了有竞争力的性能,即使使用的是性能不佳的SmartNIC。与Chelsio和TAS相比,FlexTOE将第99.99百分位RPC RTT分别减少3.2 $\times$和50%。FlexTOE的数据路径并行性可跨硬件体系结构进行推广,将单连接RPC吞吐量提高到x86上的2.4 $\times$和BlueField上的4 $\times$。FlexTOE支持用eBPF编写的C和XDP程序。它允许我们实现流行的数据中心传输功能,如TCP跟踪、数据包过滤和捕获、VLAN剥离、流分类、防火墙和连接拼接。
英文摘要:
FlexTOE is a flexible, yet high-performance TCP offload engine (TOE) to SmartNICs. FlexTOE eliminates almost all host data-path TCP processing and is fully customizable. FlexTOE interoperates well with other TCP stacks, is robust under adverse network conditions, and supports POSIX sockets. FlexTOE focuses on data-path offload of established connections, avoiding complex control logic and packet buffering in the NIC. FlexTOE leverages fine-grained parallelization of the TCP data-path and segment reordering for high performance on wimpy SmartNIC architectures, while remaining flexible via a modular design. We compare FlexTOE on an Agilio-CX40 to host TCP stacks Linux and TAS, and to the Chelsio Terminator TOE. We find that Memcached scales up to 38% better on FlexTOE versus TAS, while saving up to 81% host CPU cycles versus Chelsio. FlexTOE provides competitive performance for RPCs, even with wimpy SmartNICs. FlexTOE cuts 99.99th-percentile RPC RTT by 3.2$\times$ and 50% versus Chelsio and TAS, respectively. FlexTOE's data-path parallelism generalizes across hardware architectures, improving single connection RPC throughput up to 2.4$\times$ on x86 and 4$\times$ on BlueField. FlexTOE supports C and XDP programs written in eBPF. It allows us to implement popular data center transport features, such as TCP tracing, packet filtering and capture, VLAN stripping, flow classification, firewalling, and connection splicing.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。