A Simpler and Faster NIC Driver Model for Network Functions
Solal Pirelli, George Candea
摘要
The advent of software network functions calls for stronger correctness guarantees and higher performance at every level of the stack. Current network stacks trade simplicity for performance and flexibility, especially in their driver model. We show that performance and simplicity can coexist, at the cost of some flexibility, with a new NIC driver model tailored to network functions. The key idea behind our model is that the driver can efficiently reuse packet buffers because buffers follow a single logical path.
We implement a driver for the Intel 82599 network card in 550 lines of code. By merely replacing the state-of-theart driver with our driver, formal verification of the entire software stack completes in 7x less time, while the verified functions' throughput improves by 160%. Our driver also beats, on realistic workloads, the throughput of drivers that cannot yet be formally verified, thanks to its low variability and resource use.
Our code is available at github.com/dslab-epfl/tinynf.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data Paths 引用了 CC-NIC: a Cache-Coherent Interface to the NIC
- CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data Paths 引用了 ShRing: Networking with Shared Receive Rings
- CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data Paths 引用了 PacketMill: toward per-Core 100-Gbps networking
- CC-NIC: a Cache-Coherent Interface to the NIC 引用了 PacketMill: toward per-Core 100-Gbps networking
- ShRing: Networking with Shared Receive Rings 引用了 Automated Verification of Network Function Binaries
- PacketMill: toward per-Core 100-Gbps networking 引用了 Achieving 100Gbps Intrusion Prevention on a Single Server
引用它的顶会 Paper9
- PacketMill: toward per-Core 100-Gbps networkingAlireza Farshin, Tom Barbette, Amir Roozbeh, Gerald Q. Maguire Jr. 等ASPLOS 2021 · 46 次引用
- Automated Verification of Network Function BinariesSolal Pirelli, Akvile Valentukonyte, Katerina J. Argyraki, George CandeaNSDI 2022 · 25 次引用
- CC-NIC: a Cache-Coherent Interface to the NICHenry N. Schuh, Arvind Krishnamurthy, David E. Culler, Henry M. Levy 等ASPLOS 2024 · 19 次引用
- ShRing: Networking with Shared Receive RingsBoris Pismenny, Adam Morrison, Dan TsafrirOSDI 2023 · 13 次引用
- CEIO: A Cache-Efficient Network I/O Architecture for NIC-CPU Data PathsBowen Liu, Xinyang Huang, Qijing Li, Zhuobin Huang 等SIGCOMM 2025 · 10 次引用
它引用的 Paper1
相关 Paper
- The benefits of general-purpose on-NIC memoryBoris Pismenny, Liran Liss, Adam Morrison, Dan TsafrirASPLOS 2022 · 28 次引用
- Toasty: Speeding Up Network I/O with Cache-Warm BuffersPreeti, Nitish Bhat, Ashwin Kumar, Mythili VutukuruASPLOS 2026
- Enabling Programmable Transport Protocols in High-Speed NICsMina Tahmasbi Arashloo, Alexey Lavrov, Manya Ghobadi, Jennifer Rexford 等NSDI 2020 · 96 次引用
- Efficient Verification of Timing-Related Network Functions in High-Speed HardwareTianqi Fang, Lisong Xu, Witawas Srisa-anINFOCOM 2023
- Enabling Fast Networking in the Public CloudAlireza Sanaee, Vahab Jabrayilov, Ilias Marinos, Farbod Shahinfar 等ASPLOS 2026
