Reduce swappiness to 10 — tell the kernel to prefer RAM over swap
Sets swappiness immediately without a reboot. Add 'vm.swappiness=10' to /etc/sysctl.conf to make it permanent. Lower swappiness improves application response time by avoiding disk-based swap usage.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.