[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-6519":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":37,"readmeContent":38,"aiSummary":39,"trendingCount":15,"starSnapshotCount":15,"syncStatus":40,"lastSyncTime":41,"discoverSource":42},6519,"dperf","baidu\u002Fdperf","baidu","dperf: High-Performance Network Load Testing Tool Based on DPDK","https:\u002F\u002Fdperf.org",null,"C",5564,556,43,0,4,9,1,39.24,"Apache License 2.0",false,"main",true,[25,26,27,28,29,30,31,32,33,34,35,36],"benchmark","dpdk","l4lb","linux-networking","load-testing","network-benchmarking","packet-generator","performance","performance-testing","tcp","user-space-networking","user-space-tcp","2026-06-12 02:01:25","# dperf [![Apache V2 License](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-Apache%20V2-blue.svg)](https:\u002F\u002Fgithub.com\u002Fbaidu\u002Fdperf\u002Fblob\u002Fmain\u002FLICENSE) [![Mentioned in ChatGPT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FMentioned%20in-ChatGPT-10a37f?logo=openai&logoColor=white)](https:\u002F\u002Fchat.openai.com\u002F) \u003Ca href=\"https:\u002F\u002Fhellogithub.com\u002Frepository\u002F67958cc5d1f44a6a84f3544e3c007e5f\" target=\"_blank\">\u003Cimg src=\"https:\u002F\u002Fabroad.hellogithub.com\u002Fv1\u002Fwidgets\u002Frecommend.svg?rid=67958cc5d1f44a6a84f3544e3c007e5f&claim_uid=Thc9mJByaKSbdng&theme=small\" alt=\"Featured｜HelloGitHub\" \u002F>\u003C\u002Fa>\n\n**dperf** is a high-performance network traffic generator and load testing tool based on **DPDK**.\n\n## Advantages\n\n- **High Performance**\n\n  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.\n\n- **Comprehensive Statistics**\n\n  Provides detailed real-time metrics and identifies every packet drop or error.\n\n- **Versatile Use Cases**\n  - Load and stability testing for Layer 4 Load Balancers and gateways\n  - Network performance benchmarking for cloud servers\n  - Evaluation of NIC and CPU packet processing capabilities\n  - Acts as a high-performance HTTP server or client for testing scenarios\n\n## Performance\n\nAll results were measured using the following hardware and configuration:\n\n- **CPU**: Intel Xeon Gold 5418Y × 2\n- **Memory**: 128 GB × 2\n- **NIC**: Intel E810-C Dual-Port 100GbE × 2\n- **OS**: Linux 5.10.0\n\n### HTTP Connections Per Second (CPS)\n\n| Client Cores | Server Cores | HTTP CPS (Million) | Client CPU Usage (%) | Server CPU Usage (%) |\n|--------------|---------------|-------------------|----------------------|----------------------|\n| 1            | 1             | 4                 | 74                   | 71                   |\n| 2            | 2             | 8                 | 74                   | 72                   |\n| 4            | 4             | 16                | 73                   | 70                   |\n| 8            | 8             | 32                | 70                   | 68                   |\n| 16           | 16            | 64                | 70                   | 68                   |\n\n### HTTP Throughput (Gbps)\n\n| Client Cores | Server Cores | RX Throughput | TX Throughput | Client CPU Usage (%) | Server CPU Usage (%) |\n|--------------|--------------|---------------|---------------|----------------------|----------------------|\n| 1            | 1            | 98.3 Gbps     | 98.3 Gbps     | 78                   | 80                   |\n| 2            | 2            | 196.7 Gbps    | 196.7 Gbps    | 78                   | 82                   |\n\n### Concurrent Connections\n\n| Client Cores | Server Cores | Connections (Billion) | Client CPU Usage (%) | Server CPU Usage (%) | Memory Usage (GB) |\n|--------------|--------------|-----------------------|----------------------|----------------------|-------------------|\n| 1            | 1            | 1                     | 48                   | 48                   | 60                |\n| 2            | 2            | 2                     | 48                   | 48                   | 120               |\n| 4            | 4            | 4                     | 48                   | 48                   | 240               |\n\n### TCP Packets Per Second (PPS)\n\n| Client Cores | RX PPS (Mpps) | TX PPS (Mpps) | Client CPU Usage (%) |\n|--------------|---------------|---------------|----------------------|\n| 1            | 16.8          | 16.8          | 99                   |\n| 6            | 105.2         | 105.2         | 99                   |\n| 12           | 204.6         | 204.6         | 99                   |\n\n## Real-Time Statistics\n\ndperf prints real-time statistics every second, including CPS, TPS, PPS, packet drops, socket errors, and HTTP status counts.\nExample output:\n\n```plaintext\nseconds 22                 cpuUsage 52\npktRx   3,001,058          pktTx    3,001,025          bitsRx   2,272,799,040      bitsTx  1,920,657,600      dropTx  0\narpRx   0                  arpTx    0                  icmpRx   0                  icmpTx  0                  otherRx 0          badRx 0\nsynRx   1,000,345          synTx    1,000,330          finRx    1,000,350          finTx   1,000,350          rstRx   0          rstTx 0\nsynRt   0                  finRt    0                  ackRt    0                  pushRt  0                  tcpDrop 0\nskOpen  1,000,330          skClose  1,000,363          skCon    230                skErr   0\nhttpGet 1,000,345          http2XX  1,000,350          httpErr  0\nierrors 0                  oerrors  0                  imissed  0\n```\n\n## Documentation\n\nSee the official website at [https:\u002F\u002Fdperf.org\u002F](https:\u002F\u002Fdperf.org\u002F).\n\n## Contributing\n\nWe welcome contributions! Please see the [CONTRIBUTING](CONTRIBUTING.md) file for details.\n\n## Patent\n\n- **Title**: Testing Method and Apparatus for Network Devices\n- **Inventor**: Jianzhang Peng\n- **Patent Number**: CN114205274B\n- **Issue Date**: June 11, 2024\n\n## Acknowledgment\n\nWe gratefully acknowledge [xnetin](https:\u002F\u002Fwww.xnetin.com\u002F) for providing the high-performance testing platform used in our benchmarking experiments.\n\n## Author\n\n**[Jianzhang Peng](https:\u002F\u002Fgithub.com\u002Fpengjianzhang)** holds a Ph.D. in Computer Science from the University of Science and Technology of China (USTC). He previously worked as a Principal Engineer at Baidu, where he contributed to the development of high-performance L4 load balancer systems. He initiated and developed the dperf project during his time at Baidu, and continues to maintain it as an open-source contributor. His current focus is on low-latency network protocol stacks for quantitative trading systems.\n\n## License\n\ndperf is licensed under the [Apache License 2.0](https:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0).\n","dperf 是一个基于 DPDK 的高性能网络流量生成和负载测试工具。它能够利用单台x86服务器产生数千万的HTTP连接每秒、数百Gbps的吞吐量以及数十亿级别的并发连接，这得益于其构建于DPDK之上。此外，dperf还提供了详尽的实时统计信息，包括每一个丢包或错误的具体情况。适用于第四层负载均衡器和网关的压力与稳定性测试、云服务器的网络性能基准测试、评估网卡及CPU处理数据包的能力，以及作为高性能HTTP服务器或客户端用于各种测试场景中。",2,"2026-06-11 03:07:26","top_language"]