Skip to content

Commit

Permalink
sysctl: Remove increased max connections
Browse files Browse the repository at this point in the history
According to [Arch Wiki](https://wiki.archlinux.org/title/Sysctl#Increase_the_maximum_connections) this only helps
on high-loaded servers. Desktops won't become high-loaded servers ever probably, so on the basis of that knowledge remove this.

If increasing this value does indeed has tangible benefits, I can revert this.

Signed-off-by: Eric Naim <[email protected]>
  • Loading branch information
1Naim committed Oct 24, 2024
1 parent a56399f commit 2045833
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 @@ -49,10 +49,6 @@ kernel.kptr_restrict = 2
# Disable Kexec, which allows replacing the current running kernel.
kernel.kexec_load_disabled = 1

# Increase the maximum connections
# The upper limit on how many connections the kernel will accept (default 4096 since kernel version 5.6):
net.core.somaxconn = 8192

# Enable TCP Fast Open
# TCP Fast Open is an extension to the transmission control protocol (TCP) that helps reduce network latency
# by enabling data to be exchanged during the sender’s initial TCP SYN [3].
Expand Down

0 comments on commit 2045833

Please sign in to comment.