This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tango-tsg-container/80-tfe.conf
2021-03-25 11:09:02 +08:00

33 lines
692 B
Plaintext

# read/write buffer
net.core.rmem_default = 256960
net.core.rmem_max = 256960
net.core.wmem_default = 256960
net.core.wmem_max = 256960
# disable rpfilter
net.ipv4.conf.all.rp_filter=0
net.ipv4.conf.default.rp_filter=0
# fs
fs.file-max=1048576
net.core.netdev_max_backlog=1000000
net.core.somaxconn=65535
# tcp options about TIME_WAIT
net.ipv4.tcp_fin_timeout=10
net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_max_tw_buckets=4096
net.ipv4.tcp_max_orphans=131072
net.ipv4.tcp_max_syn_backlog=131072
# bbr
#net.ipv4.tcp_congestion_control=bbr
# tcp feature
net.ipv4.tcp_ecn=0
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=1
# disable tcp windows scaling for kernel bugs
net.ipv4.tcp_window_scaling=0