You are not logged in.

#1 2011-09-04 22:05:27

archer42
Member
Registered: 2011-06-10
Posts: 92

Init: Is there a way to start the services parallel?

Hi,
Archlinux ist the fastest Distribution I had in my life big_smile

But I think there still is optimization area. One problem I see is that daemons start one after another. Sure this isn't a bad idea because netfs requires a working net. But there are many damons like cups, gdm, dbus, avahi which could actually start at the same time. Is this possible?

And if yes how do I do this?

Offline

#2 2011-09-04 22:16:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Init: Is there a way to start the services parallel?

Try '@avahi' etc.

Not fast enough - try systemd.

Last edited by karol (2011-09-04 22:20:19)

Offline

#3 2011-09-04 22:17:48

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Init: Is there a way to start the services parallel?

Rc.conf says quite clearly you can use @ to background services.

If that's not enough for you, follow karol's advice.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2011-09-05 12:13:30

archer42
Member
Registered: 2011-06-10
Posts: 92

Re: Init: Is there a way to start the services parallel?

Hi, thanks for the advice.
The @daemons is really speeding up good.

Has somebogy experience with systemd?
Is it stable?

Regards

Offline

#5 2011-09-05 12:39:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Init: Is there a way to start the services parallel?

archer42 wrote:

Has somebogy experience with systemd?
Is it stable?

Regards

I haven't tried it.
https://wiki.archlinux.org/index.php/Systemd
Pretty long thread: https://bbs.archlinux.org/viewtopic.php?id=96316
A very short and fresh one: https://bbs.archlinux.org/viewtopic.php?id=125953

Last edited by karol (2011-09-05 12:40:13)

Offline

#6 2011-09-05 16:34:53

archer42
Member
Registered: 2011-06-10
Posts: 92

Re: Init: Is there a way to start the services parallel?

systemctl
Assertion 'bus' failed at src/systemctl.c:420, function list_units(). Aborting.

Any idea?

Regards

Offline

#7 2011-09-06 07:17:28

Varg
Member
From: Belgium
Registered: 2010-07-07
Posts: 272

Re: Init: Is there a way to start the services parallel?

archer42 wrote:
systemctl
Assertion 'bus' failed at src/systemctl.c:420, function list_units(). Aborting.

Any idea?

Regards

What exactly did you do ?

Offline

#8 2011-09-06 16:31:00

archer42
Member
Registered: 2011-06-10
Posts: 92

Re: Init: Is there a way to start the services parallel?

I used:

pacman -S initscripts-systemd systemd-arch-units
systemctl
Assertion 'bus' failed at src/systemctl.c:420, function list_units(). Aborting.

Offline

#9 2011-09-06 16:45:13

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: Init: Is there a way to start the services parallel?

archer42 wrote:

I used:

pacman -S initscripts-systemd systemd-arch-units
systemctl
Assertion 'bus' failed at src/systemctl.c:420, function list_units(). Aborting.

I hate to be a buzzkiller here, but do you have any particular goal in mind? You see, systemd is NOT a boot optimization tool (see the original blog story), but a sophisticated init replacement. Nor is it a "fire and forget" app.

Before diving into it, I would run Fedore 15/16 for sometime. This way you'll understand the basics and know what to expect.


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#10 2011-09-06 17:09:13

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: Init: Is there a way to start the services parallel?

archer42 wrote:
systemctl
Assertion 'bus' failed at src/systemctl.c:420, function list_units(). Aborting.

Any idea?

Regards

You need to boot with systemd to use systemctl. add init=/bin/systemd to the kernel line in grub and boot. The wiki about systemd is quite messy, but read it a few times and you'll get it.

Offline

Board footer

Powered by FluxBB