Ubuntu 11.10 performance tuning
I recently upgraded my netbook’s OS to Ubuntu 11.10 and noticed that it’s taking longer than usual to launch programs that I use quite often. For example, it takes 7-8 seconds to launch Google Chrome, about 4 seconds to open terminal. Here’s what I did to make the os run faster without investing with a SSD disk (My root partition is using ext4 fs, skip step 1 through 3 if you are using file systems other than ext3 or ext4):
1. Add the following bold part to the root partition line in /etc/fstab
tune2fs -o journal_data_writeback /dev/sda5
/dev/sda5 is the root partition.
3. change the following line in /etc/default/grub
(bold part is added)
4. Run update-grub
5. Add the following line to /etc/sysctl.conf
NOTE: all the above changes require root privileges.
The difference? It now takes about 3-4 seconds to launch Google Chrome from cold start.