Gentoo Archives: gentoo-user

From: "Stefan G. Weichinger" <lists@×××××.at>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] systemd
Date: Tue, 23 Aug 2011 08:31:55
Message-Id: 4E53652E.8010404@xunil.at
In Reply to: Re: [gentoo-user] systemd by Joost Roeleveld
1 Am 2011-08-23 08:27, schrieb Joost Roeleveld:
2 > On Monday, August 22, 2011 11:09:02 PM Stefan G. Weichinger wrote:
3 >> Am 22.08.2011 20:29, schrieb Stefan G. Weichinger:
4 >>> update: edited the example in the gentoo-wiki now.
5 >>
6 >> replying to myself once more, which makes it feel more like a wiki
7 >> or blog than a mailing-list ;-)
8 >
9 > There wasn't much to add. You provided a solution and the only reply
10 > I could come up with "Well done" would sound condescending. Which is
11 > why I decided not to.
12
13 ok, yes
14
15 > I don't tend to use preload. Is it usefull in a non-systemd
16 > environment?
17
18 I always had the impression that things started faster with preload,
19 yes. Might be less of an impact with the new SSD I have in my desktop
20 machine now.
21
22 I didn't really miss it when switching to systemd (where I don't have a
23 service-file for it yet).
24
25 >> http://en.gentoo-wiki.com/wiki/Improve_responsiveness_with_cgroups
26 >>
27 >> Is that stuff still valid?
28 >
29 > Maybe, if you want to group stuff you're running yourself into
30 > seperate groups. The different services are grouped already.
31 >
32 >> With systemd the whole use of cgroups changes fundamentally, I
33 >> don't have the knowledge to decide if to use both in parallel.
34 >>
35 >> For now I disabled the stuff from the wiki (stop sourcing
36 >> /etc/bash/local/cgrouprc) as it only gives me warnings ...
37 >
38 > What kind of warnings? Systemd already mounts the filesystem for it
39 > and starts poulating it. If your script does similar things, they
40 > might try to duplicate work?
41
42 The code tries to write to its own dir:
43
44 mkdir -p -m 0700 $cdir/user/$$ > /dev/null 2>&1
45 /bin/echo $$ > $cdir/user/$$/tasks
46 /bin/echo '1' > $cdir/user/$$/notify_on_release
47
48 But somehow the mkdir seems to fail as I get warnings from the two
49 echo-statements, that their "target-files" do not exist, which lead me
50 to the fact that $cdir/user/$$ does not exist.
51
52 > I think it is more useful on desktops and laptops, which get rebooted
53 > regularly. On a server that tends to run for months without a
54 > reboot, a fast init-system is important.
55
56 You mean, "not so important" ?
57
58 > And I don't really see the point of D-BUS on a server either. All the
59 > services that need to talk to each other already have working
60 > communication paths.
61 >
62 > I do intend to implement it on my desktop and netbook as I'd like to
63 > have those booting as fast as possible.
64
65 Yep, I agree.
66 Stefan

Replies

Subject Author
Re: [gentoo-user] systemd Joost Roeleveld <joost@××××××××.org>