XDPerf

XDP traffic generator with WASM packet plugins

Image 1 of 2: Chart of received Mpps by frame size, one-way and round trip, against the 100G wire rate

Generates and receives traffic from XDP, without DPDK, and can open real TCP flows with no kernel socket on the sender. Packet shapes come from WASM plugins, and the Go tool ships as a single binary.

  • 116.5 Mpps64B one-way
  • 109 Mpps64B round trip
  • 100G wire rate256B and up

Trade-offs

  • WASM plugins for packet logic, which eliminates the dependency issues of Python-based tools like TRex.
  • XDP in place of DPDK. Sending and receiving both ran on XDP alone in the 100G test, one-way and round trip.
  • No capture branch in the XDP program. Observation is left to the external xdp-ninja over fentry and fexit.

Q&A2

Two hosts with a Xeon Platinum 8362 and Intel E810-C 100G NICs, cabled back to back, with mitigations off and iommu=pt. One-way used 32 sender cores, and the round-trip peak came at 24.

Reviews

Loading reviews

    More in eBPF

    See all 8 →
    • BeeperApplication-layer parser for eBPF programs
    • rocketplaneIOSelf-hosted Kubernetes observability with transaction-gated agent actions
    • GhostScopeSource-aware eBPF tracer for live userspace processes
    • kernwatchTerminal dashboard for Linux kernel observability
    • ProcInShWeb-based Linux process inspector with a 3D process space
    • pktstat-bpfPer-flow traffic monitor for Linux with four eBPF capture modes

    More in Performance

    See all 47 →
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • blitcpFile copier that reads in disk order, dedupes and streams over raw SSH
    • EntrolyLocal context layer that picks what coding agents send to the model
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs

    More in Benchmarks

    See all 14 →
    • AnubisNative macOS app for benchmarking local LLMs on Apple Silicon
    • KeystoneClinical benchmark that checks whether an answer moves with its evidence
    • OpenBenchBenchmark of coding-agent harnesses on the same model and task
    • Bug Hunt BenchBenchmark of coding models on 105 bugs planted in two production repos
    • when-reasoning-pays-offMeasured guide to when reasoning models earn their cost
    • KhaosKafka traffic generator that reproduces failures on demand