Skip to content

Commit 005673a

Browse files
1Naimptr1337
authored andcommitted
sysctl.d: Do not set net.ipv4.tcp_ecn
Historically, negotiating ECN for outgoing connections has caused problems. systemd has tried to enable it in the past [1], but it was quickly reverted due to said problems [2]. Now, we got reports of performance issues with webservers and VMs [3]. Let's stick to the defaults with this one [1] systemd/systemd@9194727 [2] systemd/systemd#9880 [3] https://discuss.cachyos.org/t/strange-performance-using-ansible-and-maybe-other-programs/6079 Signed-off-by: Eric Naim <[email protected]>
1 parent 52b54d7 commit 005673a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

usr/lib/sysctl.d/99-cachyos-settings.conf

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ kernel.kptr_restrict = 2
4141
# Disable Kexec, which allows replacing the current running kernel.
4242
kernel.kexec_load_disabled = 1
4343

44-
# TCP Enable ECN Negotiation for both outgoing and incoming connections
45-
net.ipv4.tcp_ecn = 1
46-
4744
# Increase netdev receive queue
4845
# May help prevent losing packets
4946
net.core.netdev_max_backlog = 4096

0 commit comments

Comments
 (0)