haute performance

This commit is contained in:
gcolpart 2018-10-11 01:50:04 +02:00
parent d414a88308
commit 451e5d4d99

View file

@ -294,6 +294,17 @@ On désactive/stop networkd et on relance le service networking :
# systemctl stop systemd-networkd.service; systemctl disable systemd-networkd.service; systemctl restart networking
~~~
## Haute Performance
Optimisations pour la haute performance :
* conntrack -L ; net.nf_conntrack_max=262144
* net.core.somaxconn=1024
* tcp_max_syn_backlog=1024
* net.ipv4.tcp_tw_reuse=1, net.ipv4.tcp_fin_timeout=30, net.ipv4.ip_local_port_range="2000 65000"
* relire <https://vincent.bernat.ch/fr/blog/2014-tcp-time-wait-state-linux>
## FAQ
### Bascule réseau à chaud