aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/etc/sysctl.d
diff options
context:
space:
mode:
Diffstat (limited to 'etc/sysctl.d')
-rw-r--r--etc/sysctl.d/99-sysctl.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/etc/sysctl.d/99-sysctl.conf b/etc/sysctl.d/99-sysctl.conf
new file mode 100644
index 0000000..c6fde05
--- /dev/null
+++ b/etc/sysctl.d/99-sysctl.conf
@@ -0,0 +1,19 @@
+kernel.sysrq = 1
+kernel.dmesg_restrict = 0
+kernel.yama.ptrace_scope = 0
+kernel.perf_event_paranoid = 0
+net.core.netdev_max_backlog = 16384
+net.core.somaxconn = 8192
+net.ipv4.tcp_fastopen = 3
+net.ipv4.tcp_max_syn_backlog = 8192
+net.ipv4.tcp_max_tw_buckets = 2000000
+net.ipv4.tcp_tw_reuse = 1
+net.ipv4.tcp_fin_timeout = 10
+net.ipv4.tcp_slow_start_after_idle = 0
+net.ipv4.tcp_keepalive_time = 60
+net.ipv4.tcp_keepalive_intvl = 10
+net.ipv4.tcp_keepalive_probes = 6
+net.ipv4.tcp_mtu_probing = 1
+net.core.default_qdisc = cake
+net.ipv4.tcp_congestion_control = bbr
+vm.vfs_cache_pressure = 50