You are not logged in.

#1 2008-03-31 05:44:21

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Speeding Up Boot?

Arch Linux is already a pretty speedy distro and boots quite quickly. Is there a way to get it to boot any faster? Any ideas?

Offline

#2 2008-03-31 05:58:11

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Speeding Up Boot?

See wiki.

Offline

#3 2008-03-31 06:02:00

zio
Member
Registered: 2008-03-31
Posts: 30

Re: Speeding Up Boot?

1) custom kernel with all your hardware static compiled.
2) pacman -S preload and add it your rc.conf
3) pacman prelink and set it up
4) edit rc.conf and and @ infront of daemons to background them. make sure you know what should be backgrounded

Last edited by zio (2008-03-31 06:03:11)

Offline

#4 2008-03-31 06:05:48

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Re: Speeding Up Boot?

Thanks. How do I know what should be backgrounded? Also, what's the deal with prelink? I hear it's risky to use.

Offline

#5 2008-03-31 06:17:02

zio
Member
Registered: 2008-03-31
Posts: 30

Re: Speeding Up Boot?

prelink basically records the dynamic links needed by an executable and embeds it.. speeding it up. it only breaks when underlying libraries are upgraded and prelink is not run. Its very effective for KDE and GNOME and apps that are linked against alot of libraries

Offline

#6 2008-03-31 06:24:54

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Re: Speeding Up Boot?

zio wrote:

prelink basically records the dynamic links needed by an executable and embeds it.. speeding it up. it only breaks when underlying libraries are upgraded and prelink is not run. Its very effective for KDE and GNOME and apps that are linked against alot of libraries

So how exactly do I prevent this breakage? Is there any disadvantage to prelink?

Offline

#7 2008-03-31 07:09:16

zio
Member
Registered: 2008-03-31
Posts: 30

Re: Speeding Up Boot?

disadvantage are some binaries slow down if there not re-prelinked, after the libraries it depends on are updated or changed. as long as you run prelink say after you do a system update, performance wont degrade.

Last edited by zio (2008-03-31 07:10:16)

Offline

#8 2008-03-31 12:12:49

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Re: Speeding Up Boot?

zio wrote:

disadvantage are some binaries slow down if there not re-prelinked, after the libraries it depends on are updated or changed. as long as you run prelink say after you do a system update, performance wont degrade.

But is there a chance that it could totally mess up my system?

Offline

#9 2008-03-31 21:27:38

henriknj
Member
Registered: 2006-05-11
Posts: 4

Re: Speeding Up Boot?

Consider fs-fcache, if it still works.
and btw, it isn't necessary to use prelinking anymore.

Last edited by henriknj (2008-03-31 21:27:54)

Offline

#10 2008-03-31 21:31:29

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Re: Speeding Up Boot?

henriknj wrote:

Consider fs-fcache, if it still works.
and btw, it isn't necessary to use prelinking anymore.

Let's say I want my programs to run faster, prelink is still good, right? I'll try fs-fcache.

Offline

#11 2008-03-31 21:32:39

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Re: Speeding Up Boot?

Is it already included in the kernel?

Offline

Board footer

Powered by FluxBB