Found this today and implemented it. We’ll see the results.
For the purpose of (my) safety I’m copying the main things below. Do visit the link below for full explanation.
1. Moto
“Screw data. Prioritize code.”
2. Tuning swappiness to prevent impromptu RAM hijacking
To tune swappiness, run as root:
sysctl -w vm.swappiness=1To make the change permanent, write
vm.swappiness=1on your/etc/sysctl.conffile.
3. Filesystem caches are more important than other caches
How to tell Linux that we want it to prefer inode/dentry cache to other caches?
sysctl -w vm.vfs_cache_pressure=100
To make the change permanent, putvm.vfs_cache_pressure=50on your/etc/sysctl.conffile.
Tales from responsivenessland: why Linux feels slow, and how to fix that

