Lune

OSDI2023Top-tier venue

ShRing: Networking with Shared Receive Rings

Boris Pismenny, Adam Morrison, Dan Tsafrir

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Making Kernel Bypass Practical for the Cloud with Junction cites Caladan: Mitigating Interference at Microsecond Timescales
  • CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data Paths cites Understanding host network stack overheads
  • CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data Paths cites Making Kernel Bypass Practical for the Cloud with Junction
  • CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data Paths cites Don't Forget the I/O When Allocating Your LLC
  • Achieving Wire-Latency Storage Systems by Exploiting Hardware ACKs cites Making Kernel Bypass Practical for the Cloud with Junction
  • Achieving Wire-Latency Storage Systems by Exploiting Hardware ACKs cites Autonomous NIC offloads
  • A4: Microarchitecture-Aware LLC Management for Datacenter Servers with Emerging I/O Devices cites Don't Forget the I/O When Allocating Your LLC
  • Don't Forget the I/O When Allocating Your LLC cites Caladan: Mitigating Interference at Microsecond Timescales
  • Don't Forget the I/O When Allocating Your LLC cites Contention-Aware Performance Prediction For Virtualized Network Functions
  • Disentangling the Dual Role of NIC Receive Rings cites Caladan: Mitigating Interference at Microsecond Timescales
  • Disentangling the Dual Role of NIC Receive Rings cites Understanding host network stack overheads
  • Disentangling the Dual Role of NIC Receive Rings cites Making Kernel Bypass Practical for the Cloud with Junction
  • Disentangling the Dual Role of NIC Receive Rings cites Autonomous NIC offloads
  • Disentangling the Dual Role of NIC Receive Rings cites Contention-Aware Performance Prediction For Virtualized Network Functions
  • Disentangling the Dual Role of NIC Receive Rings cites Don't Forget the I/O When Allocating Your LLC
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Making Kernel Bypass Practical for the Cloud with JunctionJoshua Fried, Gohar Irfan Chaudhry, Enrique Saurez, Esha Choukse et al.NSDI 2024 · 57 citations
  2. CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data PathsBowen Liu, Xinyang Huang, Qijing Li, Zhuobin Huang et al.SIGCOMM 2025 · 10 citations
  3. A4: Microarchitecture-Aware LLC Management for Datacenter Servers with Emerging I/O DevicesHaneul Park, Jiaqi Lou, Sangjin Lee, Yifan Yuan et al.ISCA 2025 · 2 citations
  4. Disentangling the Dual Role of NIC Receive RingsBoris Pismenny, Adam Morrison, Dan TsafrirOSDI 2025 · 2 citations
  5. Achieving Wire-Latency Storage Systems by Exploiting Hardware ACKsQing Wang, Jiwu Shu, Jing Wang, Yuhao ZhangNSDI 2025 · 1 citation

Builds on13

  1. Caladan: Mitigating Interference at Microsecond TimescalesJoshua Fried, Zhenyuan Ruan, Amy Ousterhout, Adam BelayOSDI 2020 · 213 citations
  2. Understanding host network stack overheadsQizhe Cai, Shubham Chaudhary, Midhul Vuppalapati, Jaehyun Hwang et al.SIGCOMM 2021 · 150 citations
  3. Contention-Aware Performance Prediction For Virtualized Network FunctionsAntonis Manousis, Rahul Anand Sharma, Vyas Sekar, Justine SherrySIGCOMM 2020 · 57 citations
  4. Don't Forget the I/O When Allocating Your LLCYifan Yuan, Mohammad Alian, Yipeng Wang, Ren Wang et al.ISCA 2021 · 37 citations
  5. Autonomous NIC offloadsBoris Pismenny, Haggai Eran, Aviad Yehezkel, Liran Liss et al.ASPLOS 2021 · 32 citations

Related papers

  1. The benefits of general-purpose on-NIC memoryBoris Pismenny, Liran Liss, Adam Morrison, Dan TsafrirASPLOS 2022 · 28 citations
  2. State-Compute Replication: Parallelizing High-Speed Stateful Packet ProcessingQiongwen Xu, Sebastiano Miano, Xiangyu Gao, Tao Wang et al.NSDI 2025
  3. TiNA: Tiered Network Buffer Architecture for Fast Networking in Chiplet-based CPUsSiddharth Agarwal, Tianchen Wang, Jinghan Huang, Saksham Agarwal et al.ASPLOS 2026 · 1 citation
  4. RECANS: Low-Latency Network Function Chains with Hierarchical State SharingJian Zhao, Shujun Zhuang, Jian Li, Haibing GuanHPDC 2020 · 2 citations
  5. PeRF: Preemption-enabled RDMA FrameworkSugi Lee, Mingyu Choi, Ikjun Yeom, Younghoon KimUSENIX ATC 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines