improvement: make network device backlog a little bigger

This commit is contained in:
Interduo 2023-02-13 10:35:04 +01:00 committed by GitHub
parent a58ce5cd0b
commit eb17946796
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,3 +186,15 @@ systemctl disable cloud-config iscsid cloud-final
```
cpupower frequency-set --governor performance
```
#Make bigger network backlog:
```
echo "net.core.netdev_budget=600" > /etc/sysctl.d/libreqos.conf
echo "net.core.netdev_max_backlog=300000" >> /etc/sysctl.d/libreqos.conf
sysctl --system
```
#Don't use swap so often
```
vm.swappiness=10
```