Comments (7)
set current connections and set packet size.
for example:
if i set 1Mpps and every packet size is 1400bytes, theTPS is 11.2Gbps.
cps 100
cc 1000
keepalive 1ms
packet_size 1400
from dperf.
good! thanks!
from dperf.
coule u please support dperf with a star, thanks.
from dperf.
is right?thanks!
example
33.242--udp-->33.241,22.121--udp-->192.168.22.211
cat test/udp/client.conf
mode client
protocol udp
cpu 0 1
payload_size 1400
duration 60s
cps 100
cc 100
keepalive 1ms
#port pci addr gateway
port 0000:06:00.1 192.168.33.242 192.168.33.241
# addr_start num
client 192.168.33.242 1
# addr_start num
server 192.168.22.211 1
# port_start num
listen 80 1
cat test/udp/server.conf
mode server
protocol udp
keepalive 1s
payload_size 64
cpu 0 1
duration 10m
#port pci addr gateway
port 0000:09:00.0 192.168.22.211 192.168.22.121
# addr_start num
client 192.168.22.121 1
# addr_start num
server 192.168.22.211 1
# port_start num
listen 80 1
from dperf.
if you use 2 cpus, please use 2 server ips
example:
server 192.168.22.211 2
from dperf.
if i use 2 cpus, how to understand the config num?what's the meaning?
# addr_start num
client 192.168.22.121 1
from dperf.
'num' is the total ip address numbers starting from 'addr_start'
client 192.168.1.2 4 -> 192.168.1.2, 192.168.1.3 192.168.1.4, 192.168.1.5
client first-ip num
https://github.com/baidu/dperf/blob/main/docs/configuration-CN.md
https://github.com/baidu/dperf/blob/main/docs/configuration.md
from dperf.
Related Issues (20)
- Can dperf return large responses? HOT 13
- dperf make error on ubuntu 22.4 HOT 18
- dpdk18.11版本编译dperf 1.1.0以上版本报错 HOT 1
- Who is using dperf?
- dperf测试LVS吞吐性能时,没有产生流量 HOT 2
- 使用dperf作为客户端测试nginx性能
- dperf test throughput HOT 1
- dperf 支持https http2 http3 性能测试吗 HOT 1
- v1.6.0 及之后的版本 TCP 连接无法正确释放 HOT 3
- Mellanox网卡,在启动dperf报port init fail dpdk init fail HOT 1
- server端运行dperf,client端ping不通
- 所有连接都被tcpDrop了 HOT 1
- dperf 可以实现在多port情况下,收包和发包分别用不同port 吗? HOT 7
- dperf运行出错提示: work space init error HOT 10
- 请问jzperf与dperf有什么区别? HOT 1
- 新建连接数测试统计结果解读 HOT 1
- 如何使用 dperf测试高并发 CC 场景,并使用 post 请求,附带 payload HOT 2
- CPS多核模式下报错-怀疑是RSS算法导致的,有没有什么调优的方法呢? HOT 6
- dperf是否支持同时发送ipv4和ipv6的混合流量 HOT 4
- 可以支持多server IP吗?比如一个C段 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dperf.