How do I change swappiness on an runit artix install? - /etc/sysctl.conf doesn't exist.
Swappiness is set to 60 which is standard, but I have an ssd and a large amount of ram, so it should be set to 10 or below to prevent disk wear.
TIA
Just create this file
You know I thought about doing that, but then thought again, no it can't be that easy, but it was!
Thanks
Put it in either /etc/sysctl.d/ or /usr/lib/sysctl.d/.
The /etc/sysctl.conf is deprecated.
Thanks artoo, I did that and it still works.
Two questions: What is swappiness? and what is the function of sysctl.d
Swappiness (https://en.wikipedia.org/wiki/Paging#Swappiness)
sysctl.d (http://man7.org/linux/man-pages/man5/sysctl.d.5.html)
To avoid heart-attack follow man pages of your Artix.
man sysctl
man sysctl.conf