Adjusting the Ring Buffer
Purpose
The Hi1822 NIC ring buffer supports a maximum value of 4096. The default value is 1024. You can increase the value to increase the size of the NIC ring buffer.
Procedure
- Check the default size of the ring buffer, assuming that the current NIC name is enp131s0.
1ethtool -g enp131s0

- Change the value of the ring buffer size to 4096.
1ethtool -G enp131s0 rx 4096 tx 4096
- Check whether the value of the ring buffer size is updated successfully.
1ethtool -g enp131s0

Parent topic: Hardware Tuning