Skip to main content
Topic: Swappiness (Read 639 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.


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.


Re: Swappiness

Reply #1
Just create this file

Re: Swappiness

Reply #3
Put it in either /etc/sysctl.d/ or /usr/lib/sysctl.d/.

The /etc/sysctl.conf is deprecated.

Re: Swappiness

Reply #5
Two questions:  What is swappiness?  and what is the function of sysctl.d