Changing swappiness in sysctl.conf doesn't work for me

Posted by Graham on Ask Ubuntu See other posts from Ask Ubuntu or by Graham
Published on 2012-09-24T03:02:29Z Indexed on 2012/09/24 3:50 UTC
Read the original article Hit count: 388

Filed under:
|

I'm using 12.04 LTS and can sudo sysctl to set swappiness to 10, but adding vm.swappiness=10 to sysctl.conf doesn't work for me - after I reboot, swappiness still reports 60 (default)

I'd like to be able to reduce swaps to my SSD, but can't find a way to do so except manually per session. Modifying sysctl.conf seems to work for most - can anyone advise what I need to check / change to make it work for me too, please?

© Ask Ubuntu or respective owner

Related posts about swap

Related posts about system-settings