User Space Network Drivers

01/30/2019
by   Paul Emmerich, et al.
0

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. 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

READ FULL TEXT
research
01/30/2019

Writing User Space Network Drivers

The rise of user space packet processing frameworks like DPDK and netmap...
research
09/13/2019

The Case for Writing Network Drivers in High-Level Programming Languages

Drivers are written in C or restricted subsets of C++ on all production-...
research
04/25/2019

mmb: Flexible High-Speed Userspace Middleboxes

Nowadays, Internet actors have to deal with a strong increase in Interne...
research
12/31/2012

The Geant4 Visualisation System - a multi-driver graphics system

From the beginning the Geant4 Visualisation System was designed to suppo...
research
12/08/2012

A Generic Checkpoint-Restart Mechanism for Virtual Machines

It is common today to deploy complex software inside a virtual machine (...
research
12/24/2018

Divide et Impera: MemoryRanger Runs Drivers in Isolated Kernel Spaces

One of the main issues in the OS security is to provide trusted code exe...

Please sign up or login with your details

Forgot password? Click here to reset