net.if.in.dropped rx_missed_errors 丟包

環境 Linux 萬兆網卡

# ethtool -i eth0
driver: ixgbe
version: 3.15.1-k
firmware-version: 0x800003df
bus-info: 0000:02:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no

# ethtool eth0
Settings for eth0:
	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

falcon監控請求較大時出現drop丟包,rx_missed_errors

bond1     Link encap:Ethernet  HWaddr 24:4C:07:E3:C0:CE  
          inet addr:10.12.123.x  Bcast:10.12.123.x  Mask:255.255.255.192
          inet6 addr: xxxxx Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:7190630872692 errors:0 dropped:3154230 overruns:0 frame:0
          TX packets:6990044228187 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1134831090245062 (1.0 PiB)  TX bytes:1938628538761088 (1.7 PiB)

查看網卡ring大小,ethtool -g eth0,如果過小,可以調大

ethtool -G eth0 rx 4096 tx 4096

如果不起效,嘗試修改/etc/sysconfig/irqbalance,增加參數

add --hintpolicy=ignore to IRQBALANCE_ARGS

service irqbalance status

參考:

rx_missed_errors

driver-num

flow-director

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章