A Simpler and Faster NIC Driver Model for Network Functions
Solal Pirelli, George Candea
Abstract
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext c46cf45d-7232-4f2d-85d6-22bf742cb2c4Cited by top-tier papers9
- PacketMill: toward per-Core 100-Gbps networkingAlireza Farshin, Tom Barbette, Amir Roozbeh, Gerald Q. Maguire Jr. et al.ASPLOS 2021 · 46 citations
- Automated Verification of Network Function BinariesSolal Pirelli, Akvile Valentukonyte, Katerina J. Argyraki, George CandeaNSDI 2022 · 25 citations
- CC-NIC: a Cache-Coherent Interface to the NICHenry N. Schuh, Arvind Krishnamurthy, David E. Culler, Henry M. Levy et al.ASPLOS 2024 · 19 citations
- ShRing: Networking with Shared Receive RingsBoris Pismenny, Adam Morrison, Dan TsafrirOSDI 2023 · 13 citations
- 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
Builds on1
Related papers
- The benefits of general-purpose on-NIC memoryBoris Pismenny, Liran Liss, Adam Morrison, Dan TsafrirASPLOS 2022 · 28 citations
- 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 et al.NSDI 2020 · 96 citations
- Enabling Fast Networking in the Public CloudAlireza Sanaee, Vahab Jabrayilov, Ilias Marinos, Farbod Shahinfar et al.ASPLOS 2026
- Efficient Verification of Timing-Related Network Functions in High-Speed HardwareTianqi Fang, Lisong Xu, Witawas Srisa-anINFOCOM 2023
