Archive for July, 2013

Ubuntu performance tweak

Posted: July 19, 2013 in Backtrack, Linux, Ubuntu

This is what you can do to increase your Ubuntu access speed and performance

1. Set swappiness to the allowed lowest value, usually the default value is 60

rumy@cbug-nest:~$ cat /proc/sys/vm/swappiness

2. Edit /proc/sys/vm/swappiness and change 60 to 10 (assuming RAM > 1 GB)

sudo pico /proc/sys/vm/swappiness
{change 60 to 10, save with [Ctrl] [O] [Enter], exit with [Ctrl] [X]}
cat /proc/sys/vm/swappiness

3. Edit /etc/sysctl.conf, and add vm.swappiness=10, vm.vfs_cache_pressure=50 to the end of file

sudo pico /etc/sysctl.conf
{move cursor to the end of file and then add this}

{Save with [Ctrl] [O] [Enter], exit with [Ctrl] [X]}

4. Reboot