flyzy博客
分享便宜VPS与网络优惠
搬瓦工

为啥 iperf3 测速,tcp只能20M ,udp 却能200M 不丢包呢?

为啥 iperf3 测速,tcp只能5M ,udp 却能200M 不丢包呢?

运营商qos的原因么

tcp  

iperf3 -P 10

5M

udp root@OpenWrt:~# iperf3 -R -u -b 200M  -p 23586 -c  ip [ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams [  5]   0.00-1.00   sec  22.2 MBytes   186 Mbits/sec  0.005 ms  0/16359 (0%) [  5]   1.00-2.00   sec  23.8 MBytes   200 Mbits/sec  0.007 ms  0/17597 (0%) [  5]   2.00-3.00   sec  23.8 MBytes   200 Mbits/sec  0.952 ms  0/17603 (0%) [  5]   3.00-4.00   sec  23.8 MBytes   199 Mbits/sec  1.196 ms  0/17560 (0%) [  5]   4.00-5.00   sec  23.8 MBytes   200 Mbits/sec  0.677 ms  0/17599 (0%) [  5]   5.00-6.00   sec  23.8 MBytes   199 Mbits/sec  1.142 ms  0/17542 (0%) [  5]   6.00-7.00   sec  24.1 MBytes   202 Mbits/sec  0.007 ms  0/17772 (0%) [  5]   7.00-8.00   sec  23.7 MBytes   199 Mbits/sec  0.003 ms  0/17482 (0%) [  5]   8.00-9.00   sec  23.9 MBytes   201 Mbits/sec  0.007 ms  0/17658 (0%) [  5]   9.00-10.00  sec  23.8 MBytes   200 Mbits/sec  1.100 ms  0/17582 (0%) – – – – – – – – – – – – – – – – – – – – – – – – – [ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams [  5]   0.00-10.00  sec   246 MBytes   207 Mbits/sec  0.000 ms  0/174754 (0%)  sender [SUM]  0.0-10.0 sec  5629 datagrams received out-of-order [  5]   0.00-10.00  sec   237 MBytes   199 Mbits/sec  1.100 ms  0/174754 (0%)  receiver iperf Done.复制代码

湖南省网友说:运营商不都是主要qos udp吗

辽宁省网友说:对啊 我也奇怪~ 欧洲的ipv6

福建省网友说:应该是有瞬间速度加成,多跑一会就被qos了
iperf3 -R -u -b 200M  -i 3 -p 23586 -c  ip -t 60 [ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams [  5]   0.00-3.00   sec  69.7 MBytes   195 Mbits/sec  0.164 ms  0/51466 (0%) [  5]   3.00-6.00   sec  71.7 MBytes   200 Mbits/sec  0.206 ms  0/52944 (0%) [  5]   6.00-9.00   sec  61.9 MBytes   173 Mbits/sec  0.074 ms  8332/54073 (15%) [  5]   9.00-12.00  sec  35.5 MBytes  99.2 Mbits/sec  0.025 ms  25441/51643 (49%) [  5]  12.00-15.00  sec  36.5 MBytes   102 Mbits/sec  0.026 ms  26210/53163 (49%) [  5]  15.00-18.00  sec  35.9 MBytes   100 Mbits/sec  0.103 ms  25821/52329 (49%) [  5]  18.00-21.00  sec  36.2 MBytes   101 Mbits/sec  0.112 ms  26015/52736 (49%) [  5]  21.00-24.00  sec  36.3 MBytes   102 Mbits/sec  0.036 ms  26065/52901 (49%) [  5]  24.00-27.00  sec  36.3 MBytes   101 Mbits/sec  0.057 ms  26120/52908 (49%) [  5]  27.00-30.00  sec  36.3 MBytes   101 Mbits/sec  0.432 ms  26084/52870 (49%) [  5]  30.00-33.00  sec  36.2 MBytes   101 Mbits/sec  0.286 ms  26004/52705 (49%) [  5]  33.00-36.00  sec  36.5 MBytes   102 Mbits/sec  0.077 ms  26121/53067 (49%) [  5]  36.00-39.00  sec  36.2 MBytes   101 Mbits/sec  0.021 ms  26017/52744 (49%) [  5]  39.00-42.00  sec  36.2 MBytes   101 Mbits/sec  0.031 ms  25996/52692 (49%) [  5]  42.00-45.00  sec  36.1 MBytes   101 Mbits/sec  0.044 ms  25990/52679 (49%) [  5]  45.00-48.00  sec  36.5 MBytes   102 Mbits/sec  0.031 ms  26185/53124 (49%) [  5]  48.00-51.00  sec  36.2 MBytes   101 Mbits/sec  0.050 ms  26022/52725 (49%) [  5]  51.00-54.01  sec  36.2 MBytes   101 Mbits/sec  0.645 ms  26046/52797 (49%) [  5]  54.01-57.00  sec  36.2 MBytes   101 Mbits/sec  0.055 ms  26012/52745 (49%) [  5]  57.00-60.00  sec  36.2 MBytes   101 Mbits/sec  0.086 ms  26007/52747 (49%) – – – – – – – – – – – – – – – – – – – – – – – – – [ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams [  5]   0.00-60.00  sec  1.40 GBytes   201 Mbits/sec  0.000 ms  0/1055058 (0%)  sender [SUM]  0.0-60.0 sec  16656 datagrams received out-of-order [  5]   0.00-60.00  sec   819 MBytes   114 Mbits/sec  0.086 ms  450488/1055058 (43%)  receiver 复制代码

赞(0) 打赏
关注我们
未经允许不得转载:flyzy博客 » 为啥 iperf3 测速,tcp只能20M ,udp 却能200M 不丢包呢?
分享到: 更多 (0)

这是一种鼓励

支付宝扫一扫打赏

微信扫一扫打赏