3 ms·
It is indeed absurd, when swapping can be avoided entirely by setting kernel swappiness to 0: sysctl -w vm.swappiness=0 to make permanent, set vm.swappiness=0
by darkr 12y ago
It is indeed absurd, when swapping can be avoided entirely by setting kernel swappiness to 0:
sysctl -w vm.swappiness=0
to make permanent, set vm.swappiness=0 in /etc/sysctl.conf
Though for a desktop machine, disabling swap probably won't help improve performance
- dmm 12y agoThat's true, but this was a special circumstance where disabling swap was creating very bad system behavior.