Disentangling the Dual Role of NIC Receive Rings
Boris Pismenny, Adam Morrison, Dan Tsafrir
摘要
CPUs parallelize packet processing across cores via per-core receive (Rx) rings, which are typically sized to absorb bursts with ≥1Ki entries by default. The combined I/O working set (packet buffers pointed to by all Rx rings) easily exceeds the LLC capacity, thus degrading performance due to high memory bandwidth pressure. Recent work has reduced the I/O working set size by sharing Rx rings among cores with the "shRing" system. But this approach suffers from a bottleneck under imbalanced loads, which are common.
We contend that the bottleneck stems from an unnecessary entanglement of two orthogonal producer-consumer structures: (1) memory allocation, where the core produces empty buffers that the NIC consumes to store packets; and (2) packet delivery, where the NIC produces incoming packets that the core consumes. We propose rxBisect, a new CPU-NIC interface that decouples these structures. RxBisect replaces each Rx ring with two separate rings corresponding to the two structures, allowing memory allocation to be performed independently of packet reception. RxBisect can thus pass empty buffers efficiently between cores upon imbalance, thereby eliminating the aforementioned bottleneck. We implement rxBisect with software emulation and find that it improves throughput by up to 20% and 37% relative to the state-of-theart (shRing) and state-of-the-practice (per-core Rx rings).
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- When DDIO Meets Page Coloring: Revisiting DDIO Performance with Sepia 引用了 Caladan: Mitigating Interference at Microsecond Timescales
- When DDIO Meets Page Coloring: Revisiting DDIO Performance with Sepia 引用了 Understanding host network stack overheads
- When DDIO Meets Page Coloring: Revisiting DDIO Performance with Sepia 引用了 Reexamining Direct Cache Access to Optimize I/O Intensive Applications for Multi-hundred-gigabit Networks
- Understanding host network stack overheads 引用了 Reexamining Direct Cache Access to Optimize I/O Intensive Applications for Multi-hundred-gigabit Networks
- Making Kernel Bypass Practical for the Cloud with Junction 引用了 Caladan: Mitigating Interference at Microsecond Timescales
- Efficient and Flexible Datapaths for Fine-Grained Rack-Scale Interconnects with Elastic QP 引用了 Characterizing Off-path SmartNIC for Accelerating Distributed Systems
- Toasty: Speeding Up Network I/O with Cache-Warm Buffers 引用了 Caladan: Mitigating Interference at Microsecond Timescales
- Toasty: Speeding Up Network I/O with Cache-Warm Buffers 引用了 Reexamining Direct Cache Access to Optimize I/O Intensive Applications for Multi-hundred-gigabit Networks
引用它的顶会 Paper3
- Efficient and Flexible Datapaths for Fine-Grained Rack-Scale Interconnects with Elastic QPChenxingyu Zhao, Yibo Wu, Hongtao Zhang, Jaehong Min 等SIGCOMM 2026 · 1 次引用
- When DDIO Meets Page Coloring: Revisiting DDIO Performance with SepiaChangwoo Song, Sanghyun Kim, Jinhyeok Oh, Qizhe Cai 等OSDI 2026
- Toasty: Speeding Up Network I/O with Cache-Warm BuffersPreeti, Nitish Bhat, Ashwin Kumar, Mythili VutukuruASPLOS 2026
它引用的 Paper18
- Caladan: Mitigating Interference at Microsecond TimescalesJoshua Fried, Zhenyuan Ruan, Amy Ousterhout, Adam BelayOSDI 2020 · 213 次引用
- Understanding host network stack overheadsQizhe Cai, Shubham Chaudhary, Midhul Vuppalapati, Jaehyun Hwang 等SIGCOMM 2021 · 150 次引用
- Reexamining Direct Cache Access to Optimize I/O Intensive Applications for Multi-hundred-gigabit NetworksAlireza Farshin, Amir Roozbeh, Gerald Q. Maguire Jr., Dejan KosticUSENIX ATC 2020 · 88 次引用
- Characterizing Off-path SmartNIC for Accelerating Distributed SystemsXingda Wei, Rongxin Cheng, Yuhan Yang, Rong Chen 等OSDI 2023 · 68 次引用
- Making Kernel Bypass Practical for the Cloud with JunctionJoshua Fried, Gohar Irfan Chaudhry, Enrique Saurez, Esha Choukse 等NSDI 2024 · 57 次引用
相关 Paper
- ShRing: Networking with Shared Receive RingsBoris Pismenny, Adam Morrison, Dan TsafrirOSDI 2023 · 13 次引用
- TiNA: Tiered Network Buffer Architecture for Fast Networking in Chiplet-based CPUsSiddharth Agarwal, Tianchen Wang, Jinghan Huang, Saksham Agarwal 等ASPLOS 2026 · 1 次引用
- State-Compute Replication: Parallelizing High-Speed Stateful Packet ProcessingQiongwen Xu, Sebastiano Miano, Xiangyu Gao, Tao Wang 等NSDI 2025
- DRack: A CXL-Disaggregated Rack Architecture to Boost Inter-Rack CommunicationXu Zhang, Ke Liu, Yuan Hui, Xiaolong Zheng 等USENIX ATC 2025 · 5 次引用
- BBQ: A Block-based Bounded Queue for Exchanging Data and ProfilingJiawei Wang, Diogo Behrens, Ming Fu, Lilith Oberhauser 等USENIX ATC 2022
