See what the max value of the interface is, using eth0 as an example:
The following is a sample output:
# ethtool -g eth0
The following is a sample output:
Ring parameters for eth0: Pre-set maximums: RX: 1024 RX Mini: 0 RX Jumbo: 0 TX: 1024 Current hardware settings: RX: 256 RX Mini: 0 RX Jumbo: 0 TX: 256
In this example, 1024 is the maximum RX and TX buffer size for this particular driver, and the current buffer size is 256.
Run this command to make the change on the fly:
Run this command to make the change on the fly:
# ethtool -G eth0 rx 1024 tx 1024
To make the change permanent, add the following entry to the bottom of
/etc/rc.d/rc.local
start-up script:ethtool -G eth0 rx 1024 tx 1024
Post a Comment