The hacks presented in this guide will greatly improve the
overall
performance of your Ubuntu 8.04 Linux OS.
WARNING: Please
follow the instructions below very carefully, in the order in which
they are listed and reboot your machine after each one. It is also
possible to do them all at once, but rebooting after each one is much
safer. Why? Because if your system won't work properly at a certain
point of the tutorial, you'll know what's the last thing you did and
you can revert back to the initial configuration. I've applied all
these tweaks on three (3) different configurations (with SATA and IDE
hard drives) with success!
Step 1 - Boot
tweaks
Tweak One - Boot profile
Administration -> Login Window...
...input your password, go to the fifth tab ("Security"), check the
'Enable Automatic Login' option and choose your username from the
drop-down list.
That's
So what if Ubuntu is a fast operating system?... There is always room
for some more tweaking... and I am talking here about some aspects that
are NOT useful for the end-users (yes YOU, the regular Ubuntu user).
The hacks presented in this guide will greatly improve the overall
performance of your Ubuntu 8.04 Linux OS.
WARNING: Please
follow the instructions below very carefully, in the order in which
they are listed and reboot your machine after each one. It is also
possible to do them all at once, but rebooting after each one is much
safer. Why? Because if your system won't work properly at a certain
point of the tutorial, you'll know what's the last thing you did and
you can revert back to the initial configuration. I've applied all
these tweaks on three (3) different configurations (with SATA and IDE
hard drives) with success!
Step 1 - Boot tweaks
Tweak One - Boot profile
Administration -> Login Window...
...input your password, go to the fifth tab ("Security"), check the
'Enable Automatic Login' option and choose your username from the
drop-down list.
That's
it.
Close the window and reboot. You will notice that the system will
automatically log you in and remember that you've just
lost a few important seconds!<br/><br/>
Tweak One - Speed up your hard drive
The
following tweaks assume that you are using an ext3 filesystem for your
Ubuntu OS and they will offer a noticeable performance boost! However,
there is also a bad side of them... if you don't have an UPS and your
system will power off accidentally or because of a power loss, YOU WILL
LOSE IMPORTANT DATA!
Open a terminal (Applications -> Accessories ->
Terminal) and type:
CODE
sudo gedit
/etc/fstab
WARNING: The
following is just an example! Do NOT copy the lines into your
/etc/fstab file! Just REPLACE the options marked with underline
with the ones marked with bold!
See the following screenshot if you do not understand...
Save and close. Now type the following command in the terminal:
CODE
sudo gedit
/boot/grub/menu.lst
And add the following option...
rootflags=data=writeback
...to the end of the following lines:
# defoptions=quiet splash
# altoptions=(recovery mode) single
They must look like this...
Save and close, and paste the following command in the terminal:
CODE
sudo update-grub
Type now the following command in order to manually change your
filesystem "on-the-fly" into writeback.
CODE
sudo tune2fs -o
journal_data_writeback /dev/hda1
ATTENTION: Please note that /dev/hda1
is MY root (/) partition. If you have the root (/) partition in another
place (for example /dev/sda1 or /dev/sda2) change it accordingly.
Please look in /etc/fstab for this!
That's all, now reboot your system and when you get back, you should
feel an increased speed in video, image or audio usage.
Tweak Three - Concurrent booting
If
you have a dual-core processor or one that supports hyper-threading
then concurrent booting allows Ubuntu to take advantage of them. Just
open a console and type the following code:
CODE
sudo gedit
/etc/init.d/rc
and find the line CONCURRENCY=none and change it to:
CODE
CONCURRENCY=shell
Save, close and reboot your computer.
That
will be all for now. With these tweaks, your system should perform
better and boot faster.