美文网首页
iperf 测试两机器间网速

iperf 测试两机器间网速

作者: 字母数字或汉字 | 来源:发表于2016-11-04 16:10 被阅读88次

TCP 测试

服务器执行:iperf -s -i 1 -w 1M
客户端执行:iperf -c [host] -i 1 -w 1M

其中 -w 表示 TCP 滑动窗口大小。

UDP 测试

服务器执行:iperf -u -s
客户端执行:iperf -u -c [host] -b 900M -i 1 -w 1M -t 60

其中 -b 表示使用多少带宽。

相关文章

网友评论

      本文标题:iperf 测试两机器间网速

      本文链接:https://www.haomeiwen.com/subject/dtkwuttx.html