mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-29 06:29:36 +01:00
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:
parent
fd735465d5
commit
3c23a31d18
1
etc/sysctl.d/.gitignore
vendored
Normal file
1
etc/sysctl.d/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
99-sysctl.conf
|
3
etc/sysctl.d/99-ssd-swappiness.conf
Normal file
3
etc/sysctl.d/99-ssd-swappiness.conf
Normal 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
|
Loading…
Reference in New Issue
Block a user