You are not logged in.

#1 2009-04-16 10:17:16

b4d
Member
From: Slovenia
Registered: 2008-07-06
Posts: 62
Website

Any tips for faster boot?

Hi, I'm looking to speed up my laptop's boot time, any suggestions?

bootchart.jpg

Offline

#2 2009-04-16 10:19:39

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Offline

#3 2009-04-16 10:20:02

jondkent
Member
From: London
Registered: 2005-09-13
Posts: 123

Re: Any tips for faster boot?

Check out this thread --> http://bbs.archlinux.org/viewtopic.php?id=69086&p=1

Netbook specific, but might give you ideas

Offline

#4 2009-04-16 11:22:00

uastasi
Member
From: Salento - Italy
Registered: 2007-11-27
Posts: 247

Re: Any tips for faster boot?

jondkent wrote:

Check out this thread --> http://bbs.archlinux.org/viewtopic.php?id=69086&p=1

Netbook specific, but might give you ideas

It is meant to work with notebooks too wink


Till the last battle, till the last bottle.
aur - twitter

Offline

#5 2009-04-16 12:22:18

EVRAMP
Member
From: Czech Republic
Registered: 2008-10-03
Posts: 173
Website

Re: Any tips for faster boot?

In your case DHCP and HAL takes the most of time (and there is also the least activity of your system).
Solution: Background HAL daemon in rc.conf and background network daemon (put @ before hal and network).
Static IP address is also faster then DHCP, but if you are happy with DHCP then backgrounding network saves a lot of time.

Offline

#6 2009-04-16 12:57:30

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Any tips for faster boot?

EVRAMP wrote:

In your case DHCP and HAL takes the most of time (and there is also the least activity of your system).
Solution: Background HAL daemon in rc.conf and background network daemon (put @ before hal and network).
Static IP address is also faster then DHCP, but if you are happy with DHCP then backgrounding network saves a lot of time.

Yep and probably a good idea to background all programs that are not depencies of other programs. I've background-ed ssh, hal, vsftpd, samba and some more.

Offline

#7 2009-04-16 15:08:12

colbert
Member
Registered: 2007-12-16
Posts: 809

Re: Any tips for faster boot?

What does it mean for the daemon to be "backgrounded"? I thnk I may have the wrong idea as I thought it to be for "less important" daemons, if you will. I have @ before a few of my daemons, here's mine from my rc.conf:

DAEMONS=(syslog-ng network portmap nfslock netfs @sensors @keytouch @openntpd sshd @lircd @crond alsa nfsd samba @timidity++ hal @vsftpd @noip mpd @cups gdm)

But I don't necessarily know if that makes sense or not? My boot is reasonably fast, never timed it but I only boot about once/month.

Offline

#8 2009-04-16 16:07:19

EVRAMP
Member
From: Czech Republic
Registered: 2008-10-03
Posts: 173
Website

Re: Any tips for faster boot?

colbert wrote:

What does it mean for the daemon to be "backgrounded"? I thnk I may have the wrong idea as I thought it to be for "less important" daemons, if you will. I have @ before a few of my daemons, here's mine from my rc.conf:

DAEMONS=(syslog-ng network portmap nfslock netfs @sensors @keytouch @openntpd sshd @lircd @crond alsa nfsd samba @timidity++ hal @vsftpd @noip mpd @cups gdm)

But I don't necessarily know if that makes sense or not? My boot is reasonably fast, never timed it but I only boot about once/month.

Background those daemons, you don't need to be started before other daemon starts. E.g. syslog-ng should not be backgrounded since it can log mistakes when other daemon fails to start. That is also the reason why it is listed as first daemon. In fact you can background everything.
Btw I wonder how many daemons you have.

Offline

#9 2009-04-16 16:08:22

Frots
Member
Registered: 2008-10-02
Posts: 57

Re: Any tips for faster boot?

If you boot it in the background, it means that it starts the daemon and continues to boot other daemons. So you will be able to load several daemons at once.

Last edited by Frots (2009-04-16 16:08:48)

Offline

#10 2009-04-16 16:10:49

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Any tips for faster boot?

The best tip yet : Search the forums. There are many threads on the topic.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#11 2009-04-16 18:37:39

gav616
Member
Registered: 2008-01-16
Posts: 182

Re: Any tips for faster boot?

Read the wiki (its there for you)
option that might appeal;
http://wiki.archlinux.org/index.php/Twe … _boot_time (beware hacking files that don't get updated is risky)
http://wiki.archlinux.org/index.php/Fas … the_kernel (make sure you know fully use '/etc/mkinitcpio.conf' before you start removing modules willy nilly)
http://wiki.archlinux.org/index.php/ABS (compile everything with your cpu type in mind)

I personally try not to reboot my box, soo if its 5 - 20 seconds in Udev, who cares?
i just tweak/hack my box until im happy with the stability and speed then i leave it to it. Arch is teh best! big_smile

Last edited by gav616 (2009-04-16 18:41:04)

Offline

Board footer

Powered by FluxBB