Alright, so I've been having trouble with the default value of swappniess (60) making life a living hell (which is probably another problem that needs to be sorted out, but currently cannot be until swappiness gets out of the way). I try setting it down to 10 and even 0 with:
sudo sysctl vm.swappiness=0
but as soon as I turn the system back on, swappiness is right back at 60 and my system is defaulting to using swap for everything until I die of old age at the iowait hangup (like I said, I know swappiness isn't the chief culprit, but I can't operate with it in the room). So, how do I solve it? I've heard that I can supposedly add in "vm.swappiness = 0" to sysctl.conf, but I'm really not sure how to add it in in order to make it both stay and not have the computer blow up. (like, is there a specific place in there I need? Do I tack it onto the end? Do I preface it with a #?)
So, basically, I don't need the classic and easy to find answer of "how to lower swappiness," I need the annoyingly necessary answer of "how to keep it lowered."
Running Ubuntu 15.10, in case that helps.