Performance Implications at the Intersection of AF_XDP and Programmable NICs
AF_XDP is emerging as an easier way to implement zero-copy network bypass applications. This is because it allows mixed-mode deployments, where zero-copy and socket-based applications share the same NIC. However, AF_XDP relies on NIC hardware and driver features, but implementing these features on programmable NICs adds resource overheads and increases development complexity and thus might not be desirable. To address this, we examine the feasibility of using eBPF based kernel extensibility to implement the required features, and report on the tradeoff between an eBPF and a native NIC implementation. Our analysis involved updating the OpenNIC driver to support the loading of eBPF/XDP programs and zero-copy AF_XDP. Our implementation is of independent interest because it makes it easier to develop and evaluate alternate designs for mixed-mode zero-copy deployments, and new NIC accelerated applications. Our implementation is open-sourced
Authors
- Davide Zoni (ORCID: https://orcid.org/0000-0002-9951-062X)
- Gianni Antichi (ORCID: https://orcid.org/0000-0002-6063-4975)
- Farbod Shahinfar (ORCID: https://orcid.org/0000-0002-5784-4592)
- Aurojit Panda (ORCID: https://orcid.org/0000-0001-9664-4377)
- Marco Molè
- Francesco Maria Tranquillo
Institutions
- New York University (US)
- Politecnico di Milano (IT)
Publication Details
- Published
- 2025-08-19
- DOI
- https://doi.org/10.1145/3748355.3748359
- Citations
- 1
- Primary Topic
- Distributed systems and fault tolerance
- Type
- article
- Field-Weighted Citation Impact
- 1.49