网络接口关闭然后又开启且速度不同

网络接口关闭然后又开启且速度不同

我有一台 HP ProLiant 服务器,它有 4 个物理网络端口。eth0并且eth1绑定在一起。今天我们遇到了服务延迟的问题,结果发现eth0速度先是下降,然后上升到 1000Mbps,然后又下降,然后上升到 100Mbps。
为什么接口的速度不同?原因是什么?是否有可能防止这种情况再次发生?


这是 Bonding 配置:

DEVICE=Bond0
IPADDR=x.x.x.x
NETMASK=x.x.x.x
GATEWAY=x.x.x.x
ONBOOT=yes
BOOTPROTO=static
USERCTL=no

DEVICE=eth0
HWADDR=XXXXX
TYPE=Ethernet
UUID=XXXXXXX
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
USERCTL=no
MASTER=Bond0
SLAVE=yes

DEVICE=eth1
HWADDR=XXXXX
TYPE=Ethernet
UUID=XXXXXXX
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=static
MASTER=Bond0
SLAVE=yes

和粘合状态:

Bonding Mode: load balancing (round-robin)
MII Status: up
MII Polling Interval (ms): 0
Up Delay (ms): 0
Down Delay (ms): 0

Slave Interface: eth0
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: XXXXXXX
Slave queue ID: 0

Slave Interface: eth1
MII Status: up
Speed: 1000 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: XXXXXXXX
Slave queue ID: 0

日志中的消息:

Dec 16 11:00:33 Adata kernel: tg3 0000:02:00.0: eth0: Link is down
Dec 16 11:00:36 Adata kernel: tg3 0000:02:00.0: eth0: Link is up at 1000 Mbps, full duplex
Dec 16 11:00:36 Adata kernel: tg3 0000:02:00.0: eth0: Flow control is off for TX and off for RX
Dec 16 11:00:36 Adata kernel: tg3 0000:02:00.0: eth0: EEE is disabled
Dec 16 11:00:44 Adata kernel: tg3 0000:02:00.0: eth0: Link is down
Dec 16 11:01:01 Adata kernel: tg3 0000:02:00.0: eth0: Link is up at 100 Mbps, full duplex
Dec 16 11:01:01 Adata kernel: tg3 0000:02:00.0: eth0: Flow control is off for TX and off for RX
Dec 16 11:01:01 Adata kernel: tg3 0000:02:00.0: eth0: EEE is disabled

相关内容