Low-Latency, Deterministic Networking with Standard Linux using XDP Sockets
Talkat Open Source Summit Europe + Embedded Linux Conference Europe 2019 · on Monday, 2019-10-28· at 15:15· Forum 3·
summary
XDP sockets (AF_XDP) use registered user memory and shared producer/consumer rings to avoid copies and system calls, enabling AF_XDP to push packet rates from roughly 1Mpps (legacy path) up to ~21Mpps in the presenter’s benchmarks and sustain sub‑microsecond median latencies under low load. Drivers need explicit XDP hooks plus optional zero-copy support and a wakeup callback; users should use libbpf/libxdp helpers, handle ring ownership carefully, and expect per‑queue socket binding.
AI-written summary · about
chapters (16)
- 0:00Introduction
- 1:52Sponsors
- 2:11About Bjrn
- 4:38Network Interface Card
- 6:15UDP Sockets
- 10:09XP Descriptor
- 11:07New API
- 13:18System calls
- 15:06XTP sockets
- 16:21pointers
- 17:09drivers
- 19:29XP support
- 23:50Benchmarks
- 25:14Instrumentation
- 26:47Dam Template Latency
- 27:44Conclusion
related talks
28mXDP for TSN
27mXDP Offload for OPC UA
37mEfficient and Flexible Virtual Machine Networking Through eBPF
33mBringing packet queueing to XDP
18mOpen vSwitch with AF_XDP as a userspace datapath
23mMigrating from DPDK to AF_XDP for High-Performance Networking in...
22mExtending AF_XDP with hardware metadata
19mGet start with XDP: write a network filter in 10m
