Making Bodhi Linux faster.

We've been here before with Linux Mint 12 (codename Lisa), it turns out that by editing code inputted a bit, we can use the same procedure to reduce the swappiness of Bohdi.

First we'll need to check the current swappiness value;
Applications> Accessories >LXTerminal
Paste the following into the terminal window;
cat /proc/sys/vm/swappiness
Press enter.

Most likely the swappiness will be set to 60, and while this may be great for servers its just unnecessary for the average home user.

To reduce the swappiness value;
Copy/paste the following into the terminal window;
gksudo leafpad /etc/sysctl.conf
Press enter.

Scroll to the bottom of the text file and add these lines to overwrite the default swappiness parameters;
#
# Decrease swap usage to a workable level
vm.swappiness=10
Close the text file and reboot your computer.

After rebooting, check to see if the swappiness has changed by entering the following into terminal;
cat /proc/sys/vm/swappiness
Press enter.

Your swappiness should now be set to 10.

Note: Some computers may benefit from an even bigger reduction in swappiness. A useful rule is;
1 GB RAM or more: swappiness at 20
Less than 1 GB RAM: swappiness at 1

0 comments :: Making Bodhi Linux faster.

Post a Comment