Speed up your Desktop and the boot-process

Linux specific forum
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Speed up your Desktop and the boot-process

Post 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)
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

If it's that great, why doesn't everyone use it? And what is your startup speed in seconds before and after?
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post 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...
remi_meier
Enthusiast
Enthusiast
Posts: 468
Joined: Sat Dec 20, 2003 6:19 pm
Location: Switzerland

Post 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:
Athlon64 3700+, 1024MB Ram, Radeon X1600
Post Reply