修改网卡收发包队列数

 修改收发包队列数

[[email protected] tong]# ethtool -g eth0
Ring parameters for eth0:
Pre-set maximums:
RX:             4096
RX Mini:        0
RX Jumbo:       0
TX:             4096
Current hardware settings:
RX:             64
RX Mini:        0
RX Jumbo:       0
TX:             512

[[email protected] tong]# ethtool -G eth0 rx 1  tx 1
[[email protected] tong]# ethtool -g eth0
Ring parameters for eth0:
Pre-set maximums:
RX:             4096
RX Mini:        0
RX Jumbo:       0
TX:             4096
Current hardware settings:
RX:             64
RX Mini:        0
RX Jumbo:       0
TX:             64
[root@localhost ixgbe]# ethtool -g enp125s0f0
Ring parameters for enp125s0f0:
Pre-set maximums:
RX:             32768
RX Mini:        0
RX Jumbo:       0
TX:             32768
Current hardware settings:
RX:             1024
RX Mini:        0
RX Jumbo:       0
TX:             1024

[root@localhost ixgbe]#
原文地址:https://www.cnblogs.com/dream397/p/13623000.html