Conversation
Reduce use of the swap space. Based on https://easylinuxtipsproject.blogspot.com/p/swappiness.html
| # Reduce swappiness # | ||
| ##################### | ||
|
|
||
| echo "#Decrease swap usage to a more reasonable level\nvm.swappiness=10" >> /etc/sysctl.conf |
There was a problem hiding this comment.
What is swappiness, and why are we decreasing it? Given that Mint is meant to be an OS that the less technically inclined can install themselves, I highly doubt the mint devs deliberately set this to a terrible value. Given that, I would not recommend changing it unless you know why our situation is different than that of the average user that the mint team is expecting.
There was a problem hiding this comment.
Looks like I was wrong. The ubuntu help website recommends a value of 60 for servers yet has left the default at 60 for desktop installs of the OS for god knows what reason. I wish ubuntu/mint performed well outside of the box and didn't require tribal knowledge about settings like swappiness to achieve optimal performance, especially considering their target audience is the less technically inclined. https://help.ubuntu.com/community/SwapFaq#What_is_swappiness_and_how_do_I_change_it.3F
Reduces use of the swap space.
Based on this article, found by FreeGeek volunteer Clayton.