问题描述
我正在使用iperf 3.6+(cJSON 1.5.2)测试TCP性能,当我使用-l选项时,吞吐量会发生变化。以下是2个示例,分别是“ -1 1440”和“ -1 3000”。谁能告诉我-l在这里为什么以及如何有所作为?谢谢!
dev:/data/ # iperf3 -c 192.168.111.1 -t 10 -i 1 -l 1440
Connecting to host 192.168.111.1,port 5201
[ 5] local 192.168.111.11 port 39786 connected to 192.168.111.1 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 20.4 MBytes 171 Mbits/sec 3 888 KBytes
[ 5] 1.00-2.00 sec 25.0 MBytes 210 Mbits/sec 15 621 KBytes
[ 5] 2.00-3.00 sec 23.8 MBytes 200 Mbits/sec 11 148 KBytes
[ 5] 3.00-4.00 sec 21.5 MBytes 181 Mbits/sec 4 137 KBytes
[ 5] 4.00-5.00 sec 21.3 MBytes 178 Mbits/sec 7 137 KBytes
[ 5] 5.00-6.00 sec 22.3 MBytes 187 Mbits/sec 0 163 KBytes
[ 5] 6.00-7.00 sec 24.9 MBytes 209 Mbits/sec 0 178 KBytes
[ 5] 7.00-8.00 sec 23.5 MBytes 197 Mbits/sec 14 153 KBytes
[ 5] 8.00-9.00 sec 22.0 MBytes 185 Mbits/sec 0 170 KBytes
[ 5] 9.00-10.00 sec 24.1 MBytes 202 Mbits/sec 1 178 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 229 MBytes 192 Mbits/sec 55 sender
[ 5] 0.00-10.00 sec 225 MBytes 188 Mbits/sec receiver
iperf Done.
dev:/data # iperf3 -c 192.168.111.1 -t 10 -i 1 -l 3000
Connecting to host 192.168.111.1,port 5201
[ 5] local 192.168.111.11 port 39790 connected to 192.168.111.1 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 29.3 MBytes 246 Mbits/sec 6 496 KBytes
[ 5] 1.00-2.00 sec 29.3 MBytes 246 Mbits/sec 0 496 KBytes
[ 5] 2.00-3.00 sec 26.4 MBytes 221 Mbits/sec 3 195 KBytes
[ 5] 3.00-4.00 sec 27.2 MBytes 228 Mbits/sec 1 198 KBytes
[ 5] 4.00-5.00 sec 28.4 MBytes 238 Mbits/sec 0 229 KBytes
[ 5] 5.00-6.00 sec 28.8 MBytes 241 Mbits/sec 0 236 KBytes
[ 5] 6.00-7.00 sec 25.5 MBytes 214 Mbits/sec 0 247 KBytes
[ 5] 7.00-8.00 sec 30.4 MBytes 255 Mbits/sec 0 262 KBytes
[ 5] 8.00-9.00 sec 26.1 MBytes 219 Mbits/sec 29 146 KBytes
[ 5] 9.00-10.00 sec 26.1 MBytes 219 Mbits/sec 1 171 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 277 MBytes 233 Mbits/sec 40 sender
[ 5] 0.00-10.00 sec 273 MBytes 229 Mbits/sec receiver
iperf Done.
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)