Ceph集群网络性能测试

一.测试Ceph集群节点之间的网络性能

在ceph01节点上运行:

[root@openstack01 ~]# iperf3 -s -p 6900
-----------------------------------------------------------
Server listening on 6900
-----------------------------------------------------------

在ceph02节点上运行:

[root@openstack02 ~]# iperf3 -c openstack01 -p 6900
Connecting to host openstack01, port 6900
[  4] local 192.168.30.102 port 50586 connected to 192.168.30.101 port 6900
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   265 MBytes  2.22 Gbits/sec    0    530 KBytes       
[  4]   1.00-2.00   sec   263 MBytes  2.20 Gbits/sec    0    587 KBytes       
[  4]   2.00-3.00   sec   264 MBytes  2.21 Gbits/sec    0    598 KBytes       
[  4]   3.00-4.00   sec   256 MBytes  2.15 Gbits/sec    0    609 KBytes       
[  4]   4.00-5.00   sec   262 MBytes  2.20 Gbits/sec    0    617 KBytes       
[  4]   5.00-6.00   sec   263 MBytes  2.21 Gbits/sec    0    622 KBytes       
[  4]   6.00-7.00   sec   258 MBytes  2.16 Gbits/sec    0    628 KBytes       
[  4]   7.00-8.00   sec   259 MBytes  2.17 Gbits/sec    0    653 KBytes       
[  4]   8.00-9.00   sec   252 MBytes  2.12 Gbits/sec  270    510 KBytes       
[  4]   9.00-10.00  sec   266 MBytes  2.23 Gbits/sec    0    519 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  2.55 GBytes  2.19 Gbits/sec  270             sender
[  4]   0.00-10.00  sec  2.54 GBytes  2.18 Gbits/sec                  receiver

iperf Done.
  • 结果:可以查看两节点之间的带宽大约在2.18Gbits/s(260MBytes/s 在1/8左右)
posted @ 2020-12-09 21:38  yuhaohao  阅读(434)  评论(0编辑  收藏  举报