You are not logged in.

#26 2006-10-04 11:10:14

yankees26
Member
From: Connecticut, USA
Registered: 2006-09-29
Posts: 190

Re: rc.conf DAEMONS '@' question

I have fam added so xfce desktop will work properly, I don't know what else it does though.  Also T-u-N-i-X, no need to have portmap in there because fam checks to see if it is running and if it isn't it'll start it.  Same with dbus which is started by hal (said earlier in the topic, I believe).

Offline

#27 2006-10-04 16:34:10

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

Re: rc.conf DAEMONS '@' question

well xfce was the reason i installed it but afaik it works properly even without adding it to 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

#28 2006-10-04 17:11:31

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Re: rc.conf DAEMONS '@' question

In gnome if I have the "synchronise with time servers" option ticked in adjust date & time, can I remove ntpd from the daemons line?


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#29 2006-10-05 02:26:51

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: rc.conf DAEMONS '@' question

.

Last edited by benplaut (2021-06-25 12:43:28)

Offline

#30 2006-10-05 20:35:38

slubman
Member
From: Grenoble (France)
Registered: 2004-08-04
Posts: 86
Website

Re: rc.conf DAEMONS '@' question

benplaut wrote:

DAEMONS=(syslog-ng !network @netfs @crond @alsa !acpid @cpudyn @dnsmasq slim)

look OK?

I prefer to start the Login Manager (slim or kdm) in initab instead of daemon.

Offline

#31 2006-10-05 21:10:43

benplaut
Member
Registered: 2006-06-13
Posts: 383

Re: rc.conf DAEMONS '@' question

.

Last edited by benplaut (2021-06-25 12:43:17)

Offline

#32 2006-10-05 21:22:57

karc
Member
From: Poland
Registered: 2006-08-12
Posts: 36

Re: rc.conf DAEMONS '@' question

benplaut wrote:
slubman wrote:
benplaut wrote:

DAEMONS=(syslog-ng !network @netfs @crond @alsa !acpid @cpudyn @dnsmasq slim)

look OK?

I prefer to start the Login Manager (slim or kdm) in initab instead of daemon.

howdaya do dat?  :oops:

At the end of /etc/inittab file:

x:5:respawn:/usr/bin/slim

I think it should do the job.


#404848
karc // jabberpl.org
We all have our chances of living in peace

Offline

#33 2006-10-06 01:02:22

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: rc.conf DAEMONS '@' question

karc wrote:
benplaut wrote:
slubman wrote:
benplaut wrote:

DAEMONS=(syslog-ng !network @netfs @crond @alsa !acpid @cpudyn @dnsmasq slim)

look OK?

I prefer to start the Login Manager (slim or kdm) in initab instead of daemon.

howdaya do dat?  :oops:

At the end of /etc/inittab file:

x:5:respawn:/usr/bin/slim

I think it should do the job.

You also need to change

id:3:initdefault:

by

id:5:initdefault:

Offline

#34 2006-10-06 01:44:20

ralvez
Member
From: Canada
Registered: 2005-12-06
Posts: 1,730
Website

Re: rc.conf DAEMONS '@' question

archuser wrote:

In gnome if I have the "synchronise with time servers" option ticked in adjust date & time, can I remove ntpd from the daemons line?

If you remove the ntpd daemon then there is no way your system can sychronize. You see, ntpd acts a a client to a time server, so you need it.

Hope this helps.

R

Offline

#35 2006-10-06 02:38:02

veek
Member
Registered: 2006-03-10
Posts: 167

Re: rc.conf DAEMONS '@' question

Nice thread archuser, never really thought about the potential benefits of backgrounding the daemons.

Strange thing, I discovered by checking pstree and ps that my alsa daemon doesn't seem to be running. It hasn't mattered though since I don't have any trouble with audio.

Is the daemon necessary? It's in my daemons array but it's apparently not loading (with or without backgrounding it).

Am I missing something?

Offline

#36 2006-10-06 04:15:57

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: rc.conf DAEMONS '@' question

veek wrote:

Nice thread archuser, never really thought about the potential benefits of backgrounding the daemons.

Strange thing, I discovered by checking pstree and ps that my alsa daemon doesn't seem to be running. It hasn't mattered though since I don't have any trouble with audio.

Is the daemon necessary? It's in my daemons array but it's apparently not loading (with or without backgrounding it).

Am I missing something?

