Skip to content

Instantly share code, notes, and snippets.

View xtrafrancyz's full-sized avatar
💙
I make the Internet better since 2012

Dmytro Manchynskyi xtrafrancyz

💙
I make the Internet better since 2012
View GitHub Profile
@xtrafrancyz
xtrafrancyz / sysctl.conf
Created December 25, 2018 17:16
High-performance sysctl config for a very limited server
net.ipv4.tcp_fastopen = 3
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_keepalive_time = 60
net.ipv4.tcp_keepalive_intvl = 10
net.ipv4.tcp_keepalive_probes = 3
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.tcp_max_syn_backlog = 4096
net.ipv4.tcp_synack_retries = 2
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_sack = 1