You are not logged in.
In rc.conf it says to put a @ infront of a daemon to load it in the background.
What exactly does this mean and which daemons should I consider loading up in the background?
Cheers.
Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB
Offline
Mh, now as you mention it ...
Am curious now too, maybe some could speed up boot process a bit when backgrounding ? Well boot is fast enough anyway, but this options must have a reason to exist
cheers,
detto
Offline
It means the next daemon listed will start without waiting for the prefixed daemon to finish.. uh, e.g my daemons line:
DAEMONS=(syslog-ng network dbus hal portmap @fam @shorewall @samba @netfs @crond @alsa @mpd)
Basically, shorewall will start before fam has finished loading, and so on. You have to use a little common sense to figure out what needs to be running before other things can - like portmap must be running before fam I believe. I'm not sure my setup is optimal, I could perhaps background one or two more, but i'm not all that concerned right now.
Anyway it's worth playing with and this setup saves me maybe 10-20 secs in boot time at a guess.
Offline
Ah, ok. So when ntp takes forever to synchronise with the server I can just add '@' to it and load the other things without waiting for it to finish.
So what your saying is the @shorewall will start without waiting for @fam to finish, but @fam still has to wait for portmap because portmap is not prefixed with the '@'?
Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB
Offline
Yes, exactly. ![]()
Offline
DAEMONS=(syslog-ng network netfs @sshd @crond @ntpd @alsa)Mine, for reference...
Offline
Cool. This is what mine now looks like.
DAEMONS=(syslog-ng network dbus hal portmap @fam @firestarter @ntpdate @netfs @crond alsa)Any advice on how to improve it would be cool. ![]()
Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB
Offline
Cool. This is what mine now looks like.
DAEMONS=(syslog-ng network dbus hal portmap @fam @firestarter @ntpdate @netfs @crond alsa)Any advice on how to improve it would be cool.
You can background alsa.
Offline
i think you can background dbus and/or hal i don't remember.
Offline
hal automatically start dbus.
This is one the first line in /etc/rc.d/hal
#Check for running dbus, start when not running
ck_daemon dbus && /etc/rc.d/dbus startSo you can delete dbus of your DAEMONS ![]()
Offline
Cheers guys. I've deleted dbus and backgrounded alsa. My system startup is tons better now. ![]()
Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB
Offline
Here's mine now for reference:
DAEMONS=(syslog-ng network @hal @fam @samba @avahi-daemon @alsa gdm)It works, i guess. But am not sure.
Where can i see which daemons got started / are running :?:
Offline
@detto -> Type pstree in console.
Kermit.
Offline
Thank you kermit!!
Everything checked. My Daemons set up works ![]()
Offline
DAEMONS=(syslog-ng !pcmcia @acpid network @ntpd netfs @crond @lisa !httpd @hal !sshd !mysqld @laptop-mode @gensplash kdm)
This is my array. Btw, nice to see the dbus dep has been included in the hal rc script ![]()
Offline
So is acpid
You don't need to list it there ![]()
Offline
DAEMONS=(syslog-ng klogd @network portmap @laptop_mode !fam @hal !acpid @cpudyn @uptimed !pcmcia !hotplug)
may someone look on my list? I'm not shure if everything is ok.
It runs well - but it can always be improved.
Gruß, Johannes
http://www.hehejo.de
http://gallery.hehejo.de/jo
Offline
Looks fine to me.
You need portmap? I only need this for fam which you have disabled. Therefore disabling portmap too would make sense ![]()
Well, if you need it i would say its good as it is now.
cheers,
detto
Offline
Uh, I don't know if I need portmap.
It's in there since first install..
I remove it and look what happens..
Gruß, Johannes
http://www.hehejo.de
http://gallery.hehejo.de/jo
Offline
kdm/kdm shoud be started by inittab instead of rc.conf imo. It's a more elegant and "correct" way.
If you are not mounting any network shares at boot (like remote host etc. and are using dhcpcd then you can save quite a bit of time by doing network in the background.
Just my 2 cents (not aimed at anyone in special)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
DAEMONS=(syslog-ng !hotplug !pcmcia @network @fam crond)Aside from the removal of netfs and the addition of fam and of course the added @'s its pretty much default. Its open to critique of course.
Offline
DAEMONS=(syslog-ng !hotplug !pcmcia @network @fam crond)Aside from the removal of netfs and the addition of fam and of course the added @'s its pretty much default. Its open to critique of course.
Just an esthetical comment. You can remove the:
!hotplug !pcmcia
because these daemons don't exist anymore (they were obsoleted by udev). It will unclutter the DAEMONS lines (intead of having them commented out)..
Offline
Ah, will do.
Offline
DAEMONS=(syslog-ng cpufreqd acpid ifplugd network @named @crond !gpm @sshd !samba hplip cups @alsa portmap @fam dbus hal bluetooth gdm)
---
What do you guys think ? Is this one ok ?
Quis custodiet ipsos custodiet?
Offline
excuse my ignorance but i see most of u have fam added to the daemons. i have it installed but not added to daemons. is there any reason i should add it too?
just for the record mine is
DAEMONS=(syslog-ng network hal @alsa @netfs @crond)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