You are not logged in.

#1 2008-05-03 23:41:37

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Daemons line

Here's my daemons line in the rc.conf:

DAEMONS=(syslog-ng net-profiles network firestarter netfs portmap fam dbus hal crond alsa sensors mysqld)

Are there any I can make start in the background or that are unnecessary?  Also, what are netfs and crond?

Last edited by Gauvenator (2008-05-03 23:42:08)

Offline

#2 2008-05-03 23:45:29

depp
Member
From: Ulm, Germany
Registered: 2007-05-01
Posts: 51

Re: Daemons line

Here is mine:

DAEMONS=(syslog-ng !network !netfs crond hal @alsa @net-profiles @fam @cpufreq @ntpd @mpd @sshd)

Offline

#3 2008-05-04 01:04:14

muunleit
Member
From: Germany
Registered: 2008-02-23
Posts: 234

Re: Daemons line

Gauvenator wrote:

... Also, what are netfs and crond?

crond => Cron-Daemon (Link_to_Wikipedia)
netfs => Daemon needed to mount net-filesystems


"The mind can make a heaven out of hell or a hell out of heaven" -- John Milton

Offline

#4 2008-05-04 03:45:34

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: Daemons line

OK I've been toying with it and now it's like this:

DAEMONS=(syslog-ng net-profiles !network firestarter !netfs portmap fam dbus hal crond @mysqld @alsa @sensors)

It doesn't make a difference over the same thing without the ! and @.  Both boot 26s according to bootchart.

Anything else I should try?  Can I @crond safely?

Offline

#5 2008-05-04 04:03:53

venox
Member
From: Curitiba, Brazil
Registered: 2003-08-23
Posts: 137
Website

Re: Daemons line

Gauvenator wrote:

... Can I @crond safely?

Yes. AFAIK you can put fam, dbus and hal on the background too.

Offline

#6 2008-05-04 04:53:37

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: Daemons line

Backgrounding crond, fam, dbus and hal got it down to 24s.  The slowest part is net-profiles....it takes several seconds to turn the wireless on.

Offline

#7 2008-05-04 06:03:19

Demind
Member
Registered: 2007-07-10
Posts: 111

Re: Daemons line

Except from syslog-ng i have all my daemons in background...no problems at all.Never.
Am I Lucky? smile

Offline

#8 2008-05-04 10:55:22

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Daemons line

try @syslog-ng @net-profiles !network @firestarter !netfs @portmap @fam @hal @crond @mysqld @alsa @sensors

hal starts dbus if its not started and i dont think theres a problem with backgrounding all the daemons


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#9 2008-05-04 11:31:41

SiD
Member
From: Germany
Registered: 2006-09-21
Posts: 729

Re: Daemons line

You can use gamin instead of fam.
Just remove fam from your system and install gamin. It's not needed to put gamin to the daemons list, just install it and you are done.

Last edited by SiD (2008-05-04 11:32:01)

Offline

#10 2008-05-04 17:43:59

venox
Member
From: Curitiba, Brazil
Registered: 2003-08-23
Posts: 137
Website

Re: Daemons line

dolby wrote:

hal starts dbus if its not started and i dont think theres a problem with backgrounding all the daemons

I'm not sure about this. But I think it's not a good thing to background daemons of which other daemons depend. Like backgrounding network, while others need it to start correctly. You can't just assume that the backgrounded daemon will be up and running until the other daemon starts.

But again, I'm not sure about this.

Anyway, what's the difference of having a system that boots in 30 or 20 seconds when you're going to use it for hours?

Offline

#11 2008-05-05 19:51:12

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: Daemons line

venox wrote:
dolby wrote:

hal starts dbus if its not started and i dont think theres a problem with backgrounding all the daemons

I'm not sure about this. But I think it's not a good thing to background daemons of which other daemons depend. Like backgrounding network, while others need it to start correctly. You can't just assume that the backgrounded daemon will be up and running until the other daemon starts.

But again, I'm not sure about this.

Anyway, what's the difference of having a system that boots in 30 or 20 seconds when you're going to use it for hours?

Yes that's what I was thinking too.  A daemon could depend on another being running.

Well I'm happy atm, but just for the hell of it I'm going to see how quick it is without net-profiles

Offline

#12 2008-05-05 20:05:37

Gauvenator
Member
Registered: 2008-04-03
Posts: 172

Re: Daemons line

hehe 18s without net-profiles and firestarter.  Too bad I needs t3h 1nt3rw3bz

Well, 24s is satisfactory.

Offline

Board footer

Powered by FluxBB