Linux Network Tuning


[TCP](https://texonom.com/tcp-df7eb3e975524c51802126a8e9c8b245) 
```typeecho "net.ipv4.tcp_window_scaling = 1net.core.somaxconn = 8096net.core.wmem_max = 16777216net.core.rmem_max = 16777216net.ipv4.tcp_fin_timeout = 60net.ipv4.tcp_tw_recycle = 1net.ipv4.tcp_tw_reuse = 1net.ipv4.tcp_mem = 8388608 12582912 16777216net.ipv4.tcp_wmem = 253952 253952 16777216net.ipv4.tcp_rmem = 253952 253952 16777216net.ipv4.udp_mem = 8388608 12582912    16777216net.core.rmem_default=253952net.core.wmem_default=253952">> /etc/sysctl.confulimit -SHn 65535```
### increase network limit
```typesysctl net.core.somaxconn=1024ifconfig eno1 txqueuelen 5000sysctl net.core.netdev_max_backlog=2000sysctl net.ipv4.tcp_max_syn_backlog=2048ifconfig eno1 down && ifconfig eno1 upsudo /etc/init.d/network restart```


> [CentOS TCP 성능 튜닝 - Apache 성능 최대화](https://chsoong.tistory.com/47)

> [리눅스 서버의 TCP 네트워크 성능을 결정짓는 커널 파라미터 이야기 - 3편 : TOAST Meetup](https://meetup.toast.com/posts/55)





