Low-Latency, Deterministic Networking with Standard Linux using XDP Sockets
Application areas such as time sensitive networking and packet processing usually require some combination of high throughput, low latency and determinism in their packet processing characteristics. S …
Talk Title | Low-Latency, Deterministic Networking with Standard Linux using XDP Sockets |
Speakers | Magnus Karlsson (SW Architect, Intel Corporation), Björn Töpel (Linux Kernel Engineer, Intel) |
Conference | Open Source Summit + ELC Europe |
Conf Tag | |
Location | Lyon, France |
Date | Oct 27-Nov 1, 2019 |
URL | Talk Page |
Slides | Talk Slides |
Video | |
Application areas such as time sensitive networking and packet processing usually require some combination of high throughput, low latency and determinism in their packet processing characteristics. Satisfying these requirements with standard sockets have been found to be challenging, so application writers have resorted to use bare-metal solutions such as DPDK and vendor specific SDKs. While these solutions often manage to meet the tough performance goals, they break a number of security properties of Linux, poses integration challenges and are a lot harder to use than standard sockets.In this session, we present XDP sockets (AF_XDP), that was introduced in Linux 4.18. XDP sockets have been designed from ground up to be able to deterministically deliver sub microsecond packet latencies and process many millions of packets a second. We will present how to use XDP sockets from user space, an overview of the kernel and driver implementation, as well as a performance evaluation.