From faeb62de77f0039c03ad71ea3a4e4ca6b7e2ab88 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Mon, 20 Nov 2023 21:49:55 +0900 Subject: [PATCH] Update README.md --- README.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/README.md b/README.md index d27e660..bb5d89a 100644 --- a/README.md +++ b/README.md @@ -225,6 +225,30 @@ net.ipv4.tcp_wmem = 4096 16384 536870912 net.ipv4.tcp_adv_win_scale = -2 net.ipv4.tcp_collapse_max_bytes = 6291456 net.ipv4.tcp_notsent_lowat = 131072 + net.ipv4.ip_local_port_range = 1024 65535 +net.core.rmem_max = 536870912 +net.core.wmem_max = 536870912 +net.core.somaxconn = 32768 +net.core.netdev_max_backlog = 32768 +net.ipv4.tcp_max_tw_buckets = 65536 +net.ipv4.tcp_abort_on_overflow = 1 +net.ipv4.tcp_slow_start_after_idle = 0 +net.ipv4.tcp_timestamps = 1 +net.ipv4.tcp_syncookies = 0 +net.ipv4.tcp_syn_retries = 3 +net.ipv4.tcp_synack_retries = 3 +net.ipv4.tcp_max_syn_backlog = 32768 +net.ipv4.tcp_fin_timeout = 15 +net.ipv4.tcp_keepalive_intvl = 3 +net.ipv4.tcp_keepalive_probes = 5 +net.ipv4.tcp_keepalive_time = 600 +net.ipv4.tcp_retries1 = 3 +net.ipv4.tcp_retries2 = 5 +net.ipv4.tcp_no_metrics_save = 1 +net.ipv4.ip_forward = 1 +fs.file-max = 104857600 +fs.inotify.max_user_instances = 8192 +fs.nr_open = 1048576 to optimize the network environments of high latency and low bandwidth.