Page 1 of 1

Speed up your Desktop and the boot-process

Posted: Wed Apr 23, 2008 8:00 pm
by walker
You can speed up the start of applications (which is imho a significant boost - at least on my machine all is 2-3times faster!!) by installing prelink

simply

Code: Select all

sudo apt-get install prelink
then edit

Code: Select all

sudo gedit /etc/default/prelink 
and change the line

Code: Select all

PRELINKING=unknown
to

Code: Select all

PRELINKING=yes
search the line

Code: Select all

PRELINK_OPTS=-mR
and change it to

Code: Select all

PRELINK_OPTS=-avmfR
save the file and the type

Code: Select all

sudo /etc/cron.daily/prelink 
and wait a while till it's finished
DONE

Now you will have a performance boost while loding applications (i.e firefox, openoffice and so on...)

if you want to speed up the boot process, you can add the word profile to the end of the line your grub bootloader shows at startup (graphical bootloader) else hit the appropriate key (sometimes F2) on your machine to add this argument to the list
(this time the boot process is a little slower but from the next boot on it will be faster)

enjoy your faster machine 8)

Posted: Wed Apr 23, 2008 8:55 pm
by Trond
If it's that great, why doesn't everyone use it? And what is your startup speed in seconds before and after?

Posted: Wed Apr 23, 2008 9:58 pm
by walker
Trond wrote:If it's that great, why doesn't everyone use it? And what is your startup speed in seconds before and after?
about the startup speed.. it's around 10 to 15 seconds faster on my machine (Pentium D 2 core 2.66GHz)... but this depends mainly on the machine (cpu) and what is done during startup ...

about prelink... dunno why it isn't used by default.... maybe it isn't suitable for every machine or does not work on every Distro.... :roll:
I'm using Linux Mint which is based on Ubuntu with Gnome as Desktop (and at present I'm evaluating XFCE and LXDE ... these both are much faster than Gnome) and it works great...

Posted: Thu Apr 24, 2008 6:23 pm
by remi_meier
Well I found a good German link on this:
http://wiki.ubuntuusers.de/Prelink
It says the risk is that if you have too little HD space left, it can destroy
your executables :wink: