You are not logged in.

#1 2008-11-12 13:21:09

fuscia
Member
Registered: 2008-04-21
Posts: 398

dbus and hal: start 'em?

should these two be on my list of daemons to be started, or not?

Offline

#2 2008-11-12 13:55:33

peets
Member
From: Montreal
Registered: 2007-01-11
Posts: 936
Website

Re: dbus and hal: start 'em?

Do you need them? They will be useless if none of your apps use them.
I added  them recently because I switched to the evdev input driver for x.org which needs hal.
But the less software you have running, the safer and faster your system is; don't add them if everything is running fine I guess.

Offline

#3 2008-11-12 14:00:45

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: dbus and hal: start 'em?

If you have hal on your daemon list, you don't need dbus; the hal script starts that automatically.

Offline

#4 2008-11-12 14:16:50

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: dbus and hal: start 'em?

Gullible Jones wrote:

If you have hal on your daemon list, you don't need dbus; the hal script starts that automatically.

whoa! either way, that's good to know.

here's my list - syslog-ng network netfs crond alsa. can i do without any of those? would putting @ in front of any of them make a difference? am i missing something key?

i appreciate the answers. i try to read about this stuff, but it can be so foreign, at times, i still have no sense of judgment about it.

Offline

#5 2008-11-12 14:38:46

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: dbus and hal: start 'em?

For me, network takes a long time to start up. I added an @ to the front of it just so it wouldn't take so long to boot up.


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#6 2008-11-12 14:58:48

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: dbus and hal: start 'em?

elmer_42 wrote:

For me, network takes a long time to start up. I added an @ to the front of it just so it wouldn't take so long to boot up.

wow! that took about ten seconds off boot up time. thanks.

Offline

#7 2008-11-12 15:09:44

kclive18
Member
From: Columbus, Ohio, USA
Registered: 2008-05-08
Posts: 219

Re: dbus and hal: start 'em?

Yeah, I background all the services in my DAEMONS array in /etc/rc.conf.  It saves a lot of time, especially since this laptop has a wireless connection and it takes a good amount of time to associate with the nearest AP.


My Rigs:
- Mid-2007 iMac 20", Intel 2GHz Core 2 Duo, 2x1GB DDR2-800, 250GB SATA HDD, and...MIGHTY MOUSE!!! tongue, OSX 10.5 Leopard, ATI Radeon 2400XT 128MB
- HP zv6203cl, AMD Athlon 64 3200 S939, 2x512MB DDR400, 80GB 4200rpm HDD, ATI Radeon Xpress 200M 128MB, Arch i686 cool
- 1986 Gibson SG Junior Cherry Red, Ibanez 15W amp, DigiTech RP250 modeling processor

Offline

#8 2008-11-12 15:26:28

ashyanbhog
Member
From: India
Registered: 2008-08-19
Posts: 49

Re: dbus and hal: start 'em?

fuscia wrote:
Gullible Jones wrote:

If you have hal on your daemon list, you don't need dbus; the hal script starts that automatically.

whoa! either way, that's good to know.

here's my list - syslog-ng network netfs crond alsa. can i do without any of those? would putting @ in front of any of them make a difference? am i missing something key?

i appreciate the answers. i try to read about this stuff, but it can be so foreign, at times, i still have no sense of judgment about it.

You can disable daemons with ! like !crond and see if you are losing functionality in everyday usage. Check what each daemon does, crond is for task scheduling, so if u dont have tasks, u can disable it and re-enable it if u want to add tasks sometime in future.

daemons like alsa, crond can boot in background. even my network is background

I would recommend having Arch CD nearby just so you can CD boot and chroot if somehow (unlikely) the system gets screwed,

besides, u would have got better answers if u were more specific on system usage profile,

Last edited by ashyanbhog (2008-11-12 15:27:14)

Offline

#9 2008-11-12 15:37:35

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: dbus and hal: start 'em?

ashyanbhog wrote:

besides, u would have got better answers if u were more specific on system usage profile,

i don't know what you're talking about. i asked the question i wanted to and got the type of answer i was looking for.

edit: my question is really out of a need for a sense of perspective than specific details. my problem with open source documentation is that it generally seems to be missing chapter one.

Last edited by fuscia (2008-11-12 15:57:17)

Offline

#10 2008-11-12 16:39:54

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: dbus and hal: start 'em?

update (i'm sure you've all been on the edge of your seats): looks like all i needed hal for was k3b. i'm gonna try tcdr instead. that should up my minimalist cred a few notches. good times.

Offline

#11 2008-11-12 17:52:54

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: dbus and hal: start 'em?

@syslog-ng @hal @network !netfs @crond @alsa

That's my take.  It should speed things up a bit too.  netfs is enabled by default (why I don't know) but is almost certainly wasted on most installations.  If you aren't connecting to netfs shares (and you'd know if you were) then you can safely remove or disable (!) this daemon.  Everything else can be sent to the background (@).


thayer williams ~ cinderwick.ca

Offline

#12 2008-11-12 18:07:05

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: dbus and hal: start 'em?

i looked up netfs and didn't understand a word of it.

Offline

