After upgrading to Feisty my ubuntu was very slow. So I googled again.:)
I found this post: Feisty performance - Fly like a butterfly.
And it worked! So I summarize the steps I made:
1. Disable IPv6
Edit /etc/modprobe.d/aliases and change the line:
alias net-pf-10 ipv6to
alias net-pf-10 off #ipv6
2. Run boot processes in parallel
Edit /etc/init.d/rc and change:
3. Aliasing hostname to localhost
Modify /etc/hosts's first two line as follows:
127.0.0.1 localhost yourhostwhere yourhost, is your chosen hostname. This will fasten up applications load.
Preload is an adaptive readahead daemon. It monitors applications that users run, and by analyzing this data, predicts what applications users might run, and fetches those binaries and their dependencies into memory for faster startup times.
sudo apt-get install preload
Let's use swap less frequent. It will faster switching between applications.
sudo sysctl vm.swappiness=10And edit /etc/sysctl.conf and add the line at the end of the file to set it automatically at boot time:
7. Profile grub
Grub cap profile your startup, it's a kind of index on file read at boottime, so after the first time (when it builds the index) it will access those files faster.
Edit /boot/grub/menu.lst and place "profile" at every line's end witch is starting with "kernel /vlminuz..."
UPDATE: remove if after the next boot.
8. Speed up your HDD
Install hdparm with
sudo apt-get install hdparmand enable 32 bit IO and UDMA if it wasn't before with:
hdparm -c3 -d1 /dev/yourdevicewhere /dev/yourdevice is your HDD.
And to make it persistent you also need to edit /etc/hdparm.conf, and make it run at every startup, so you have to enable the "Hard disk tuning (hdparm)" service with System->Administration->Services.
That's all, in the blog mentoined at the begining of this post there a few more, but a normal user these sould enough and fasten ubuntu notable.
And a hint from me: If you have so much applets and programs on your upper panel, that you haven't got any space left, it's time to purge some to gain memory!:)