Skip to content

Instantly share code, notes, and snippets.

@michaelact
Last active July 10, 2023 05:29
Show Gist options
  • Save michaelact/f2a280c29ddb802e00c46b964d32b5fe to your computer and use it in GitHub Desktop.
Save michaelact/f2a280c29ddb802e00c46b964d32b5fe to your computer and use it in GitHub Desktop.
[Netflix] Network Kernel Tuning
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_max_syn_backlog = 8192
net.core.somaxconn = 1024
net.core.netdev_max_backlog = 5000
net.ipv4.tcp_congestion_control = bbr
net.ipv4.tcp_tw_reuse = 1
net.core.default_qdisc = fq
net.ipv4.ip_local_port_range = 10240 65535
net.ipv4.tcp_abort_on_overflow = 1
net.ipv4.tcp_rmem = 4096 12582912 16777216
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.tcp_syn_retries = 2
net.ipv4.tcp_wmem = 4096 12582912 16777216
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment