ceph群集变慢,网卡速率排查

admin2017-11-16linux91
下载并安装EPEL
 wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

 rpm -ivh epel-release-latest-7.noarch.rpm

 yum repolist
##检查是否已添加至源列表 OK,检查好已添加至源后就可以进行yum安装了 服务器端操作:
yum -y install iperf
iperf -s
客户端操作:
yum -y install iperf
iperf -c server_ip -t 30
//-t 测试时间 //server_ip为服务端的ip 如下所示万兆卡传输正常
[root@ceph-2 ~]# iperf -c ceph-1 -t 3
------------------------------------------------------------
Client connecting to ceph-1, TCP port 5001
TCP window size: 1.06 MByte (default)
------------------------------------------------------------
[  3] local 10.1.2.192 port 36122 connected with 10.1.2.191 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 3.0 sec  3.22 GBytes  9.23 Gbits/sec

查看网卡速率ethtool
[root@ceph-1 ~]# ethtool 10g
Settings for 10g:
        Supported ports: [ FIBRE ]
        Supported link modes:   10000baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: No
        Advertised link modes:  10000baseT/Full 
        Advertised pause frame use: No
        Advertised auto-negotiation: No
        Speed: 10000Mb/s
        Duplex: Full
        Port: FIBRE
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: off
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000007 (7)
                               drv probe link
        Link detected: yes