etc/sysctl.d: add 99-ssd-swappiness.conf (and .gitignore)

The default 99-sysctl.conf doesn't have to be here, it's a symlink to
top directory anyway.
This commit is contained in:
Aminda Suomalainen 2022-06-13 17:20:40 +03:00
parent fd735465d5
commit 3c23a31d18
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 4 additions and 0 deletions

1
etc/sysctl.d/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
99-sysctl.conf

View File

@ -0,0 +1,3 @@
# Only use swap when it has to be used. On SSDs it's preferable to not have
# so much swap use, while on HDD the default 60 is ok.
vm.swappiness = 1