Swappiness 24 August 2019, 16:53:02 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
Re: Swappiness Reply #2 – 24 August 2019, 21:09:37 Quote from: phoenix_king_rus – on 24 August 2019, 18:12:06Just create this fileYou know I thought about doing that, but then thought again, no it can't be that easy, but it was! Thanks
Re: Swappiness Reply #3 – 25 August 2019, 11:08:35 Put it in either /etc/sysctl.d/ or /usr/lib/sysctl.d/.The /etc/sysctl.conf is deprecated.
Re: Swappiness Reply #4 – 25 August 2019, 12:02:42 Quote from: artoo – on 25 August 2019, 11:08:35Put 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.
Re: Swappiness Reply #5 – 27 August 2019, 21:47:01 Two questions: What is swappiness? and what is the function of sysctl.d
Re: Swappiness Reply #6 – 28 August 2019, 12:56:06 Quote from: mrbrklyn – on 27 August 2019, 21:47:01Two questions: What is swappiness?SwappinessQuote from: mrbrklyn – on 27 August 2019, 21:47:01and what is the function of sysctl.dsysctl.d
Re: Swappiness Reply #7 – 30 August 2019, 20:10:43 Quote from: Everyone – on 28 August 2019, 12:56:06sysctl.dTo avoid heart-attack follow man pages of your Artix.Code: [Select]man sysctlman sysctl.conf 1 Likes