From 615c81e7709771d99cddb2ed8853966ab2b4ac11 Mon Sep 17 00:00:00 2001 From: damachine Date: Sun, 7 Dec 2025 00:25:41 +0100 Subject: [PATCH 1/2] feat: Configure Qdisc and enable BBR for TCP Added settings for Qdisc and TCP congestion control. Without both settings, BBR3 won't be used even with the kernel patch applied. Reports here: https://discuss.cachyos.org/t/bbr3-not-working/12908 --- usr/lib/sysctl.d/70-cachyos-settings.conf | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr/lib/sysctl.d/70-cachyos-settings.conf b/usr/lib/sysctl.d/70-cachyos-settings.conf index 15b1085..8a512f7 100644 --- a/usr/lib/sysctl.d/70-cachyos-settings.conf +++ b/usr/lib/sysctl.d/70-cachyos-settings.conf @@ -42,5 +42,10 @@ kernel.kptr_restrict = 2 # May help prevent losing packets net.core.netdev_max_backlog = 4096 +# Set Qdisc to fq (Fair Queue) +net.core.default_qdisc = fq +# Enable BBR as TCP Congestion Control +net.ipv4.tcp_congestion_control = bbr + # Set size of file handles and inode cache fs.file-max = 2097152 From d515d095bfe2e4d5d41d4f8e3ef6b4462d184230 Mon Sep 17 00:00:00 2001 From: damachine Date: Sat, 13 Dec 2025 03:25:12 +0100 Subject: [PATCH 2/2] Change default Qdisc to fq_codel Updated default Qdisc to fq_codel for better performance. https://github.com/amefs/quickbox-lite/pull/236 --- usr/lib/sysctl.d/70-cachyos-settings.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/lib/sysctl.d/70-cachyos-settings.conf b/usr/lib/sysctl.d/70-cachyos-settings.conf index 8a512f7..f81e4e4 100644 --- a/usr/lib/sysctl.d/70-cachyos-settings.conf +++ b/usr/lib/sysctl.d/70-cachyos-settings.conf @@ -42,8 +42,8 @@ kernel.kptr_restrict = 2 # May help prevent losing packets net.core.netdev_max_backlog = 4096 -# Set Qdisc to fq (Fair Queue) -net.core.default_qdisc = fq +# Set Qdisc (Fair Queue) +net.core.default_qdisc = fq_codel # Enable BBR as TCP Congestion Control net.ipv4.tcp_congestion_control = bbr