umbrel
umbrel copied to clipboard
Set vm.swappiness to 1?
I think it should be preferable to configure the kernel to avoid swapping unless necessary. For low memory machines like the raspberry Pi, this can have a positive impact on performance.
This is done by setting vm.swappiness = 1 in /etc/sysctl.conf
https://askubuntu.com/questions/103915/how-do-i-configure-swappiness