vm.swappiness=1 - set swapiness to lowest setting - still useful? (swappiness-lowest)

If one can afford to run without any swap, if one can afford to buy enough RAM, assign enough RAM to host and VMs, and doesn’t require any swap then of course this is preferred.

However, swap cannot be avoided for all users in all cases, see swap - swap file - Whonix-Gateway freezing during apt-get dist-upgrade - encrypted swap-file-creator.

Therefore even if the suggestion to not use swap makes a lot sense an answer for this forum thread would still be desirable.

2 Likes