Page 1 of 1

[SOLVED]how to add Swappiness to linux mint 18

Posted: Thu Jun 30, 2016 12:37 pm
by reptilezone2002
how do i change the Swappiness value in linux mint 18 64bit

Re: how to add Swappiness to linux mint 18

Posted: Thu Jun 30, 2016 1:07 pm
by don250r

Re: how to add Swappiness to linux mint 18

Posted: Thu Jun 30, 2016 4:37 pm
by Cosmo.
In short:
Open the file /etc/sysctl.conf with elevated rights. As we now have in LM 18 the x-apps, there is really no need to install another text-editor for that. Press alt-F2 and enter:

Code: Select all

gksudo xed /etc/sysctl.conf
Add the following line:

Code: Select all

vm.swappiness=10
Another question is, if this is really needed; on a rather current hardware with rather conventional use this is rather unlikely.

Re: how to add Swappiness to linux mint 18

Posted: Thu Jun 30, 2016 4:46 pm
by don250r
Yeah i forgot the link suggests leafpad, and out of habit i still use gedit:P
Thanks Cosmo :)
As to your question, I'm not sure if some of the other tips are needed anymore. :oops:

Re: how to add Swappiness to linux mint 18

Posted: Thu Jun 30, 2016 4:59 pm
by Cosmo.
I am sure, that there are some questionable (at best) advises. But this has already been discussed some time back, no need to repeat this now.