欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 编程资源 > 编程问答 >内容正文

编程问答

iperf测试局域网网速(集群IO网速)

发布时间:2023/12/31 编程问答 43 豆豆
生活随笔 收集整理的这篇文章主要介绍了 iperf测试局域网网速(集群IO网速) 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

因为需要估算集群中的节点数量,所以首先需要知道集群节点之间的IO带宽

# apt install iperf firewalld

# firewall-cmd --state

# systemctl stop firewalld.service(这个是客户端需要)

 

局域网域名输入的命令
客户端Desktop 
服务端Laptopiperf -s

 

Desktop运行结果:

(Python3.6) appleyuchi@Desktop:~$ iperf -c Laptop
------------------------------------------------------------
Client connecting to Laptop, TCP port 5001
TCP window size:  238 KByte (default)
------------------------------------------------------------
[  3] local 192.168.0.102 port 42184 connected with 192.168.0.103 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0-10.1 sec  81.2 MBytes  67.8 Mbits/sec
 

 

Laptop运行结果:

(Python3.6) appleyuchi@Laptop:~$ iperf -s
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size:  128 KByte (default)
------------------------------------------------------------
[  4] local 192.168.0.103 port 5001 connected with 192.168.0.102 port 42184
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.2 sec  81.2 MBytes  66.6 Mbits/sec

总结

以上是生活随笔为你收集整理的iperf测试局域网网速(集群IO网速)的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。