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 1QzF95-0001gA-Nb for garchives@archives.gentoo.org; Thu, 01 Sep 2011 21:49:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD23B21C0F6; Thu, 1 Sep 2011 21:49:47 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 6F15221C055 for ; Thu, 1 Sep 2011 21:48:45 +0000 (UTC) Received: by wyg36 with SMTP id 36so2245761wyg.40 for ; Thu, 01 Sep 2011 14:48:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=2TjtD1F4johecWQGHHrXEDp7uPxW3FsixC1yF6nBbfQ=; b=XGaZnlUxLRKjJwUZwJOHG2hwALtgQPCXI1FE4Q2cPyqfCY3CBkpuPPrBFUuL01ZfDq twzZIz50aVrQxTlQpPscWF73o4r12sK54dYkjAdNWqXlBFCgH5mM/+/4zAaz9GyPpmx+ iHUPG1uBF56php5XHUJobecHFxi/ow2LYY6dM= Received: by 10.227.172.73 with SMTP id k9mr335407wbz.30.1314913724552; Thu, 01 Sep 2011 14:48:44 -0700 (PDT) Received: from rohan (196-210-153-55.dynamic.isadsl.co.za [196.210.153.55]) by mx.google.com with ESMTPS id eq21sm118183wbb.52.2011.09.01.14.48.40 (version=SSLv3 cipher=OTHER); Thu, 01 Sep 2011 14:48:42 -0700 (PDT) Date: Thu, 1 Sep 2011 23:48:29 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] systemd Message-ID: <20110901234829.71756639@rohan> In-Reply-To: <1732215.xqiVGl2tIE@pc> References: <4E4C2CC4.6080604@xunil.at> <3706961.X6WvuNeq9m@nazgul> <5110656.sT3Fo8umsr@weird> <1732215.xqiVGl2tIE@pc> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; x86_64-pc-linux-gnu) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: a52e918a90261aa9cfd79c8abb18ac9e On Tue, 30 Aug 2011 14:13:53 +0200 Michael Schreckenbauer wrote: > Hi, > > Am Dienstag, 30. August 2011, 13:56:44 schrieb Alex Schuster: > > Alan McKinnon writes: > > > On Tue 23 August 2011 18:17:17 Stroller did opine thusly: > > > > On 23 August 2011, at 07:27, Joost Roeleveld wrote: > > [...] > > > > > > > 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. > > > > > > > > Reading that blog entry I found discouraging the idea that dbus > > > > might be required on my servers in the future, if systemd > > > > becomes popular with distros. > > > > > > What's your objection to dbus? It gives you a standard message > > > bus, is small, light, consumes minimal resources and provides a > > > nice standard way to do IPC. Probably easier than reinventing the > > > wheel with named pipes and other bits over and over. > > > > Except for me. dbus-daemon often uses 10-20% of my CPU according to > > top. > > Mine idles most of the time, no CPU is used. My computer is running > for ~6h now, dbus-daemon used less than 1.5s CPU time. > > > And > > this morning, it was using about 750M of memory. Which is less than > > kwin's and Kontact's usage, but still. > > Strange. Mine uses only ~20MB. > > > But I think the problem is on my side, I run KDE4 with only 8G of > > memory, no wonder I need 1.7G of swap right now. > > > > I have only 4GB of memory, run kde4, swap is not used at all most of > the time. There are still ~512MB free with ~1,3GB cached currently. > I do have programs running :) firefox with some tabs, kdevelop with a > project (~100.000 LOC), kmail, LibreOffice and 3 konsoles, each with > some tabs open. I know, I am of no help at all, but I really wonder, > why your numbers differ so significantly from mine. He probably has the same problem as I - something badly wrong in the roll-your-own config. I had a 4G Dell laptop where KDE would start and instantly consume at least 1.5G just for it's various bits. Akonadi, Nepomuk, Virtuoso were the usual culprits. Oddly, dbus would often rise to 700M (!). And forget about actually emerging something - the first sniff that gcc was running and the machine would thrash like mad and 4G swap would fill up in no time at all. Less sweap wasn't an option - the battery is dud so I needed hibernate. Sadly (or not, depending on your viewpoint), that machine died on Monday morning - suspect graphics card. I can't complain - it ran flat out 24/7/365 and I treated it like one of the servers that I could carry around. So I can't even troubleshoot what I configured how to make performance behave like it did. Happily, there was a nice pretty lady from Samsung in the office 3 months ago wanting to sell the 900X Macbook Air knock-off into the company. The IT manager didn't know what to do with the demo she left behind so I knicked it for myself (sans paperwork of course. Makes it easier to prolong how long it takes to test properly) and it's running Ubuntu. Memory issues are a thing of the past and everything behaves just like it should. Even flash. -- Alan McKinnnon alan.mckinnon@gmail.com