FlexTOE: Flexible TCP Offload with Fine-Grained Parallelism
Rajath Shashidhara, Tim Stamler, Antoine Kaufmann, Simon Peter
摘要
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 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 on x86 and 4 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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 27 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- RingLeader: Efficiently Offloading Intra-Server Orchestration to NICs 引用了 Enabling Programmable Transport Protocols in High-Speed NICs
- STYX: Exploiting SmartNIC Capability to Reduce Datacenter Memory Tax 引用了 LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline Parallelism
- LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline Parallelism 引用了 Enabling Programmable Transport Protocols in High-Speed NICs
- Dagger: efficient and fast RPCs in cloud microservices with near-memory reconfigurable NICs 引用了 AccelTCP: Accelerating Network Applications with Stateful TCP Offloading
- Masking Corruption Packet Losses in Datacenter Networks with Link-local Retransmission 引用了 Enabling Programmable Transport Protocols in High-Speed NICs
- Unleashing SmartNIC Packet Processing Performance in P4 引用了 AccelTCP: Accelerating Network Applications with Stateful TCP Offloading
引用它的顶会 Paper27
- Unleashing SmartNIC Packet Processing Performance in P4Jiarong Xing, Yiming Qiu, Kuo-Feng Hsu, Songyuan Sui 等SIGCOMM 2023 · 29 次引用
- RingLeader: Efficiently Offloading Intra-Server Orchestration to NICsJiaxin Lin, Adney Cardoza, Tarannum Khan, Yeonju Ro 等NSDI 2023 · 26 次引用
- μMon: Empowering Microsecond-level Network Monitoring with WaveletsHao Zheng, Chengyuan Huang, Xiangyu Han, Jiaqi Zheng 等SIGCOMM 2024 · 26 次引用
- Masking Corruption Packet Losses in Datacenter Networks with Link-local RetransmissionRaj Joshi, Cha Hwan Song, Xin Zhe Khooi, Nishant Budhdev 等SIGCOMM 2023 · 25 次引用
- STYX: Exploiting SmartNIC Capability to Reduce Datacenter Memory TaxHouxiang Ji, Mark Mansi, Yan Sun, Yifan Yuan 等USENIX ATC 2023 · 22 次引用
它引用的 Paper5
- AccelTCP: Accelerating Network Applications with Stateful TCP OffloadingYoungGyoun Moon, SeungEon Lee, Muhammad Asim Jamshed, KyoungSoo ParkNSDI 2020 · 121 次引用
- Enabling Programmable Transport Protocols in High-Speed NICsMina Tahmasbi Arashloo, Alexey Lavrov, Manya Ghobadi, Jennifer Rexford 等NSDI 2020 · 96 次引用
- LineFS: Efficient SmartNIC Offload of a Distributed File System with Pipeline ParallelismJongyul Kim, Insu Jang, Waleed Reda, Jaeseong Im 等SOSP 2021 · 83 次引用
- Dagger: efficient and fast RPCs in cloud microservices with near-memory reconfigurable NICsNikita Lazarev, Shaojie Xiang, Neil Adit, Zhiru Zhang 等ASPLOS 2021 · 54 次引用
- NetKernel: Making Network Stack Part of the Virtualized InfrastructureZhixiong Niu, Hong Xu, Peng Cheng, Qiang Su 等USENIX ATC 2020 · 24 次引用
相关 Paper
- SmartNS: Enabling Line-rate and Flexible Network Stack with SmartNICXuzheng Chen, Jie Zhang, Baolin Zhu, Xueying Zhu 等EuroSys 2026
- RpcNIC: Enabling Efficient Datacenter RPC Offloading on PCIe-attached SmartNICsJie Zhang, Hongjing Huang, Xuzheng Chen, Xiang Li 等HPCA 2025 · 6 次引用
- Xenic: SmartNIC-Accelerated Distributed TransactionsHenry N. Schuh, Weihao Liang, Ming Liu, Jacob Nelson 等SOSP 2021 · 62 次引用
- Foxhound: Server-Grade Observability for Network-Augmented ApplicationsLucas Castanheira, Alberto Schaeffer-Filho, Theophilus A. BensonEuroSys 2023 · 1 次引用
- Presto: A Match-Action TCP Stack for the Terabit EraRajath Shashidhara, Antoine Kaufmann, Simon PeterSIGCOMM 2026 · 1 次引用
