1 |
On Tuesday, August 23, 2011 10:30:38 AM Stefan G. Weichinger wrote: |
2 |
> Am 2011-08-23 08:27, schrieb Joost Roeleveld: |
3 |
> > On Monday, August 22, 2011 11:09:02 PM Stefan G. Weichinger wrote: |
4 |
> >> Am 22.08.2011 20:29, schrieb Stefan G. Weichinger: |
5 |
> > I don't tend to use preload. Is it usefull in a non-systemd |
6 |
> > environment? |
7 |
> |
8 |
> I always had the impression that things started faster with preload, |
9 |
> yes. Might be less of an impact with the new SSD I have in my desktop |
10 |
> machine now. |
11 |
> |
12 |
> I didn't really miss it when switching to systemd (where I don't have a |
13 |
> service-file for it yet). |
14 |
|
15 |
Guess it doesn't have much of an improvement anymore? :) |
16 |
|
17 |
> >> http://en.gentoo-wiki.com/wiki/Improve_responsiveness_with_cgroups |
18 |
> >> |
19 |
> >> Is that stuff still valid? |
20 |
> > |
21 |
> > Maybe, if you want to group stuff you're running yourself into |
22 |
> > seperate groups. The different services are grouped already. |
23 |
> > |
24 |
> >> With systemd the whole use of cgroups changes fundamentally, I |
25 |
> >> don't have the knowledge to decide if to use both in parallel. |
26 |
> >> |
27 |
> >> For now I disabled the stuff from the wiki (stop sourcing |
28 |
> >> /etc/bash/local/cgrouprc) as it only gives me warnings ... |
29 |
> > |
30 |
> > What kind of warnings? Systemd already mounts the filesystem for it |
31 |
> > and starts poulating it. If your script does similar things, they |
32 |
> > might try to duplicate work? |
33 |
> |
34 |
> The code tries to write to its own dir: |
35 |
> |
36 |
> mkdir -p -m 0700 $cdir/user/$$ > /dev/null 2>&1 |
37 |
> /bin/echo $$ > $cdir/user/$$/tasks |
38 |
> /bin/echo '1' > $cdir/user/$$/notify_on_release |
39 |
> |
40 |
> But somehow the mkdir seems to fail as I get warnings from the two |
41 |
> echo-statements, that their "target-files" do not exist, which lead me |
42 |
> to the fact that $cdir/user/$$ does not exist. |
43 |
|
44 |
You could try adding ls-statements to see if it can set that op? |
45 |
Or try to run those commands. |
46 |
|
47 |
Where is $cdir pointing to? |
48 |
|
49 |
> > I think it is more useful on desktops and laptops, which get rebooted |
50 |
> > |
51 |
> > regularly. On a server that tends to run for months without a |
52 |
> > |
53 |
> > reboot, a fast init-system is important. |
54 |
> |
55 |
> You mean, "not so important" ? |
56 |
|
57 |
Yes, that's what I meant :) |
58 |
|
59 |
> > And I don't really see the point of D-BUS on a server either. All the |
60 |
> > services that need to talk to each other already have working |
61 |
> > communication paths. |
62 |
> > |
63 |
> > I do intend to implement it on my desktop and netbook as I'd like to |
64 |
> > have those booting as fast as possible. |
65 |
> |
66 |
> Yep, I agree. |
67 |
> Stefan |