Sunday, July 15, 2012

Ubuntu swappiness. Improve ubuntu performance


Ubuntu swappiness. Improve ubuntu performance. vm.swappiness=10. sysctl.conf
If you are looking to squeeze every last bit of performance out of Ubuntu, you can change swappiness value. Swappiness can have a value between 0 and 100. A recommended setting for swappiness is 10.

By adding swappiness=10 to the sysctl.conf file, you will see quite an improvement in Ubuntus performance. To add this please follow the instructions.

Open your terminal and enter the following command:

sudo gedit /etc/sysctl.conf
If you are using Kubuntu swap gedit for kate.
sudo kate /etc/sysctl.conf
You will be prompted to enter your root password. After entering your password the sysctl.conf file will appear. Scroll to the bottom of the file and add the following code.
vm.swappiness=10
Save the file. Next time you reboot you should see an improvement in Ubuntu's performance. Here is a screenshot of the sysctl.conf file

 



http://www.techheadz.co.uk/219.html

No comments:

Post a Comment