From 38db9327bed71dd49fa759c44230f36ad916fa03 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 3 Apr 2025 16:02:16 -0400 Subject: [PATCH] switch to BBR for congestion control --- sysctl.d/local.conf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sysctl.d/local.conf b/sysctl.d/local.conf index af6a7b6..5b5e4eb 100644 --- a/sysctl.d/local.conf +++ b/sysctl.d/local.conf @@ -10,7 +10,10 @@ net.ipv6.conf.*.accept_redirects = 0 net.ipv4.conf.default.rp_filter = 0 net.ipv4.conf.*.rp_filter = 0 -net.ipv4.tcp_ecn = 1 +# use BBR and disable ECN since BBRv1 doesn't support it +net.ipv4.tcp_congestion_control = bbr +net.ipv4.tcp_ecn = 0 + net.ipv4.tcp_slow_start_after_idle = 0 net.ipv4.tcp_shrink_window = 1 net.ipv4.tcp_notsent_lowat = 131072