linux网卡降速,CentOS的网卡降速问题

今天遇到个生产平台的网卡降速问题,由1000M降速到10M。这个一般的原因是?目前准备已经协调了机房明天更换下网线看下,但是除了网线一般还有什么原因,网卡是自适应的双工貌似,下面贴下指标。网卡本身经过测试应该是没有问题的。

[linux]$ dmesg | grep -i eth0

igb 0000:02:00.0: eth0: (PCIe:5.0Gb/s:Width x4) 10:1b:54:43:c1:8d

igb 0000:02:00.0: eth0: PBA No: 106300-000

bonding: bond0: Adding slave eth0.

**igb: eth0 NIC Link is Up 10 Mbps Full Duplex, Flow Control: RX**

8021q: adding VLAN 0 to HW filter on device eth0

bonding: bond0: enslaving eth0 as an active interface with an up link.

**device eth0 entered promiscuous mode**

type=1700 audit(1398768126.654:3): dev=eth0 prom=256 old_prom=0 auid=4294967295 ses=4294967295

device eth0 left promiscuous mode

type=1700 audit(1398768185.647:4): dev=eth0 prom=0 old_prom=256 auid=4294967295 ses=4294967295

看到标粗的部分,已经变成了混杂模式了,也降速到10M,正常的如下:

[linux]$ dmesg | grep -i eth0

igb 0000:02:00.0: eth0: (PCIe:5.0Gb/s:Width x4) 48:46:fb:01:46:bd

igb 0000:02:00.0: eth0: PBA No: 106300-000

bonding: bond0: Adding slave eth0.

igb: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX

8021q: adding VLAN 0 to HW filter on device eth0

bonding: bond0: enslaving eth0 as an active interface with an up link.

另外用mii-tool 、iftop、ifconfig以及ethool都看了,没什么异常

mii-tool和ethool的指标如下:

[linux]$ sudo /sbin/mii-tool  -v

eth0: negotiated 100baseTx-FD, link ok

product info: vendor 00:55:00, model 59 rev 1

basic mode:   autonegotiation enabled

basic status: autonegotiation complete, link ok

capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD

advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

link partner: 100baseTx-FD 10baseT-FD

eth1: negotiated 100baseTx-FD, link ok

product info: vendor 00:55:00, model 59 rev 1

basic mode:   autonegotiation enabled

basic status: autonegotiation complete, link ok

capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD

advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

link partner: 100baseTx-FD 10baseT-FD

[linux]$ sudo /sbin/ethtool  eth0

Settings for eth0:

Supported ports: [ TP ]

Supported link modes:   10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

1000baseT/Full

Supports auto-negotiation: Yes

Advertised link modes:  10baseT/Half 10baseT/Full

100baseT/Half 100baseT/Full

1000baseT/Full

Advertised auto-negotiation: Yes

Speed: 10Mb/s

Duplex: Full

Port: Twisted Pair

PHYAD: 1

Transceiver: internal

Auto-negotiation: on

Supports Wake-on: pumbg

Wake-on: g

Current message level: 0x00000003 (3)

Link detected: yes

另外用了speedtest_cli测试了下速度,上传下载达到了10多M了,所以很奇怪,下面是测试后的指标:

[linux]$ sudo python speedtest_cli.py

Retrieving speedtest.net configuration...

Retrieving speedtest.net server list...

Testing from China Telecom Guangdong (14.17.85.2)...

Selecting best server based on ping...

Hosted by Unicom-GZ (Guangzhou) [2.51 km]: 23.206 ms

Testing download speed........................................

Download: 18.76 Mbits/s

Testing upload speed..................................................

Upload: 16.45 Mbits/s

73bccf0c0b4af35beddca4274520fb45.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值