Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various sysctl cleanups #107

Merged
merged 6 commits into from
Nov 26, 2024
Merged

Various sysctl cleanups #107

merged 6 commits into from
Nov 26, 2024

Commits on Oct 24, 2024

  1. sysctl: Remove fs.inotify.max_user_watches

    This is already set by Arch via `/usr/lib/sysctl.d/10-arch.conf` from the `filesystem` package.
    
    Signed-off-by: Eric Naim <[email protected]>
    1Naim committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    a56399f View commit details
    Browse the repository at this point in the history
  2. sysctl: Remove increased max connections

    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]>
    1Naim committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    2045833 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2024

  1. sysctl: Do not set TCP Congestion Control Algorithm

    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]>
    1Naim committed Nov 22, 2024
    Configuration menu
    Copy the full SHA
    27bba8c View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. sysctl: Set vm.vfs_cache_pressure

    Signed-off-by: Eric Naim <[email protected]>
    1Naim committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    b27201f View commit details
    Browse the repository at this point in the history
  2. sysctl: Remove vm.dirty_expire_centisecs

    This has always been commented. Even if not, the value set is the same as the kernel default. Unless we want
    to tweak the value, keeping this here is redundant.
    
    Signed-off-by: Eric Naim <[email protected]>
    1Naim committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    c6bf4d5 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2024

  1. sysctl: Remove net.ipv4.tcp_syncookies

    This is the default value. No reason to enforce a default, especially if its in a package where it can be
    overrided anyway from /etc or from cmdline.
    
    Signed-off-by: Eric Naim <[email protected]>
    1Naim committed Nov 26, 2024
    Configuration menu
    Copy the full SHA
    bcea097 View commit details
    Browse the repository at this point in the history