How do I permanently set a VM Swappiness in Linux?

How do I permanently set a VM Swappiness in Linux?
Answer
To make the change permanent:
  1. Edit /etc/sysctl.conf as root sudo nano /etc/sysctl.conf.
  2. Add the following line to the file: vm.swappiness = 10.
  3. Save the file using CTRL + X.
 

Tìm kiếm

Back
Top