#13 2008-11-12 18:10:28

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: dbus and hal: start 'em?

Do you use cron for anything?
If not, disable it.

Offline

#14 2008-11-12 18:39:38

string
Member
Registered: 2008-11-03
Posts: 286

Re: dbus and hal: start 'em?

I believe in a recent thread a user was complaining about his log sizes. From this point of view (at least) I'd keep crond.

Offline

#15 2008-11-12 18:53:43

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: dbus and hal: start 'em?

the last thing i need is bigger logs.

Offline

#16 2008-11-12 20:58:10

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: dbus and hal: start 'em?

uh, would i know if i used crond? in other words, is it something that i would have to initiate directly, or is it something some other daemon/app/whatever would use that i wouldn't know about because i don't know about such things?

Offline

#17 2008-11-12 22:49:19

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: dbus and hal: start 'em?

When the crond service is running, the scripts in /etc/cron.{hourly,daily,weekly,monthly} get run at the appropriate intervals. These scripts do useful things like update your locate database, rotate your logs, and so on. You may not have put anything of your own in there, but at least a few packages are likely to have done so. Having crond turned off for a week or two is no big deal. I wouldn't want to work on a system that hasn't run any of the crond scripts in months.

Myself, I've added my own jobs to these folders, to do backups, download a list of what packages are on AUR, and so on.

I think the crond daemon itself will be a really negligible drag on your system. When the scripts are running though, your system will temporarily see a burst of activity (depending on what the script is doing).

Offline

#18 2008-11-13 00:56:36

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: dbus and hal: start 'em?

If you have a decent amount of ram, I wouldnt worry about minimizing the daemons running. Apart from a bit of memory usage most of them will be in sleep mode 99% of the time and the scheduler will give them a low prio as far as cpu goes anyway.
Removing stuff like crond is a really bad idea, a better idea is to learn what it does and use it. As far as dbus/hal, its far easier to just run them and then when something needs them you dont even know it rather than messing about later on wondering why some program is not working.

Offline

#19 2008-11-13 01:07:49

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: dbus and hal: start 'em?

shazeal wrote:

If you have a decent amount of ram, I wouldnt worry about minimizing the daemons running. Apart from a bit of memory usage most of them will be in sleep mode 99% of the time and the scheduler will give them a low prio as far as cpu goes anyway.
Removing stuff like crond is a really bad idea, a better idea is to learn what it does and use it. As far as dbus/hal, its far easier to just run them and then when something needs them you dont even know it rather than messing about later on wondering why some program is not working.

Totally agree with this opinion. Some people just go too far with optimization.

"So, you've cut down your memory and cpu usage to below 1% have you ? Nice.... how much did that Core2Quad and those 4 gigs of memory cost btw ? big_smile"


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#20 2008-11-13 01:30:40

elmer_42
Member
From: /na/usa/ca
Registered: 2008-10-11
Posts: 427

Re: dbus and hal: start 'em?

Personally, I don't really mind daemons running. I just mind them taking forever at startup, which is why I have so many of them backgrounded.


[ lamy + pilot ] [ arch64 | wmii ] [ ati + amd ]

Offline

#21 2008-11-13 03:13:05

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: dbus and hal: start 'em?

Every application poses some security risk while it's running.  Most daemons run with administrative privileges and quite a few also monitor network ports for incoming connections and react accordingly--these pose a significant security risk. My philosophy is to disable everything I don't need.


thayer williams ~ cinderwick.ca

Offline

#22 2008-11-13 05:58:53

shazeal
Member
From: New Zealand
Registered: 2007-06-05
Posts: 341

Re: dbus and hal: start 'em?

Every application poses some security risk while it's running.  Most daemons run with administrative privileges and quite a few also monitor network ports for incoming connections and react accordingly--these pose a significant security risk. My philosophy is to disable everything I don't need.

Paranoia can be taken too far. If I was setting up a server that would be exposed to unknown users, which I do quite often. Sure I would make sure daemons are locked down, and that only stuff needed is running, thats just common sense.
However for a home computer, running behind a firewall, Its just plain overkill and actually a bad philosophy. Setting up your box correctly, securing it, and understanding what the things running do is far more important than just shutting stuff down, ignorance is the biggest security risk not daemons wink

Offline

#23 2008-11-13 06:29:25

fuscia
Member
Registered: 2008-04-21
Posts: 398

Re: dbus and hal: start 'em?

turning off netfs and loading network in the background made a time difference in the boot. the rest of it did nothing (although, i think when i loaded crond and alsa in the background, it took 2 seconds longer).

the problem i have with finding out what everything does is that most of the explanations mention a whole bunch of other things i've never heard of. i end up even more at a loss than i had been before i read it. it's not just a few things, it's almost everything i read about open source software.
for me, aside from being minimalist in a lot of areas in my life, keeping a minimal setup means there's just that much less for me to be bewildered by. recently, i got curious about slackware. i started reading the slackbook and realized just how spoiled i'd become by the arch documentation (i don't care if you have a 1st edition copy of mao's red book, just tell me what i need to know).

Offline

Board footer

Powered by FluxBB