baidu /dperf

dperf: High-Performance Network Load Testing Tool Based on DPDK

★ 5,661⑂ 563👁 45⑃ 242● 297▤ 10
CApache-2.0Created 2021-12-21dperf.org
下载:v1.9.0v1.9.0 ↓1.9.02025-07-23
+0
日增长
5,661
stars
563
forks
45
watchers
242
prs
297
issues
10
releases

README

dperf   

dperf is a high-performance network traffic generator and load testing tool based on DPDK.

 Advantages

- High Performance

  Built on DPDK, dperf can generate massive traffic using a single x86 server — achieving tens of millions of HTTP Connections Per Second (CPS), hundreds of Gbps throughput, and billions of concurrent connections.

- Comprehensive Statistics

  Provides detailed real-time metrics and identifies every packet drop or error.

- Versatile Use Cases
  - Load and stability testing for Layer 4 Load Balancers and gateways
  - Network performance benchmarking for cloud servers
  - Evaluation of NIC and CPU packet processing capabilities
  - Acts as a high-performance HTTP server or client for testing scenarios

 Performance

All results were measured using the following hardware and configuration:

- CPU: Intel Xeon Gold 5418Y × 2
- Memory: 128 GB × 2
- NIC: Intel E810-C Dual-Port 100GbE × 2
- OS: Linux 5.10.0

 HTTP Connections Per Second (CPS)

| Client Cores | Server Cores | HTTP CPS (Million) | Client CPU Usage (%) | Server CPU Usage (%) |
|--------------|---------------|-------------------|----------------------|----------------------|
| 1            | 1             | 4                 | 74                   | 71                   |
| 2            | 2             | 8                 | 74                   | 72                   |
| 4            | 4             | 16                | 73                   | 70                   |
| 8            | 8             | 32                | 70                   | 68                   |
| 16           | 16            | 64                | 70                   | 68                   |

 HTTP Throughput (Gbps)

| Client Cores | Server Cores | RX Throughput | TX Throughput | Client CPU Usage (%) | Server CPU Usage (%) |
|--------------|--------------|---------------|---------------|----------------------|----------------------|
| 1            | 1            | 98.3 Gbps     | 98.3 Gbps     | 78                   | 80                   |
| 2            | 2            | 196.7 Gbps    | 196.7 Gbps    | 78                   | 82                   |

 Concurrent Connections

| Client Cores | Server Cores | Connections (Billion) | Client CPU Usage (%) | Server CPU Usage (%) | Memory Usage (GB) |
|--------------|--------------|-----------------------|----------------------|----------------------|-------------------|
| 1            | 1            | 1                     | 48                   | 48                   | 60                |
| 2            | 2            | 2                     | 48                   | 48                   | 120               |
| 4            | 4            | 4                     | 48                   | 48                   | 240               |

 TCP Packets Per Second (PPS)

| Client Cores | RX PPS (Mpps) | TX PPS (Mpps) | Client CPU Usage (%) |
|--------------|---------------|---------------|----------------------|
| 1            | 16.8          | 16.8       

Discussions

Latest release

v1.9.0 v1.9.0 2025-07-23
v1.9.0 - 2025-07-23
 Added

- support dpdk-pdump

- flow_isolate

- the dperf server supports multiple payload sizes

- allocate more sockets

- 'client' supports non-contiguous IP lists

 Changed

- update readme

 Fixed

- fix: cpuload init

- fix: duplicate config

- fix: set payload for client

- fix compile errors

- fix: disable HTTP_PARSE

- fix: dpdk-23.03, dpdk-23.07

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON