User Space Network Drivers

Paul Emmerich, Maximilian Pudelko, Simon Bauer, Stefan Huber, Thomas Zwickl +1 more
1/30/2019
cs.NIcs.OS

Official code: emmericp/ixy (1,328 stars, C, BSD-3-Clause, last commit 2022-02-19).

Abstract

The rise of user space packet processing frameworks like DPDK and netmap makes low-level code more accessible to developers and researchers. Previously, driver code was hidden in the kernel and rarely modified, or even looked at, by developers working at higher layers.

Show full abstract

These barriers are gone nowadays, yet developers still treat user space drivers as black-boxes magically accelerating applications. We want to change this: every researcher building high-speed network applications should understand the intricacies of the underlying drivers, especially if they impact performance. We present ixy, a user space network driver designed for simplicity and educational purposes to show that fast packet IO is not black magic but careful engineering. ixy focuses on the bare essentials of user space packet processing: a packet forwarder including the whole NIC driver uses less than 1,000 lines of C code. This paper is partially written in tutorial style on the case study of our implementations of drivers for both the Intel 82599 family and for virtual VirtIO NICs. The former allows us to reason about driver and framework performance on a stripped-down implementation to assess individual optimizations in isolation. VirtIO support ensures that everyone can run it in a virtual machine. Our code is available as free and open source under the BSD license at https://github.com/emmericp/ixy

View on arXivView PDF

Code Implementations(1)

emmericp/ixyOfficial100%
BSD-3-Clause

A simple yet fast user space network driver for Intel 10 Gbit/s NICs written from scratch

1,328140C, CMakeOct 15, 20174 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{emmerich2019user,
  title  = {User Space Network Drivers},
  author = {Paul Emmerich and Maximilian Pudelko and Simon Bauer and Stefan Huber and Thomas Zwickl and Georg Carle},
  year   = {2019},
  eprint = {1901.10664},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1901.10664}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1901.10664.svg)](https://codeofpaper.com/paper/1901.10664)

Discussion