This site is moved to other domain!

You should be automatically redirected in 9 seconds. If not, visit
http://www.detector-pro.com
and update your bookmarks.

Tuesday, February 10, 2009



Stumble Upon Toolbar
written by: Viktor Ustijanoski in
[] [] []

Speed up your Ubuntu


Don't want to miss a single bit? Subscribe to our RSS Feed!


Most Linux distributions use swap file to extend the amount of available RAM by writing some of it to your hard drive. Hard drives are slow, most modern computers come with more than 1GB ram as standard and Ubuntu is using 60% of the RAM by default. You can check it with next terminal command:

cat /proc/sys/vm/swappiness
So we can configure Ubuntu to use more faster RAM memory and less hard drive. The Linux kernel provides a tweakable setting that controls how often the swap file(hard disk) is used, called swappiness. To change the system swappiness value, press alt+f2 and enter “gksudo nautilus” without qouotes. Then open /etc/sysctl.conf and change or add this line to the file:

NOTE: IF YOU HAVE MORE RAM, 2GB FOR EXAMPLE, YOU CAN USE LOWER VALUES

vm.swappiness=40
Reboot for the change to take effect.

You can also change the value while your system is still running:
sudo sysctl vm.swappiness=40
to clear your alredy made swap file and use new settings without rebooting use this commands:
sudo swapoff -a
sudo swapon -a
Enjoy in your faster Ubuntu experience.




Subscribe to DetectorProDid you enjoy this post? Why not leave a comment below and continue the conversation, or Subscribe to Feed and get articles like this delivered automatically to your Email or feed reader.



Related articles by tags



1 comments:

Sudipto Sarkar (Xtreme) said...

Nice work there...
But your work rather concentrates on not using swap.
Here's my article about speeding up Ubuntu by installing Xubuntu in an existing Ubuntu installation:
http://opensourcethefuture.blog.co.in/2009/03/02/speed-up-ubuntu