安装完iperf3 3.13版本后,我们可以通过man iperf3帮助命令看到对-w参数的解释如下:
-w, --window n[KMGT]
set socket buffer size / window size. This value gets sent to the server and used on that side too; on both sides this option sets both the sending and receiving socket buffer sizes. This option can be used to set (indirectly) the maximum TCP window size. Note that on Linux systems, the effective maximum window size is approximately double what is specified by this option (this behavior is not a bug in iperf3 but a “feature” of the Linux kernel, as documented by tcp(7) and socket(7)).
翻译一下:本参数用于设置socket的缓冲区大小或者窗口大小。这个设置值会被发送到服务端并且在服务端也会配置生效;在客户端和服务端,这个参数会去同时设置发送缓冲区与接收缓冲区。这个参数可以用于设置TCP窗口的最大值(间接的)。注意在Linux系统中,配置这个个参数后,生效的最大窗口大小大约是设置值的二倍(这不是iperf3的bug, 这是linux kernel的系统行为,参考TCP(7)和socket(7))
注意-w这个参数只能在服务端命令行里被输入,但会同时在客户端的接收和发送缓冲区、服务端的接收和发送缓冲区同时设置生效。
不想知道详细过程的,可以 直接看结论 \color{red}直接看结论 直接看结论:
如果你的测试目标是达到网络的最大速率(最大吞吐量),那么
详见:使用iperf3对长肥网络进行TCP测试(TCP长肥管道),如何配置iperf3
通过官方说明,我们已经知道了,对于TCP和对于UDP而言-w的意义并不相同,所以下面分成UDP和TCP二部分来说明。
UDP套接字都有发送缓冲区大小,但实际上不存在UDP发送缓冲区,发送缓冲区大小的实际意义是可写到套接字的UDP数据报的大小上限。应用程序如果写一个大于上限的数据包进套接字,则系统会返回一个发送出错。
影响UDP可发送的报文大小的上限的二个因素:
注意UDP报文不要发送得太大,太大了受限于MTU, ip会自动产生分片,UDP报文会被分成多个IP报文,一个ip分片丢失,整个UDP报文报废。
我们以UDP单向测试为例(客户端发送---->服务端接收)
服务端:
结论:使用UDP的话-w参数在不出错的情况下越大越好
如何查看Linux系统定义发送接收缓冲区的最小值:
通过打开-d选项,设置一个很小的-w, 比如 -w 256 可以看到如下打印
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -u -b 10M -w 256 -d
send_parameters:
{
"udp": true,
"omit": 0,
"time": 10,
"parallel": 1,
"window": 256,
"len": 1448,
"bandwidth": 10000000,
"pacing_timer": 1000,
"client_version": "3.9"
}
Connecting to host 192.168.3.60, port 5201
SNDBUF is 4608, expecting 256
RCVBUF is 2304, expecting 256
Setting application pacing to 1250000
[ 5] local 192.168.3.107 port 39954 connected to 192.168.3.60 port 5201
pi@raspberrypi:~ $ iperf3 -s -A 2 -d
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
get_parameters:
{
"udp": true,
"omit": 0,
"time": 10,
"parallel": 1,
"window": 256,
"len": 1448,
"bandwidth": 10000000,
"pacing_timer": 1000,
"client_version": "3.9"
}
Accepted connection from 192.168.3.107, port 37692
SNDBUF is 4480, expecting 256
RCVBUF is 2240, expecting 256
Setting application pacing to 1250000
[ 5] local 192.168.3.60 port 5201 connected to 192.168.3.107 port 39954
xxx@xxx-pc:~$ sudo cat /proc/sys/net/core/rmem_max
212992
xxx@xxx-pc:~$ sudo cat /proc/sys/net/core/wmem_max
212992
pi@raspberrypi:~ $ sudo cat /proc/sys/net/core/wmem_max
180224
pi@raspberrypi:~ $ sudo cat /proc/sys/net/core/rmem_max
180224
从文章使用iperf3对长肥网络进行TCP测试(TCP长肥管道),如何配置iperf3中我们知道-w参数可以用来扩大接收窗口,用于解决TCP长肥管道中TCP流速度打不上去的问题。
客户端用的是8核i8的x86机器,单核主频为4.0Ghz,而服务端使用的是树莓派4B,单核主频为1G的ARM A53 CPU下,通过一个千兆的交换机直接连接,我们可以看到二个主机之间的带宽是1Gbps, RTT大约是0.2ms。在这样的网络下,我们直接使用默认参数进行TCP测试,如下所示可以达到940Mbps,此时服务端CPU2已经几乎达到100%了,说明受限于CPU处理能力,940Mbps基本上就是TCP的极速了。
-客户端测试命令:
xxx@xxx-pc:~$ ping 192.168.3.60
PING 192.168.3.60 (192.168.3.60) 56(84) bytes of data.
64 bytes from 192.168.3.60: icmp_seq=1 ttl=64 time=0.150 ms
64 bytes from 192.168.3.60: icmp_seq=2 ttl=64 time=0.192 ms
64 bytes from 192.168.3.60: icmp_seq=3 ttl=64 time=0.206 ms
64 bytes from 192.168.3.60: icmp_seq=4 ttl=64 time=0.219 ms
64 bytes from 192.168.3.60: icmp_seq=5 ttl=64 time=0.195 ms
64 bytes from 192.168.3.60: icmp_seq=6 ttl=64 time=0.214 ms
64 bytes from 192.168.3.60: icmp_seq=7 ttl=64 time=0.202 ms
^C
--- 192.168.3.60 ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6135ms
rtt min/avg/max/mdev = 0.150/0.196/0.219/0.021 ms
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 58330 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 114 MBytes 955 Mbits/sec 0 390 KBytes
[ 5] 1.00-2.00 sec 112 MBytes 942 Mbits/sec 0 390 KBytes
[ 5] 2.00-3.00 sec 112 MBytes 942 Mbits/sec 0 390 KBytes
[ 5] 3.00-4.00 sec 112 MBytes 942 Mbits/sec 0 390 KBytes
[ 5] 4.00-5.00 sec 112 MBytes 942 Mbits/sec 0 390 KBytes
[ 5] 5.00-6.00 sec 112 MBytes 942 Mbits/sec 0 390 KBytes
[ 5] 6.00-7.00 sec 112 MBytes 942 Mbits/sec 0 390 KBytes
[ 5] 7.00-8.00 sec 112 MBytes 942 Mbits/sec 0 390 KBytes
[ 5] 8.00-9.00 sec 112 MBytes 936 Mbits/sec 0 390 KBytes
[ 5] 9.00-10.00 sec 112 MBytes 942 Mbits/sec 0 390 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.10 GBytes 943 Mbits/sec 0 sender
[ 5] 0.00-10.02 sec 1.10 GBytes 939 Mbits/sec receiver
iperf Done.
pi@raspberrypi:~ $ iperf3 -s -A 2
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.3.107, port 54922
[ 5] local 192.168.3.60 port 5201 connected to 192.168.3.107 port 54924
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 110 MBytes 919 Mbits/sec
[ 5] 1.00-2.00 sec 112 MBytes 941 Mbits/sec
[ 5] 2.00-3.00 sec 112 MBytes 941 Mbits/sec
[ 5] 3.00-4.00 sec 112 MBytes 941 Mbits/sec
[ 5] 4.00-5.00 sec 112 MBytes 941 Mbits/sec
我们用netem依次来来模拟一个来100ms回100ms来回共200ms的传播延时,带宽为1Gbps的长肥网络
有服务端输入命令:
root@raspberrypi:/home/pi# tc qdisc add dev eth0 root netem delay 100ms
root@raspberrypi:/home/pi#
在客户端输入命令:
root@xxx-pc:/home/xxx# tc qdisc add dev enp2s0 root netem delay 100ms
root@xxx-pc:/home/xxx# ping 192.168.3.60
PING 192.168.3.60 (192.168.3.60) 56(84) bytes of data.
64 bytes from 192.168.3.60: icmp_seq=1 ttl=64 time=200 ms
64 bytes from 192.168.3.60: icmp_seq=2 ttl=64 time=200 ms
64 bytes from 192.168.3.60: icmp_seq=3 ttl=64 time=200 ms
^C
--- 192.168.3.60 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 200.252/200.279/200.299/0.019 ms
我们通过ping命令可以看到RTT已经是200ms.
我们可以看到,使用默认参数,TCP的速率很低,经过最初3秒中的慢启动爬坡后,速率最终稳定在105Mbps,远没有达到带宽的理论值 1Gbps,此时处理能力弱的服务端的CPU2的占用率还是很低的约为15%,说明不是CPU处理能力限制了带宽,而是TCP长肥管道限制了速率。
root@xxx-pc:/home/wangsheng# /usr/bin/iperf3 -c 192.168.3.60 -t 10
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 45868 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 740 KBytes 6.06 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 6.18 MBytes 51.9 Mbits/sec 0 3.51 MBytes
[ 5] 2.00-3.00 sec 12.5 MBytes 105 Mbits/sec 0 4.95 MBytes
[ 5] 3.00-4.00 sec 12.5 MBytes 105 Mbits/sec 0 4.95 MBytes
[ 5] 4.00-5.00 sec 11.2 MBytes 94.4 Mbits/sec 0 4.95 MBytes
[ 5] 5.00-6.00 sec 12.5 MBytes 105 Mbits/sec 0 4.95 MBytes
[ 5] 6.00-7.00 sec 12.5 MBytes 105 Mbits/sec 0 4.95 MBytes
[ 5] 7.00-8.00 sec 12.5 MBytes 105 Mbits/sec 0 4.95 MBytes
[ 5] 8.00-9.00 sec 12.5 MBytes 105 Mbits/sec 0 4.95 MBytes
[ 5] 9.00-10.00 sec 12.5 MBytes 105 Mbits/sec 0 4.95 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 106 MBytes 88.6 Mbits/sec 0 sender
[ 5] 0.00-10.20 sec 105 MBytes 86.1 Mbits/sec receiver
iperf Done.
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
Accepted connection from 192.168.3.107, port 45854
[ 5] local 192.168.3.60 port 5201 connected to 192.168.3.107 port 45868
[ ID] Interval Transfer Bitrate
[ 5] 0.00-1.00 sec 99.0 KBytes 811 Kbits/sec
[ 5] 1.00-2.00 sec 3.40 MBytes 28.5 Mbits/sec
[ 5] 2.00-3.00 sec 12.4 MBytes 104 Mbits/sec
[ 5] 3.00-4.00 sec 12.4 MBytes 104 Mbits/sec
[ 5] 4.00-5.00 sec 12.4 MBytes 104 Mbits/sec
[ 5] 5.00-6.00 sec 12.4 MBytes 104 Mbits/sec
[ 5] 6.00-7.00 sec 12.4 MBytes 104 Mbits/sec
[ 5] 7.00-8.00 sec 12.4 MBytes 104 Mbits/sec
[ 5] 8.00-9.00 sec 12.4 MBytes 104 Mbits/sec
[ 5] 9.00-10.00 sec 12.3 MBytes 103 Mbits/sec
[ 5] 10.00-10.20 sec 2.47 MBytes 104 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate
[ 5] 0.00-10.20 sec 105 MBytes 86.1 Mbits/sec receiver
-----------------------------------------------------------
Server listening on 5201
-----------------------------------------------------------
根据TCP流量控制算法和拥塞控制算法,为了让TCP占满整个带宽(其实是带宽时延),至少需要满足3个条件
1)接收端需要通告一个 **带宽时延**这么大的窗口,这样可以让发送端可以发送足够多的数据
2)发送端需要有 带宽*时延这么大的发送窗口,这样可以让发送端有足够多的数据可发
3)网络不能拥塞,不能用其它流量来占用网络,否则拥塞控制算法会让吞量下降
再根据
长肥网络与TCP的长肥管道
使用iperf3对长肥网络进行TCP测试(TCP长肥管道),如何配置iperf3
我们知道,通过-w增加窗口大小,会有利于在TCP长肥管道中得到更大的吞吐量。
使用以下命令,将客户端与服务端的接收发送缓冲区最大限制值都修改成64M
echo 33554432 > /proc/sys/net/core/wmem_max
echo 33554432 > /proc/sys/net/core/rmem_max
以下我们分别测试
-w参数 | TCP吞吐量速率 |
---|---|
1k | 21Kbps |
2k | 29Kbps |
4k | 116Kbps |
8k | 232Kbps |
16k | 570Kbps |
32k | 1.2Mbps |
64k | 2.5Mbps |
128k | 5.3Mbps |
256k | 10.7Mbps |
512k | 20Mbps |
1M | 42Mbps |
2M | 84Mbps |
4M | 168Mbps |
8M | 336Mbps |
16M | 603Mbps |
24M | 776Mbps |
26M | 840Mbps |
28M | 900Mbps |
29M | 923Mbps |
30M | 944Mbps |
31M | 944Mbps |
32M | 944Mbps |
至少目前为止,都向着-w越大,吞量越大的方向在走,这也是符合目前作者的理解的。我们看到当窗口到达30M后就已经达到了940Mbps的极限值,再增加窗口的大小并没有带来帮助。
测试log如下所示:
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 1k
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 40378 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 2.73 KBytes 22.4 Kbits/sec 0 5.47 KBytes
[ 5] 1.00-2.00 sec 3.28 KBytes 26.9 Kbits/sec 0 5.47 KBytes
[ 5] 2.00-3.00 sec 2.19 KBytes 17.9 Kbits/sec 0 5.47 KBytes
[ 5] 3.00-4.00 sec 3.28 KBytes 26.9 Kbits/sec 0 5.47 KBytes
[ 5] 4.00-5.00 sec 2.19 KBytes 17.9 Kbits/sec 0 5.47 KBytes
[ 5] 5.00-6.00 sec 3.28 KBytes 26.9 Kbits/sec 0 5.47 KBytes
^C[ 5] 6.00-6.49 sec 1.09 KBytes 18.3 Kbits/sec 0 5.47 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-6.49 sec 18.0 KBytes 22.8 Kbits/sec 0 sender
[ 5] 0.00-6.49 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 2k
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 43396 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 3.54 KBytes 28.9 Kbits/sec 0 7.07 KBytes
[ 5] 1.00-2.00 sec 4.24 KBytes 34.8 Kbits/sec 0 7.07 KBytes
[ 5] 2.00-3.00 sec 2.83 KBytes 23.2 Kbits/sec 0 7.07 KBytes
[ 5] 3.00-4.00 sec 4.24 KBytes 34.8 Kbits/sec 0 7.07 KBytes
[ 5] 4.00-5.00 sec 2.83 KBytes 23.2 Kbits/sec 0 7.07 KBytes
[ 5] 5.00-6.00 sec 4.24 KBytes 34.8 Kbits/sec 0 7.07 KBytes
^C[ 5] 6.00-6.41 sec 1.41 KBytes 28.4 Kbits/sec 0 7.07 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-6.41 sec 23.3 KBytes 29.8 Kbits/sec 0 sender
[ 5] 0.00-6.41 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 4k
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 41002 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 12.7 KBytes 104 Kbits/sec 0 14.1 KBytes
[ 5] 1.00-2.00 sec 14.1 KBytes 116 Kbits/sec 0 14.1 KBytes
[ 5] 2.00-3.00 sec 14.1 KBytes 116 Kbits/sec 0 14.1 KBytes
[ 5] 3.00-4.00 sec 14.1 KBytes 116 Kbits/sec 0 14.1 KBytes
[ 5] 4.00-5.00 sec 14.1 KBytes 116 Kbits/sec 0 14.1 KBytes
^C[ 5] 5.00-5.38 sec 5.66 KBytes 121 Kbits/sec 0 14.1 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-5.38 sec 74.9 KBytes 114 Kbits/sec 0 sender
[ 5] 0.00-5.38 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 8k
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 57816 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 28.3 KBytes 232 Kbits/sec 0 14.1 KBytes
[ 5] 1.00-2.00 sec 28.3 KBytes 232 Kbits/sec 0 14.1 KBytes
[ 5] 2.00-3.00 sec 28.3 KBytes 232 Kbits/sec 0 14.1 KBytes
[ 5] 3.00-4.00 sec 28.3 KBytes 232 Kbits/sec 0 14.1 KBytes
[ 5] 4.00-5.00 sec 28.3 KBytes 232 Kbits/sec 0 14.1 KBytes
[ 5] 5.00-6.00 sec 28.3 KBytes 232 Kbits/sec 0 14.1 KBytes
[ 5] 6.00-7.00 sec 28.3 KBytes 232 Kbits/sec 0 14.1 KBytes
^C[ 5] 7.00-7.43 sec 17.0 KBytes 326 Kbits/sec 0 14.1 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-7.43 sec 215 KBytes 237 Kbits/sec 0 sender
[ 5] 0.00-7.43 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 16k
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 55020 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 56.6 KBytes 463 Kbits/sec 0 28.3 KBytes
[ 5] 1.00-2.00 sec 84.8 KBytes 695 Kbits/sec 0 28.3 KBytes
[ 5] 2.00-3.00 sec 56.6 KBytes 463 Kbits/sec 0 28.3 KBytes
[ 5] 3.00-4.00 sec 84.8 KBytes 695 Kbits/sec 0 28.3 KBytes
[ 5] 4.00-5.00 sec 56.6 KBytes 463 Kbits/sec 0 28.3 KBytes
[ 5] 5.00-6.00 sec 69.3 KBytes 568 Kbits/sec 0 28.3 KBytes
[ 5] 6.00-7.00 sec 84.8 KBytes 695 Kbits/sec 0 28.3 KBytes
[ 5] 7.00-8.00 sec 56.6 KBytes 463 Kbits/sec 0 28.3 KBytes
[ 5] 8.00-9.00 sec 83.4 KBytes 684 Kbits/sec 0 28.3 KBytes
[ 5] 9.00-10.00 sec 69.3 KBytes 568 Kbits/sec 0 28.3 KBytes
[ 5] 10.00-11.00 sec 56.6 KBytes 463 Kbits/sec 0 28.3 KBytes
^C[ 5] 11.00-11.39 sec 28.3 KBytes 599 Kbits/sec 0 28.3 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-11.39 sec 788 KBytes 567 Kbits/sec 0 sender
[ 5] 0.00-11.39 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 32k
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 43342 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 94.7 KBytes 776 Kbits/sec 0 62.2 KBytes
[ 5] 1.00-2.00 sec 167 KBytes 1.37 Mbits/sec 0 62.2 KBytes
[ 5] 2.00-3.00 sec 130 KBytes 1.07 Mbits/sec 0 62.2 KBytes
[ 5] 3.00-4.00 sec 147 KBytes 1.20 Mbits/sec 0 62.2 KBytes
[ 5] 4.00-5.00 sec 177 KBytes 1.45 Mbits/sec 0 62.2 KBytes
[ 5] 5.00-6.00 sec 150 KBytes 1.23 Mbits/sec 0 62.2 KBytes
[ 5] 6.00-7.00 sec 119 KBytes 973 Kbits/sec 0 62.2 KBytes
[ 5] 7.00-8.00 sec 171 KBytes 1.40 Mbits/sec 0 62.2 KBytes
[ 5] 8.00-9.00 sec 148 KBytes 1.22 Mbits/sec 0 62.2 KBytes
[ 5] 9.00-10.00 sec 143 KBytes 1.17 Mbits/sec 0 62.2 KBytes
[ 5] 10.00-11.00 sec 146 KBytes 1.19 Mbits/sec 0 62.2 KBytes
[ 5] 11.00-12.00 sec 130 KBytes 1.07 Mbits/sec 0 62.2 KBytes
^C[ 5] 12.00-12.47 sec 77.8 KBytes 1.36 Mbits/sec 0 62.2 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-12.47 sec 1.76 MBytes 1.18 Mbits/sec 0 sender
[ 5] 0.00-12.47 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 64k
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 34360 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 212 KBytes 1.74 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 303 KBytes 2.48 Mbits/sec 0 133 KBytes
[ 5] 2.00-3.00 sec 265 KBytes 2.17 Mbits/sec 0 133 KBytes
[ 5] 3.00-4.00 sec 374 KBytes 3.06 Mbits/sec 0 133 KBytes
[ 5] 4.00-5.00 sec 310 KBytes 2.54 Mbits/sec 0 133 KBytes
[ 5] 5.00-6.00 sec 265 KBytes 2.17 Mbits/sec 0 133 KBytes
[ 5] 6.00-7.00 sec 336 KBytes 2.75 Mbits/sec 0 133 KBytes
[ 5] 7.00-8.00 sec 320 KBytes 2.62 Mbits/sec 0 133 KBytes
[ 5] 8.00-9.00 sec 322 KBytes 2.64 Mbits/sec 0 133 KBytes
[ 5] 9.00-10.00 sec 250 KBytes 2.05 Mbits/sec 0 133 KBytes
^C[ 5] 10.00-10.40 sec 166 KBytes 3.37 Mbits/sec 0 133 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.40 sec 3.05 MBytes 2.46 Mbits/sec 0 sender
[ 5] 0.00-10.40 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 128k
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 59208 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 263 KBytes 2.15 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 699 KBytes 5.73 Mbits/sec 0 255 KBytes
[ 5] 2.00-3.00 sec 579 KBytes 4.74 Mbits/sec 0 255 KBytes
[ 5] 3.00-4.00 sec 571 KBytes 4.67 Mbits/sec 0 255 KBytes
[ 5] 4.00-5.00 sec 737 KBytes 6.04 Mbits/sec 0 255 KBytes
[ 5] 5.00-6.00 sec 607 KBytes 4.98 Mbits/sec 0 255 KBytes
[ 5] 6.00-7.00 sec 592 KBytes 4.85 Mbits/sec 0 255 KBytes
[ 5] 7.00-8.00 sec 581 KBytes 4.76 Mbits/sec 0 272 KBytes
[ 5] 8.00-9.00 sec 733 KBytes 6.01 Mbits/sec 0 272 KBytes
[ 5] 9.00-10.00 sec 559 KBytes 4.58 Mbits/sec 0 272 KBytes
[ 5] 10.00-11.00 sec 700 KBytes 5.74 Mbits/sec 0 272 KBytes
^C[ 5] 11.00-11.46 sec 296 KBytes 5.28 Mbits/sec 0 272 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-11.46 sec 6.76 MBytes 4.95 Mbits/sec 0 sender
[ 5] 0.00-11.46 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 256k
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 57688 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 512 KBytes 4.19 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 1.13 MBytes 9.49 Mbits/sec 0 527 KBytes
[ 5] 2.00-3.00 sec 1.26 MBytes 10.6 Mbits/sec 0 527 KBytes
[ 5] 3.00-4.00 sec 1.13 MBytes 9.51 Mbits/sec 0 527 KBytes
[ 5] 4.00-5.00 sec 1.25 MBytes 10.5 Mbits/sec 0 527 KBytes
[ 5] 5.00-6.00 sec 1.18 MBytes 9.88 Mbits/sec 0 527 KBytes
[ 5] 6.00-7.00 sec 1.21 MBytes 10.1 Mbits/sec 0 527 KBytes
[ 5] 7.00-8.00 sec 1.30 MBytes 10.9 Mbits/sec 0 527 KBytes
[ 5] 8.00-9.00 sec 1.33 MBytes 11.1 Mbits/sec 0 527 KBytes
[ 5] 9.00-10.00 sec 1.20 MBytes 10.1 Mbits/sec 0 527 KBytes
^C[ 5] 10.00-10.76 sec 1.01 MBytes 11.1 Mbits/sec 0 527 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.76 sec 12.5 MBytes 9.73 Mbits/sec 0 sender
[ 5] 0.00-10.76 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 512k
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 59860 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 1010 KBytes 8.26 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 1.56 MBytes 13.1 Mbits/sec 0 1024 KBytes
[ 5] 2.00-3.00 sec 2.73 MBytes 22.9 Mbits/sec 0 1024 KBytes
[ 5] 3.00-4.00 sec 2.49 MBytes 20.9 Mbits/sec 0 1024 KBytes
[ 5] 4.00-5.00 sec 2.36 MBytes 19.8 Mbits/sec 0 1024 KBytes
[ 5] 5.00-6.00 sec 2.55 MBytes 21.4 Mbits/sec 0 1024 KBytes
[ 5] 6.00-7.00 sec 2.36 MBytes 19.8 Mbits/sec 0 1024 KBytes
[ 5] 7.00-8.00 sec 2.67 MBytes 22.4 Mbits/sec 0 1024 KBytes
[ 5] 8.00-9.00 sec 2.30 MBytes 19.3 Mbits/sec 0 1024 KBytes
^C[ 5] 9.00-9.63 sec 1.99 MBytes 26.6 Mbits/sec 0 1024 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-9.63 sec 22.0 MBytes 19.2 Mbits/sec 0 sender
[ 5] 0.00-9.63 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 1m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 35564 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 1.93 MBytes 16.2 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 2.08 MBytes 17.5 Mbits/sec 0 2.01 MBytes
[ 5] 2.00-3.00 sec 5.22 MBytes 43.8 Mbits/sec 0 2.01 MBytes
[ 5] 3.00-4.00 sec 5.34 MBytes 44.8 Mbits/sec 0 2.01 MBytes
[ 5] 4.00-5.00 sec 4.60 MBytes 38.6 Mbits/sec 0 2.01 MBytes
[ 5] 5.00-6.00 sec 5.03 MBytes 42.2 Mbits/sec 0 2.01 MBytes
[ 5] 6.00-7.00 sec 5.16 MBytes 43.3 Mbits/sec 0 2.01 MBytes
[ 5] 7.00-8.00 sec 5.10 MBytes 42.7 Mbits/sec 0 2.01 MBytes
[ 5] 8.00-9.00 sec 4.54 MBytes 38.1 Mbits/sec 0 2.01 MBytes
[ 5] 9.00-10.00 sec 5.28 MBytes 44.3 Mbits/sec 0 2.01 MBytes
^C[ 5] 10.00-10.40 sec 2.17 MBytes 45.2 Mbits/sec 0 2.01 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.40 sec 46.5 MBytes 37.5 Mbits/sec 0 sender
[ 5] 0.00-10.40 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 2m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 57468 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 3.75 MBytes 31.4 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 2.50 MBytes 21.0 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 10.0 MBytes 83.9 Mbits/sec 0 4.02 MBytes
[ 5] 3.00-4.00 sec 10.0 MBytes 83.9 Mbits/sec 0 4.02 MBytes
[ 5] 4.00-5.00 sec 10.0 MBytes 83.9 Mbits/sec 0 4.02 MBytes
[ 5] 5.00-6.00 sec 10.0 MBytes 83.9 Mbits/sec 0 4.02 MBytes
^C[ 5] 6.00-6.63 sec 7.12 MBytes 95.6 Mbits/sec 0 4.02 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-6.63 sec 53.4 MBytes 67.6 Mbits/sec 0 sender
[ 5] 0.00-6.63 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 4m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 39568 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 6.25 MBytes 52.4 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 2.50 MBytes 21.0 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 20.0 MBytes 168 Mbits/sec 0 5.85 MBytes
[ 5] 3.00-4.00 sec 20.0 MBytes 168 Mbits/sec 0 5.85 MBytes
[ 5] 4.00-5.00 sec 20.0 MBytes 168 Mbits/sec 0 5.85 MBytes
[ 5] 5.00-6.00 sec 20.0 MBytes 168 Mbits/sec 0 5.85 MBytes
^C[ 5] 6.00-6.10 sec 3.75 MBytes 323 Mbits/sec 0 5.85 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-6.10 sec 92.5 MBytes 127 Mbits/sec 0 sender
[ 5] 0.00-6.10 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 8m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 50820 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 11.2 MBytes 94.3 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 2.50 MBytes 21.0 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 25.0 MBytes 210 Mbits/sec 0 16.0 MBytes
[ 5] 3.00-4.00 sec 31.2 MBytes 262 Mbits/sec 0 16.0 MBytes
[ 5] 4.00-5.00 sec 33.8 MBytes 283 Mbits/sec 0 16.0 MBytes
[ 5] 5.00-6.00 sec 38.8 MBytes 325 Mbits/sec 0 16.0 MBytes
[ 5] 6.00-7.00 sec 38.8 MBytes 325 Mbits/sec 0 16.0 MBytes
[ 5] 7.00-8.00 sec 40.0 MBytes 336 Mbits/sec 0 16.0 MBytes
[ 5] 8.00-9.00 sec 40.0 MBytes 336 Mbits/sec 0 16.0 MBytes
[ 5] 9.00-10.00 sec 40.0 MBytes 336 Mbits/sec 0 16.0 MBytes
^C[ 5] 10.00-10.37 sec 16.2 MBytes 372 Mbits/sec 0 16.0 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.37 sec 318 MBytes 257 Mbits/sec 0 sender
[ 5] 0.00-10.37 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 16m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 54698 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 21.2 MBytes 178 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 47.5 MBytes 399 Mbits/sec 0 33.0 MBytes
[ 5] 3.00-4.00 sec 72.5 MBytes 608 Mbits/sec 0 33.0 MBytes
[ 5] 4.00-5.00 sec 71.2 MBytes 598 Mbits/sec 0 33.0 MBytes
[ 5] 5.00-6.00 sec 71.2 MBytes 598 Mbits/sec 0 33.0 MBytes
[ 5] 6.00-7.00 sec 72.5 MBytes 608 Mbits/sec 0 33.0 MBytes
[ 5] 7.00-8.00 sec 71.2 MBytes 598 Mbits/sec 0 33.0 MBytes
[ 5] 8.00-9.00 sec 71.2 MBytes 598 Mbits/sec 0 33.0 MBytes
[ 5] 9.00-10.00 sec 71.2 MBytes 598 Mbits/sec 0 33.0 MBytes
^C[ 5] 10.00-10.48 sec 35.0 MBytes 610 Mbits/sec 0 33.0 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.48 sec 609 MBytes 487 Mbits/sec 0 sender
[ 5] 0.00-10.48 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 24m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 58668 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 31.2 MBytes 262 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 55.0 MBytes 461 Mbits/sec 0 25.8 MBytes
[ 5] 3.00-4.00 sec 92.5 MBytes 776 Mbits/sec 0 25.8 MBytes
[ 5] 4.00-5.00 sec 93.8 MBytes 786 Mbits/sec 0 25.8 MBytes
[ 5] 5.00-6.00 sec 93.8 MBytes 787 Mbits/sec 0 25.8 MBytes
[ 5] 6.00-7.00 sec 90.0 MBytes 755 Mbits/sec 0 25.8 MBytes
[ 5] 7.00-8.00 sec 96.2 MBytes 807 Mbits/sec 0 25.8 MBytes
[ 5] 8.00-9.00 sec 95.0 MBytes 797 Mbits/sec 0 25.8 MBytes
[ 5] 9.00-10.00 sec 92.5 MBytes 776 Mbits/sec 0 25.8 MBytes
^C[ 5] 10.00-10.64 sec 65.0 MBytes 849 Mbits/sec 0 25.8 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.64 sec 809 MBytes 638 Mbits/sec 0 sender
[ 5] 0.00-10.64 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 26m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 33020 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 33.8 MBytes 283 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 57.5 MBytes 482 Mbits/sec 0 27.2 MBytes
[ 5] 3.00-4.00 sec 97.5 MBytes 818 Mbits/sec 0 27.3 MBytes
[ 5] 4.00-5.00 sec 101 MBytes 849 Mbits/sec 0 27.3 MBytes
[ 5] 5.00-6.00 sec 101 MBytes 849 Mbits/sec 0 27.3 MBytes
[ 5] 6.00-7.00 sec 97.5 MBytes 818 Mbits/sec 0 27.3 MBytes
[ 5] 7.00-8.00 sec 101 MBytes 849 Mbits/sec 0 27.3 MBytes
[ 5] 8.00-9.00 sec 101 MBytes 849 Mbits/sec 0 27.3 MBytes
[ 5] 9.00-10.00 sec 100 MBytes 839 Mbits/sec 0 27.3 MBytes
[ 5] 10.00-11.00 sec 102 MBytes 860 Mbits/sec 0 27.3 MBytes
[ 5] 11.00-12.00 sec 105 MBytes 881 Mbits/sec 0 27.3 MBytes
[ 5] 12.00-13.00 sec 100 MBytes 839 Mbits/sec 0 27.3 MBytes
^C[ 5] 13.00-13.72 sec 72.5 MBytes 842 Mbits/sec 0 27.3 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-13.72 sec 1.15 GBytes 718 Mbits/sec 0 sender
[ 5] 0.00-13.72 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 28m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 39638 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 36.2 MBytes 304 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 57.5 MBytes 482 Mbits/sec 0 27.2 MBytes
[ 5] 3.00-4.00 sec 104 MBytes 870 Mbits/sec 0 29.5 MBytes
[ 5] 4.00-5.00 sec 106 MBytes 891 Mbits/sec 0 29.5 MBytes
[ 5] 5.00-6.00 sec 108 MBytes 902 Mbits/sec 0 29.5 MBytes
[ 5] 6.00-7.00 sec 105 MBytes 881 Mbits/sec 0 29.5 MBytes
[ 5] 7.00-8.00 sec 106 MBytes 891 Mbits/sec 0 29.5 MBytes
[ 5] 8.00-9.00 sec 106 MBytes 891 Mbits/sec 0 29.5 MBytes
[ 5] 9.00-10.00 sec 105 MBytes 881 Mbits/sec 0 29.5 MBytes
[ 5] 10.00-11.00 sec 110 MBytes 923 Mbits/sec 0 29.5 MBytes
[ 5] 11.00-12.00 sec 109 MBytes 912 Mbits/sec 0 29.5 MBytes
[ 5] 12.00-13.00 sec 108 MBytes 902 Mbits/sec 0 29.5 MBytes
[ 5] 13.00-14.00 sec 108 MBytes 902 Mbits/sec 0 29.5 MBytes
[ 5] 14.00-15.00 sec 109 MBytes 912 Mbits/sec 0 29.5 MBytes
^C[ 5] 15.00-15.46 sec 51.2 MBytes 939 Mbits/sec 0 29.5 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-15.46 sec 1.40 GBytes 777 Mbits/sec 0 sender
[ 5] 0.00-15.46 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 29m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 49936 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 37.5 MBytes 314 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 57.5 MBytes 482 Mbits/sec 0 27.2 MBytes
[ 5] 3.00-4.00 sec 105 MBytes 881 Mbits/sec 0 30.6 MBytes
[ 5] 4.00-5.00 sec 110 MBytes 923 Mbits/sec 0 30.6 MBytes
[ 5] 5.00-6.00 sec 110 MBytes 923 Mbits/sec 0 30.6 MBytes
[ 5] 6.00-7.00 sec 110 MBytes 923 Mbits/sec 0 30.6 MBytes
[ 5] 7.00-8.00 sec 110 MBytes 923 Mbits/sec 0 30.6 MBytes
[ 5] 8.00-9.00 sec 111 MBytes 933 Mbits/sec 0 30.6 MBytes
^C[ 5] 9.00-9.63 sec 73.8 MBytes 977 Mbits/sec 0 30.6 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-9.63 sec 829 MBytes 722 Mbits/sec 0 sender
[ 5] 0.00-9.63 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 30m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 56056 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 38.8 MBytes 325 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 36.2 MBytes 304 Mbits/sec 0 12.2 MBytes
[ 5] 3.00-4.00 sec 53.8 MBytes 451 Mbits/sec 0 14.9 MBytes
[ 5] 4.00-5.00 sec 71.2 MBytes 598 Mbits/sec 0 18.5 MBytes
[ 5] 5.00-6.00 sec 78.8 MBytes 661 Mbits/sec 0 22.4 MBytes
[ 5] 6.00-7.00 sec 88.8 MBytes 744 Mbits/sec 0 26.8 MBytes
[ 5] 7.00-8.00 sec 108 MBytes 902 Mbits/sec 0 31.5 MBytes
[ 5] 8.00-9.00 sec 112 MBytes 944 Mbits/sec 0 31.5 MBytes
[ 5] 9.00-10.00 sec 112 MBytes 944 Mbits/sec 0 31.5 MBytes
[ 5] 10.00-11.00 sec 112 MBytes 944 Mbits/sec 0 31.5 MBytes
[ 5] 11.00-12.00 sec 112 MBytes 944 Mbits/sec 0 31.5 MBytes
^C[ 5] 12.00-12.73 sec 86.2 MBytes 990 Mbits/sec 0 31.5 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-12.73 sec 1015 MBytes 669 Mbits/sec 0 sender
[ 5] 0.00-12.73 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 31m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 50572 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 40.0 MBytes 335 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 40.0 MBytes 336 Mbits/sec 0 12.7 MBytes
[ 5] 3.00-4.00 sec 62.5 MBytes 524 Mbits/sec 0 15.8 MBytes
[ 5] 4.00-5.00 sec 77.5 MBytes 650 Mbits/sec 0 19.7 MBytes
[ 5] 5.00-6.00 sec 91.2 MBytes 765 Mbits/sec 0 24.2 MBytes
[ 5] 6.00-7.00 sec 108 MBytes 902 Mbits/sec 0 29.6 MBytes
[ 5] 7.00-8.00 sec 112 MBytes 943 Mbits/sec 0 32.3 MBytes
[ 5] 8.00-9.00 sec 111 MBytes 934 Mbits/sec 0 32.3 MBytes
[ 5] 9.00-10.00 sec 112 MBytes 944 Mbits/sec 0 32.3 MBytes
[ 5] 10.00-11.00 sec 112 MBytes 944 Mbits/sec 0 32.3 MBytes
[ 5] 11.00-12.00 sec 112 MBytes 944 Mbits/sec 0 32.3 MBytes
[ 5] 12.00-13.00 sec 111 MBytes 933 Mbits/sec 0 32.3 MBytes
^C[ 5] 13.00-13.02 sec 1.25 MBytes 446 Mbits/sec 0 32.3 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-13.02 sec 1.07 GBytes 706 Mbits/sec 0 sender
[ 5] 0.00-13.02 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 32m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 33700 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 41.2 MBytes 346 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 45.0 MBytes 378 Mbits/sec 0 47.7 MBytes
[ 5] 3.00-4.00 sec 114 MBytes 954 Mbits/sec 0 66.1 MBytes
[ 5] 4.00-5.00 sec 111 MBytes 933 Mbits/sec 0 66.1 MBytes
[ 5] 5.00-6.00 sec 112 MBytes 944 Mbits/sec 0 66.1 MBytes
[ 5] 6.00-7.00 sec 112 MBytes 944 Mbits/sec 0 66.1 MBytes
[ 5] 7.00-8.00 sec 112 MBytes 944 Mbits/sec 0 66.1 MBytes
[ 5] 8.00-9.00 sec 112 MBytes 944 Mbits/sec 0 66.1 MBytes
^C[ 5] 9.00-9.38 sec 45.0 MBytes 984 Mbits/sec 0 66.1 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-9.38 sec 810 MBytes 724 Mbits/sec 0 sender
[ 5] 0.00-9.38 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 64m
Connecting to host 192.168.3.60, port 5201
[ 5] local 192.168.3.107 port 56982 connected to 192.168.3.60 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 41.2 MBytes 346 Mbits/sec 0 113 KBytes
[ 5] 1.00-2.00 sec 3.75 MBytes 31.5 Mbits/sec 0 3.54 MBytes
[ 5] 2.00-3.00 sec 58.8 MBytes 493 Mbits/sec 0 27.2 MBytes
[ 5] 3.00-4.00 sec 111 MBytes 933 Mbits/sec 0 32.7 MBytes
[ 5] 4.00-5.00 sec 112 MBytes 944 Mbits/sec 0 33.6 MBytes
[ 5] 5.00-6.00 sec 111 MBytes 933 Mbits/sec 0 33.6 MBytes
^C[ 5] 6.00-6.39 sec 45.0 MBytes 976 Mbits/sec 0 33.6 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-6.39 sec 484 MBytes 635 Mbits/sec 0 sender
[ 5] 0.00-6.39 sec 0.00 Bytes 0.00 bits/sec receiver
iperf3: interrupt - the client has terminated
xxx@xxx-pc:~$ /usr/bin/iperf3 -c 192.168.3.60 -t 100 -w 65m
Connecting to host 192.168.3.60, port 5201
iperf3: error - socket buffer size not set correctly
注意:使用了一个巨大的窗口值来提高吞吐量其实是带来RTT测试周期变长的风险的,RTT测量周期变长意味着TCP协议栈不能很好的去适应网络的状态的变化。