全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 393|回复: 3

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

[复制链接]
发表于 2021-11-30 10:45:56 | 显示全部楼层 |阅读模式
本帖最后由 Geekman 于 2021-11-30 10:49 编辑

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

运营商qos的原因么


tcp  

iperf3 -P 10

5M

udp
  1. root@OpenWrt:~# iperf3 -R -u -b 200M  -p 23586 -c  ip

  2. [ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
  3. [  5]   0.00-1.00   sec  22.2 MBytes   186 Mbits/sec  0.005 ms  0/16359 (0%)
  4. [  5]   1.00-2.00   sec  23.8 MBytes   200 Mbits/sec  0.007 ms  0/17597 (0%)
  5. [  5]   2.00-3.00   sec  23.8 MBytes   200 Mbits/sec  0.952 ms  0/17603 (0%)
  6. [  5]   3.00-4.00   sec  23.8 MBytes   199 Mbits/sec  1.196 ms  0/17560 (0%)
  7. [  5]   4.00-5.00   sec  23.8 MBytes   200 Mbits/sec  0.677 ms  0/17599 (0%)
  8. [  5]   5.00-6.00   sec  23.8 MBytes   199 Mbits/sec  1.142 ms  0/17542 (0%)
  9. [  5]   6.00-7.00   sec  24.1 MBytes   202 Mbits/sec  0.007 ms  0/17772 (0%)
  10. [  5]   7.00-8.00   sec  23.7 MBytes   199 Mbits/sec  0.003 ms  0/17482 (0%)
  11. [  5]   8.00-9.00   sec  23.9 MBytes   201 Mbits/sec  0.007 ms  0/17658 (0%)
  12. [  5]   9.00-10.00  sec  23.8 MBytes   200 Mbits/sec  1.100 ms  0/17582 (0%)
  13. - - - - - - - - - - - - - - - - - - - - - - - - -
  14. [ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
  15. [  5]   0.00-10.00  sec   246 MBytes   207 Mbits/sec  0.000 ms  0/174754 (0%)  sender
  16. [SUM]  0.0-10.0 sec  5629 datagrams received out-of-order
  17. [  5]   0.00-10.00  sec   237 MBytes   199 Mbits/sec  1.100 ms  0/174754 (0%)  receiver

  18. iperf Done.
复制代码
发表于 2021-11-30 10:48:02 | 显示全部楼层
运营商不都是主要qos udp吗
 楼主| 发表于 2021-11-30 10:49:58 | 显示全部楼层
cdseoo 发表于 2021-11-30 10:48
运营商不都是主要qos udp吗

对啊 我也奇怪~ 欧洲的ipv6
 楼主| 发表于 2021-11-30 11:15:30 | 显示全部楼层
cdseoo 发表于 2021-11-30 10:48
运营商不都是主要qos udp吗

应该是有瞬间速度加成,多跑一会就被qos了

  1. iperf3 -R -u -b 200M  -i 3 -p 23586 -c  ip -t 60


  2. [ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
  3. [  5]   0.00-3.00   sec  69.7 MBytes   195 Mbits/sec  0.164 ms  0/51466 (0%)
  4. [  5]   3.00-6.00   sec  71.7 MBytes   200 Mbits/sec  0.206 ms  0/52944 (0%)
  5. [  5]   6.00-9.00   sec  61.9 MBytes   173 Mbits/sec  0.074 ms  8332/54073 (15%)
  6. [  5]   9.00-12.00  sec  35.5 MBytes  99.2 Mbits/sec  0.025 ms  25441/51643 (49%)
  7. [  5]  12.00-15.00  sec  36.5 MBytes   102 Mbits/sec  0.026 ms  26210/53163 (49%)
  8. [  5]  15.00-18.00  sec  35.9 MBytes   100 Mbits/sec  0.103 ms  25821/52329 (49%)
  9. [  5]  18.00-21.00  sec  36.2 MBytes   101 Mbits/sec  0.112 ms  26015/52736 (49%)
  10. [  5]  21.00-24.00  sec  36.3 MBytes   102 Mbits/sec  0.036 ms  26065/52901 (49%)
  11. [  5]  24.00-27.00  sec  36.3 MBytes   101 Mbits/sec  0.057 ms  26120/52908 (49%)
  12. [  5]  27.00-30.00  sec  36.3 MBytes   101 Mbits/sec  0.432 ms  26084/52870 (49%)
  13. [  5]  30.00-33.00  sec  36.2 MBytes   101 Mbits/sec  0.286 ms  26004/52705 (49%)
  14. [  5]  33.00-36.00  sec  36.5 MBytes   102 Mbits/sec  0.077 ms  26121/53067 (49%)
  15. [  5]  36.00-39.00  sec  36.2 MBytes   101 Mbits/sec  0.021 ms  26017/52744 (49%)
  16. [  5]  39.00-42.00  sec  36.2 MBytes   101 Mbits/sec  0.031 ms  25996/52692 (49%)
  17. [  5]  42.00-45.00  sec  36.1 MBytes   101 Mbits/sec  0.044 ms  25990/52679 (49%)
  18. [  5]  45.00-48.00  sec  36.5 MBytes   102 Mbits/sec  0.031 ms  26185/53124 (49%)
  19. [  5]  48.00-51.00  sec  36.2 MBytes   101 Mbits/sec  0.050 ms  26022/52725 (49%)
  20. [  5]  51.00-54.01  sec  36.2 MBytes   101 Mbits/sec  0.645 ms  26046/52797 (49%)
  21. [  5]  54.01-57.00  sec  36.2 MBytes   101 Mbits/sec  0.055 ms  26012/52745 (49%)
  22. [  5]  57.00-60.00  sec  36.2 MBytes   101 Mbits/sec  0.086 ms  26007/52747 (49%)
  23. - - - - - - - - - - - - - - - - - - - - - - - - -
  24. [ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
  25. [  5]   0.00-60.00  sec  1.40 GBytes   201 Mbits/sec  0.000 ms  0/1055058 (0%)  sender
  26. [SUM]  0.0-60.0 sec  16656 datagrams received out-of-order
  27. [  5]   0.00-60.00  sec   819 MBytes   114 Mbits/sec  0.086 ms  450488/1055058 (43%)  receiver
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-4-25 23:08 , Processed in 0.059538 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表