Explore performance optimizations for AF_XDP, a new socket type for raw frames, in this Linux Plumbers Conference talk. Dive into strategies to increase throughput beyond 20 Mpps per application core for 64-byte packets, aiming to match DPDK speeds. Learn about seamless application optimizations, including loosening XDP program requirements, implementing busy polling from user space, and optimizing instruction cache usage through batching. Discover potential user API extensions, such as supporting a new mode for NICs with in-order TX completions and introducing the "type-writer" model for multiple packets per chunk. Gain insights into the goal of achieving close to 40 Mpps throughput for 64-byte packets in zero-copy mode, with full analysis and performance numbers presented.
Overview
Syllabus
LPC2018 - Path to DPDK speeds for AF XDP
Taught by
Linux Plumbers Conference