Yes. The alsa daemon is not an actual daemon in the sense that it is not continually running like the crond daemon for example. What the alsa daemon do is that on boot up, it runs a command to restore the sound volumes then quits. On shutdown. it runs a command to save the sound volume.  This save you from the trouble of having to manually unmute/adjust the volume each time you boot up. The use of the daemon "system" is just to make it more user-friendly.

Offline

#37 2006-10-06 05:30:54

lessthanjake
Member
From: Norway
Registered: 2005-11-09
Posts: 319
Website

Re: rc.conf DAEMONS '@' question

I know it is more "clean" to have gdm/kdm/... in inttab, but it makes the boot prosess so slow! I have put @gdm as the third entry in DEAMONS and my login screen shows  up way before all the other deamons are even finished starting up. As far as I can see, it's now drawback doing it like that.

Offline

#38 2006-10-06 14:46:33

veek
Member
Registered: 2006-03-10
Posts: 167

Re: rc.conf DAEMONS '@' question

Snowman, thanks for the explanation.

Offline

#39 2006-10-06 17:24:18

archuser
Member
From: Northamptonshire, UK
Registered: 2006-09-10
Posts: 122

Re: rc.conf DAEMONS '@' question

ralvez wrote:
archuser wrote:

In gnome if I have the "synchronise with time servers" option ticked in adjust date & time, can I remove ntpd from the daemons line?

If you remove the ntpd daemon then there is no way your system can sychronize. You see, ntpd acts a a client to a time server, so you need it.

Hope this helps.

R

OK. Cheers for that.  smile


Intel i7-920 (stock), ASUS P6TD-Deluxe, AMD R9 270X, RAM: 6GB

Offline

#40 2006-10-06 17:40:12

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,930
Website

Re: rc.conf DAEMONS '@' question

DAEMONS=(@vmware @hal @mpd @sensors @cups @syslog-ng @network @crond @netfs @alsa @bluetooth @slim)

Mr Green

Offline

#41 2006-10-07 09:36:46

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,930
Website

Re: rc.conf DAEMONS '@' question

Why not add a flag to scripts in rc.d to tell init to background or not

then you only need to add daemons to list

get rid of '@' altogether

my2c


Mr Green

Offline

#42 2006-10-25 09:18:46

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,177

Re: rc.conf DAEMONS '@' question

I think it's more convenient to keep the @ in rc.conf daemons as it's more flexible and leaves the choice to background something with the user..

This is my daemons line :

DAEMONS=(syslog-ng network shorewall netfs crond  dbus hal @alsa @vmware @timidity++ @cups @archstatsrc)

All backgrounded daemons are things i don't need right after starting, but other archusers may think differently.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#43 2006-11-09 16:02:39

enr1x
Member
From: Girona, Spain
Registered: 2006-11-09
Posts: 29

Re: rc.conf DAEMONS '@' question

... called INIT-NG http://www.initng.org/ which is a replacement for init, and, at lest in the debian system i had before the gentoo system before the arch system i now have, could speedup the boot time from 1:30 to not more than 25 seconds.

BTW, what takes a lot of time in my decent box (AthlonXP 2600+, nForce2, 1.0GB DDRAM) is to load the modules at startup. I wish it was faster... Any suggestion?

Thanks,
Enric

Offline

#44 2006-11-09 16:16:19

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: rc.conf DAEMONS '@' question

Why, oh why, does everyone think InitNG is going to save you so much boot time?  The problem is not the init system, it's the kind of crap you run on boot.  I have a mythtv box that boots from grub to X in under 10 seconds (average about 8 or so).  My laptops boot in 15-20 seconds as well... the more crap you run, the slower your boot will be, regardless of initng, sysvinit, rinit, or any of the hundred other "solutions" to the artificial problem of "omg-slow-boot"

Offline

#45 2006-11-09 16:30:32

chrismortimore
Member
From: Edinburgh, UK
Registered: 2006-07-15
Posts: 655

Re: rc.conf DAEMONS '@' question

phrakture wrote:

Why, oh why, does everyone think InitNG is going to save you so much boot time?  The problem is not the init system, it's the kind of crap you run on boot.  I have a mythtv box that boots from grub to X in under 10 seconds (average about 8 or so).  My laptops boot in 15-20 seconds as well... the more crap you run, the slower your boot will be, regardless of initng, sysvinit, rinit, or any of the hundred other "solutions" to the artificial problem of "omg-slow-boot"

