dperf generates high-volume TCP, UDP, and HTTP traffic on Linux using DPDK for load balancers, cloud NIC tests, and performance benchmarks with detailed per-second statistics.
Overview
dperf is a network traffic generator and load testing tool built on DPDK. It targets scenarios that need very high connection rates, packet rates, throughput, and concurrent connections from commodity x86 or ARM servers with suitable NICs.
Documented use cases include stress testing layer-four load balancers and gateways, benchmarking cloud server networking, measuring NIC and CPU packet handling, and acting as a high-performance HTTP client or server in tests.
Published benchmarks list HTTP connections per second, throughput in gigabits, concurrent connection counts, and TCP packets per second on sample Intel hardware. The tool prints live counters each second for CPS, TPS, PPS, drops, socket errors, and HTTP status breakdowns.
Supported platforms include x86-64, ARM64, and LoongArch on Linux with DPDK-supported NICs and documented setup for huge pages, interface binding, and multiple DPDK versions. Source builds and Docker usage are covered on the project site.
Key features
- DPDK-powered traffic generation
- HTTP, TCP, and UDP workloads
- Real-time CPS, PPS, and drop stats
- HTTP client and server test modes
- Layer-four load balancer testing
- Documented DPDK setup guides
Use cases
- Load testing L4 load balancers
- NIC and cloud network benchmarking
- High-scale HTTP connection stress tests