06-27-2016, 09:43 PM
http://askubuntu.com/questions/184217/wh...s-to-10-20
I would advise reading the info at that link before messing with swappiness, I've found on a system with only 1GB of RAM it made absolutely ZERO difference to performance in normal circumstances and when the system was under heavy load it actually made performance worse, most likely because the point at which it swapped to free up some memory cache had changed.
From the article:
If you reduce the swappiness, you let the amount of cache memory shrink a little bit more than it would otherwise, even when it may really be useful. You therefore risk slowing down your computer in general, because there is less cache, while memory is being taken up by applications that aren't even using it.
But each to their own, your machine your decision 8)
I would advise reading the info at that link before messing with swappiness, I've found on a system with only 1GB of RAM it made absolutely ZERO difference to performance in normal circumstances and when the system was under heavy load it actually made performance worse, most likely because the point at which it swapped to free up some memory cache had changed.
From the article:
If you reduce the swappiness, you let the amount of cache memory shrink a little bit more than it would otherwise, even when it may really be useful. You therefore risk slowing down your computer in general, because there is less cache, while memory is being taken up by applications that aren't even using it.
But each to their own, your machine your decision 8)