When I got a new hard drive, my boot time halved.  So it isn't always the crap you run on boot, sometimes it's just the crap you boot. wink


Desktop: AMD Athlon64 3800+ Venice Core, 2GB PC3200, 2x160GB Maxtor DiamondMax 10, 2x320GB WD Caviar RE, Nvidia 6600GT 256MB
Laptop: Intel Pentium M, 512MB PC2700, 60GB IBM TravelStar, Nvidia 5200Go 64MB

Offline

#46 2006-11-09 17:57:04

soloport
Member
Registered: 2005-03-01
Posts: 442

Re: rc.conf DAEMONS '@' question

phrakture wrote:

Why, oh why, does everyone think InitNG is going to save you so much boot time?  The problem is not the init system, it's the kind of crap you run on boot.

Please enlighten us!  I have no idea what you mean by "crap you run on boot" nor how I would control it.  Are you referring to daemons?  (That one's easy.)  Are you referring to modules? Then it's a fairly daunting mystery.

Is there a howto or wiki I could read about it?  Example: "Run this command string to determine the modules you're loading" Next: "Run this command string to show the modules you're using".  Now: "Do the math".  No, wait, don't just say "do the math".  Please also explain the steps to eliminate the baggage.

That would be very useful information.  The point you make about "it's not about which ever init" is informative, though.  Thanks.

Offline

#47 2006-11-09 19:47:40

marxav
Member
From: Gatineau, PQ, Canada
Registered: 2006-09-24
Posts: 386

Re: rc.conf DAEMONS '@' question

I must concur with you soloport.  That way we could all learn something.

Offline

#48 2006-11-20 17:07:32

Captain Spaulding
Member
Registered: 2006-11-16
Posts: 115
Website

Re: rc.conf DAEMONS '@' question

FWIW, don't background hald, it will break automounters such as gvm or ivman.

Offline

#49 2006-11-21 06:24:10

palandir
Member
Registered: 2006-05-14
Posts: 73

Re: rc.conf DAEMONS '@' question

enr1x wrote:

... called INIT-NG http://www.initng.org/ which is a replacement for init, and, at lest in the debian system i had before the gentoo system before the arch system i now have, could speedup the boot time from 1:30 to not more than 25 seconds.

1:30 is way too much, there probably was something going wrong, e.g. a script trying to do sth. for many seconds then giving up/timing out, thus blocking all scripts thereafter. Other init systems may not wait for single scripts to "time out", and run more things in parallel, that's probably why you experienced that extreme speed boost. But the script causing the problem is probably still failing in the background, and if you had fixed that instead of changing to a different init system, the speed would have been the same.

From my own experience boot time was *never* over ~40 seconds, with lightweight distributions such as Arch and Crux ~20 seconds, and no "advanced" init system could speed that up noticeably.

As phrakture wrote, speed differences are usually minimal when you load the same daemons, modules etc. The differences between init systems AFAIK mostly matter to the people who write them (easier to create/modify, to handle dependencies, and so on), and much less to the end users.

Offline

#50 2006-11-21 07:47:17

noriko
Member
From: In My Mind
Registered: 2006-06-09
Posts: 535
Website

Re: rc.conf DAEMONS '@' question

dae~line [gdm @syslog-ng @network @alsa @httpd]
boot time is about 20seconds [athlon-xp.M,2800+]
loading of modules?, i don't think i've ever noticed it...the longest thing is udev|uevents which ranges, 1-3 seconds.

btw,that 20 seconds is, from grub to gdm login prompt.. and as wel all know gdm is one slow ass karp, approx.3-4 seconds to init nvidia/X+gdm

backgrounding pretty much everything, in dae~line (safe?[syslog] i dunno, but it's caused no probs, ) everything saved me about 6 seconds .. i assume the new Ubuntu 6.10[?] used the new init system they proposed, it takes approx 30 seconds to boot.. same for wind[bl]ows xp (and that's with the unusable desktop{if u know what i mean})

so, to sum up.. as suggested by numerous other peoples,
the init system has very little to do with how fast ur system boots;
it's generally ho much stuff u load at boot.. i.e (hal+dbus) to add fancy icons to the desktop, is there a need for it?

i doubt it... what about fstab, and symlinks.

anyways, that's my essay on that wink


The.Revolution.Is.Coming - - To fight, To hunger, To Resist!

Offline

Board footer

Powered by FluxBB