

41·
15 days agocat /proc/sys/vm/swappiness
Open /etc/sysctl.conf for editing:
sudo gedit /etc/sysctl.conf
Add vm.swappiness=10 at the end and save the file.
Reboot your system and check the swappiness value:
cat /proc/sys/vm/swappiness # 10


cat /proc/sys/vm/swappiness
Open /etc/sysctl.conf for editing:
sudo gedit /etc/sysctl.conf
Add vm.swappiness=10 at the end and save the file.
Reboot your system and check the swappiness value:
cat /proc/sys/vm/swappiness # 10
What Linux user wants either of those?
is there a “better” default than 60 these days on newer kernels (I’m on 6.17.0-20 at the moment)?