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

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

# apt install iperf firewalld

# firewall-cmd --state

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

局域网域名 输入的命令
客户端 Desktop  
服务端 Laptop iperf -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

扫描二维码关注公众号,回复: 11880386 查看本文章

猜你喜欢

转载自blog.csdn.net/appleyuchi/article/details/108961439