您的位置:首页 > 运维架构 > Linux

基于dpdk的iperf性能测试

2016-09-26 19:58 441 查看
     初步测试: 

# ./dpdk_iperf3  -s --bind 10.0.0.2
...
USER8: LCORE[0] anssock app lcoreId: 0
skip linux fd 5
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
...
[2020]   7.00-8.00   sec   113 MBytes   949 Mbits/sec
iperf3: getsockopt - Success
[2020]   8.00-9.00   sec   113 MBytes   949 Mbits/sec
iperf3: getsockopt - Success
[2020]   9.00-10.00  sec   113 MBytes   949 Mbits/sec
iperf3: getsockopt - Success
[2020]  10.00-10.00  sec   163 KBytes   942 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[2020]   0.00-10.00  sec  0.00 Bytes  0.00 bits/sec                  sender
[2020]   0.00-10.00  sec  1.11 GBytes   949 Mbits/sec                receiver
An unknown state was sent by the client, ignoring it.
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------

# ./iperf3 -c 10.0.0.2
Connecting to host 10.0.0.2, port 5201
[  5] local 10.0.0.10 port 40550 connected to 10.0.0.2 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  5]   0.00-1.00   sec   114 MBytes   953 Mbits/sec    0   94.1 KBytes
[  5]   1.00-2.00   sec   113 MBytes   949 Mbits/sec    0   94.1 KBytes
[  5]   2.00-3.00   sec   113 MBytes   949 Mbits/sec    0   94.1 KBytes
[  5]   3.00-4.00   sec   113 MBytes   949 Mbits/sec    0   94.1 KBytes
[  5]   4.00-5.00   sec   113 MBytes   949 Mbits/sec    0   94.1 KBytes
[  5]   5.00-6.00   sec   113 MBytes   949 Mbits/sec    0   94.1 KBytes
[  5]   6.00-7.00   sec   113 MBytes   949 Mbits/sec    0   94.1 KBytes
[  5]   7.00-8.00   sec   113 MBytes   949 Mbits/sec    0   94.1 KBytes
[  5]   8.00-9.00   sec   113 MBytes   949 Mbits/sec    0   94.1 KBytes
An unknown state was sent by the client, ignoring it.
[  5]   9.00-10.00  sec   113 MBytes   949 Mbits/sec    0   94.1 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  5]   0.00-10.00  sec  1.11 GBytes   950 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1.11 GBytes   949 Mbits/sec                  receiver

iperf Done.

详情参见:https://github.com/opendp/dpdk-iperf
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息