Skip to content

Commit

Permalink
sysctl: Do not set TCP Congestion Control Algorithm
Browse files Browse the repository at this point in the history
We already have this set in the kernel, and having a duplicate here can cause instances when users want to test
the default algorithm in another kernel, but will still have BBR set.

Signed-off-by: Eric Naim <[email protected]>
  • Loading branch information
1Naim authored and ptr1337 committed Nov 26, 2024
1 parent c7b17dc commit dcfd372
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions usr/lib/sysctl.d/99-cachyos-settings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,6 @@ kernel.kexec_load_disabled = 1
# Using the value 3 instead of the default 1 allows TCP Fast Open for both incoming and outgoing connections:
net.ipv4.tcp_fastopen = 3

# Enable BBR3
# The BBR3 congestion control algorithm can help achieve higher bandwidths and lower latencies for internet traffic
net.ipv4.tcp_congestion_control = bbr

# TCP SYN cookie protection
# Helps protect against SYN flood attacks. Only kicks in when net.ipv4.tcp_max_syn_backlog is reached:
net.ipv4.tcp_syncookies = 1
Expand Down

0 comments on commit dcfd372

Please sign in to comment.