From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QvmOo-00057v-PS for garchives@archives.gentoo.org; Tue, 23 Aug 2011 08:31:55 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 680EF21C141; Tue, 23 Aug 2011 08:31:43 +0000 (UTC) Received: from postler.lichtfels.com (postler.lichtfels.com [78.46.92.195]) by pigeon.gentoo.org (Postfix) with ESMTP id 0C8BD21C0A6 for ; Tue, 23 Aug 2011 08:30:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by postler.lichtfels.com (Postfix) with ESMTP id 660D532260 for ; Tue, 23 Aug 2011 10:32:04 +0200 (CEST) Received: from postler.lichtfels.com ([127.0.0.1]) by localhost (postler.lichtfels.com [127.0.0.1]) (amavisd-maia, port 10024) with LMTP id 24949-04 for ; Tue, 23 Aug 2011 10:32:03 +0200 (CEST) Received: from [172.32.99.26] (mail.oops.co.at [213.129.238.225]) by postler.lichtfels.com (Postfix) with ESMTPA id 73BA03225F for ; Tue, 23 Aug 2011 10:32:03 +0200 (CEST) Message-ID: <4E53652E.8010404@xunil.at> Date: Tue, 23 Aug 2011 10:30:38 +0200 From: "Stefan G. Weichinger" Organization: oops! User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110822 Thunderbird/6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] systemd References: <4E4C2CC4.6080604@xunil.at> <4E529FF7.2050704@xunil.at> <4E52C56E.3090808@xunil.at> <1451077.U4Zyk5FIVu@eve> In-Reply-To: <1451077.U4Zyk5FIVu@eve> X-Enigmail-Version: 1.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.2a X-Archives-Salt: X-Archives-Hash: 312ae0db3c60c41bc959fff04493bdd4 Am 2011-08-23 08:27, schrieb Joost Roeleveld: > On Monday, August 22, 2011 11:09:02 PM Stefan G. Weichinger wrote: >> Am 22.08.2011 20:29, schrieb Stefan G. Weichinger: >>> update: edited the example in the gentoo-wiki now. >> >> replying to myself once more, which makes it feel more like a wiki >> or blog than a mailing-list ;-) > > There wasn't much to add. You provided a solution and the only reply > I could come up with "Well done" would sound condescending. Which is > why I decided not to. ok, yes > I don't tend to use preload. Is it usefull in a non-systemd > environment? I always had the impression that things started faster with preload, yes. Might be less of an impact with the new SSD I have in my desktop machine now. I didn't really miss it when switching to systemd (where I don't have a service-file for it yet). >> http://en.gentoo-wiki.com/wiki/Improve_responsiveness_with_cgroups >> >> Is that stuff still valid? > > Maybe, if you want to group stuff you're running yourself into > seperate groups. The different services are grouped already. > >> With systemd the whole use of cgroups changes fundamentally, I >> don't have the knowledge to decide if to use both in parallel. >> >> For now I disabled the stuff from the wiki (stop sourcing >> /etc/bash/local/cgrouprc) as it only gives me warnings ... > > What kind of warnings? Systemd already mounts the filesystem for it > and starts poulating it. If your script does similar things, they > might try to duplicate work? The code tries to write to its own dir: mkdir -p -m 0700 $cdir/user/$$ > /dev/null 2>&1 /bin/echo $$ > $cdir/user/$$/tasks /bin/echo '1' > $cdir/user/$$/notify_on_release But somehow the mkdir seems to fail as I get warnings from the two echo-statements, that their "target-files" do not exist, which lead me to the fact that $cdir/user/$$ does not exist. > I think it is more useful on desktops and laptops, which get rebooted > regularly. On a server that tends to run for months without a > reboot, a fast init-system is important. You mean, "not so important" ? > And I don't really see the point of D-BUS on a server either. All the > services that need to talk to each other already have working > communication paths. > > I do intend to implement it on my desktop and netbook as I'd like to > have those booting as fast as possible. Yep, I agree. Stefan