ShRing: Networking with Shared Receive Rings
Boris Pismenny, Adam Morrison, Dan Tsafrir
摘要
Multicore systems parallelize to accommodate incoming Ethernet traffic, allocating one receive (Rx) ring with ≥1Ki entries per core by default. This ring size is sufficient to absorb packet bursts of single-core workloads. But the combined size of all Rx buffers (pointed to by all Rx rings) can exceed the size of the last-level cache. We observe that, in this case, NIC and CPU memory accesses are increasingly served by main memory, which might incur nonnegligible overheads when scaling to hundreds of incoming gigabits per second.
To alleviate this problem, we propose "shRing," which shares each Rx ring among several cores when networking memory bandwidth consumption is high. ShRing thus adds software synchronization costs, but this overhead is offset by the smaller memory footprint. We show that, consequently, shRing increases the throughput of NFV workloads by up to 1.27x, and that it reduces their latency by up to 38x. The substantial latency reduction occurs when shRing shortens the per-packet processing time to a value smaller than the packet interarrival time, thereby preventing overload conditions.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Making Kernel Bypass Practical for the Cloud with Junction 引用了 Caladan: Mitigating Interference at Microsecond Timescales
- CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data Paths 引用了 Understanding host network stack overheads
- CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data Paths 引用了 Making Kernel Bypass Practical for the Cloud with Junction
- CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data Paths 引用了 Don't Forget the I/O When Allocating Your LLC
- Achieving Wire-Latency Storage Systems by Exploiting Hardware ACKs 引用了 Making Kernel Bypass Practical for the Cloud with Junction
- Achieving Wire-Latency Storage Systems by Exploiting Hardware ACKs 引用了 Autonomous NIC offloads
- A4: Microarchitecture-Aware LLC Management for Datacenter Servers with Emerging I/O Devices 引用了 Don't Forget the I/O When Allocating Your LLC
- Don't Forget the I/O When Allocating Your LLC 引用了 Caladan: Mitigating Interference at Microsecond Timescales
- Don't Forget the I/O When Allocating Your LLC 引用了 Contention-Aware Performance Prediction For Virtualized Network Functions
- Disentangling the Dual Role of NIC Receive Rings 引用了 Caladan: Mitigating Interference at Microsecond Timescales
- Disentangling the Dual Role of NIC Receive Rings 引用了 Understanding host network stack overheads
- Disentangling the Dual Role of NIC Receive Rings 引用了 Making Kernel Bypass Practical for the Cloud with Junction
- Disentangling the Dual Role of NIC Receive Rings 引用了 Autonomous NIC offloads
- Disentangling the Dual Role of NIC Receive Rings 引用了 Contention-Aware Performance Prediction For Virtualized Network Functions
- Disentangling the Dual Role of NIC Receive Rings 引用了 Don't Forget the I/O When Allocating Your LLC
引用它的顶会 Paper11
- Making Kernel Bypass Practical for the Cloud with JunctionJoshua Fried, Gohar Irfan Chaudhry, Enrique Saurez, Esha Choukse 等NSDI 2024 · 57 次引用
- CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data PathsBowen Liu, Xinyang Huang, Qijing Li, Zhuobin Huang 等SIGCOMM 2025 · 10 次引用
- A4: Microarchitecture-Aware LLC Management for Datacenter Servers with Emerging I/O DevicesHaneul Park, Jiaqi Lou, Sangjin Lee, Yifan Yuan 等ISCA 2025 · 2 次引用
- Disentangling the Dual Role of NIC Receive RingsBoris Pismenny, Adam Morrison, Dan TsafrirOSDI 2025 · 2 次引用
- Achieving Wire-Latency Storage Systems by Exploiting Hardware ACKsQing Wang, Jiwu Shu, Jing Wang, Yuhao ZhangNSDI 2025 · 1 次引用
它引用的 Paper13
- 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 次引用
- Contention-Aware Performance Prediction For Virtualized Network FunctionsAntonis Manousis, Rahul Anand Sharma, Vyas Sekar, Justine SherrySIGCOMM 2020 · 57 次引用
- Don't Forget the I/O When Allocating Your LLCYifan Yuan, Mohammad Alian, Yipeng Wang, Ren Wang 等ISCA 2021 · 37 次引用
- Autonomous NIC offloadsBoris Pismenny, Haggai Eran, Aviad Yehezkel, Liran Liss 等ASPLOS 2021 · 32 次引用
相关 Paper
- The benefits of general-purpose on-NIC memoryBoris Pismenny, Liran Liss, Adam Morrison, Dan TsafrirASPLOS 2022 · 28 次引用
- State-Compute Replication: Parallelizing High-Speed Stateful Packet ProcessingQiongwen Xu, Sebastiano Miano, Xiangyu Gao, Tao Wang 等NSDI 2025
- TiNA: Tiered Network Buffer Architecture for Fast Networking in Chiplet-based CPUsSiddharth Agarwal, Tianchen Wang, Jinghan Huang, Saksham Agarwal 等ASPLOS 2026 · 1 次引用
- RECANS: Low-Latency Network Function Chains with Hierarchical State SharingJian Zhao, Shujun Zhuang, Jian Li, Haibing GuanHPDC 2020 · 2 次引用
- PeRF: Preemption-enabled RDMA FrameworkSugi Lee, Mingyu Choi, Ikjun Yeom, Younghoon KimUSENIX ATC 2024 · 3 次引用
