查看网卡配置
ethtool -g eth1
修改网卡配置
ethtool -G eth1 rx 4096
ethtool -G eth1 tx 4096
这样,对于流量非常重的网卡会稍微好点。具体效果还在观察。
[[email protected] ~]# ethtool -g eth1
Ring parameters for eth1:
Pre-set maximums:
RX: 4096
RX Mini: 0
RX Jumbo: 0
TX: 4096
Current hardware settings:
RX: 1024
RX Mini: 0
RX Jumbo: 0
TX: 512
[[email protected] ~]# ethtool -G eth1 rx 4096
[[email protected] ~]# ethtool -G eth1 tx 4096
[[email protected] ~]#
[[email protected] ~]#
[[email protected] ~]# ethtool -g eth1
Ring parameters for eth1:
Pre-set maximums:
RX: 4096
RX Mini: 0
RX Jumbo: 0
TX: 4096
Current hardware settings:
RX: 4096
RX Mini: 0
RX Jumbo: 0
TX: 4096