... | ... | @@ -18,9 +18,9 @@ Second, we optimize the Ethernet using ethtool (`sudo apt install ethtool`): |
|
|
Assuming that your interface is `eth0`, perform the following commands:
|
|
|
|
|
|
```bash
|
|
|
$ ethtool –A eth0 autoneg off rx off tx off
|
|
|
$ ethtool –G eth0 rx 4096 tx 4096
|
|
|
$ ethtool –C eth0 rx-usecs 3
|
|
|
$ ethtool -A eth0 autoneg off rx off tx off
|
|
|
$ ethtool -G eth0 rx 4096 tx 4096
|
|
|
$ ethtool -C eth0 rx-usecs 3
|
|
|
$ ifconfig eth0 txqueuelen 1000
|
|
|
```
|
|
|
Finally, we shall increase kernel socket buffer as follows:
|
... | ... | |