~/talk

How to Use XDP and eBPF to Accelerate IPSec Throughput by 400%

name:Ryan Drew
links:none on file
slides:none on file

A practical POC injects a 3‑byte inner‑packet hash into the ESP SPI and uses the xtp/BPF redirect helper to steer decrypted packets to CPUs, implemented in under 200 lines of C and relying on XDP/eBPF and the xtp redirect map. Benchmarks on a 3‑node, 8‑core, 25Gb NIC cluster show up to 412% p99 improvement (about 4x throughput at scale) but costs include broken ICV visibility, SPI repurposed for 3‑byte hash, uneven CPU distribution and the need for NICs that support native xtp/XDP.

AI-written summary · about

  1. 0:00Introduction
  2. 1:27IPSec bottleneck with RSS
  3. 4:19IPSec tunnels and RSS limits
  4. 6:04Solving RSS with eBPF/XDP
  5. 11:52eBPF-based receive side scaling
  6. 12:56Benchmarking with netperf
  7. 15:45CPU usage analysis
  8. 17:11Pros, cons, security
  9. 19:41Future improvements
  10. 20:44Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.