Any comments on which settings you use and why? Use
sysctl -a to see current settings. The Arch wiki has a number of suggested optimizations.
I like having all magic keys (
kernel.sysrq = 1) and making use of lots of RAM without swapping (
vm.swappiness = 1,
vm.vfs_cache_pressure = 60). The Arch wiki has many more suggestions, especially for network settings.
Considering how easy it is to change settings, without even rebooting (just
sudo sysctl --system), it’s tempting to experiment. For example, it’s easy to copy suggestions into
/etc/sysctl.d/90-override.conf and therefore also have an easy way to undo any changes by uncommenting entries or deleting the override file.