Last active
July 12, 2019 14:55
-
-
Save eutialia/b419ac38757045680fc71ab64b01f65a to your computer and use it in GitHub Desktop.
some (hopefully useful) tcp kernel parameters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fs.file-max = 51200 | |
net.core.default_qdisc=fq | |
net.core.netdev_max_backlog = 4096 | |
net.core.rmem_default = 256960 | |
net.core.rmem_max = 256960 | |
net.core.somaxconn = 4096 | |
net.core.wmem_default = 256960 | |
net.core.wmem_max = 256960 | |
net.ipv4.tcp_base_mss = 1024 | |
net.ipv4.tcp_congestion_control=bbr | |
net.ipv4.tcp_fastopen=3 | |
net.ipv4.tcp_fin_timeout = 15 | |
net.ipv4.tcp_keepalive_intvl = 30 | |
net.ipv4.tcp_keepalive_probes = 5 | |
net.ipv4.tcp_keepalive_time = 1200 | |
net.ipv4.tcp_max_syn_backlog = 4096 | |
net.ipv4.tcp_mtu_probing = 1 | |
net.ipv4.tcp_sack = 0 | |
net.ipv4.tcp_syn_retries = 6 | |
net.ipv4.tcp_synack_retries = 3 | |
net.ipv4.tcp_syncookies = 1 | |
net.ipv4.tcp_timestamps = 0 | |
net.ipv4.tcp_tw_reuse = 1 | |
net.ipv4.tcp_window_scaling = 1 | |
net.netfilter.nf_conntrack_tcp_timeout_fin_wait=30 | |
net.netfilter.nf_conntrack_tcp_timeout_time_wait=30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment