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 <gentoo-user+bounces-127462-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QyXLk-0004hN-Bj
	for garchives@archives.gentoo.org; Tue, 30 Aug 2011 23:04:09 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CC46821C170;
	Tue, 30 Aug 2011 23:03:49 +0000 (UTC)
Received: from mx.virtyou.com (mx.virtyou.com [94.23.166.77])
	by pigeon.gentoo.org (Postfix) with ESMTP id EE8CC21C06A
	for <gentoo-user@lists.gentoo.org>; Tue, 30 Aug 2011 23:01:58 +0000 (UTC)
Received: from weird.localnet (xdsl-84-44-179-199.netcologne.de [84.44.179.199])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx.virtyou.com (Postfix) with ESMTPSA id 2648E4A8015
	for <gentoo-user@lists.gentoo.org>; Wed, 31 Aug 2011 01:01:58 +0200 (CEST)
From: Alex Schuster <wonko@wonkology.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] systemd
Date: Wed, 31 Aug 2011 01:01:56 +0200
Message-ID: <1664516.PLIo2F4n29@weird>
Organization: Wonkology
User-Agent: KMail/4.7.0  (Linux/2.6.38-pf8; KDE/4.7.0; x86_64; ; )
In-Reply-To: <1732215.xqiVGl2tIE@pc>
References: <4E4C2CC4.6080604@xunil.at> <5110656.sT3Fo8umsr@weird> <1732215.xqiVGl2tIE@pc>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
X-Archives-Salt: 
X-Archives-Hash: 67c4618202e685c916598fa480c10ad0

Michael Schreckenbauer writes:

> Hi,
> 
> Am Dienstag, 30. August 2011, 13:56:44 schrieb Alex Schuster:
> > Alan McKinnon writes:
[...]
> > > 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.

After a relogin, this is also true here at this moment, dbus-daemon uses 
about 4% of one of my two cores. After 26 days of uptime, its total CPU time 
is 1380 minutes, Followed by udisks-daemon with 990 minutes, and then mysqld 
with 25 minutes.

> > 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.

Right now I have three dbus-daemon processes (one owned by messagebus, two 
owned by my user), with a total of 4.5M only. The excessive usage of 750M (I 
noticed this for the first time) probably was a memory leak. Like with KWin, 
where it always happens after some days of being logged in.

> > 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.
> > </rant>
> 
> 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.

I run some more applications. 9 Konsole tabs, two Dolphins, a Konqueror as 
file manager, Amarok, TV-Browser, Kontact, Chromium with 15 tabs, KMyMoney. 
That's what comes up after login, after a while of being logged in more 
stuff is running. Yesterday I had a Windows running in vmplayer, that may 
use 512M.
Right now, 4.7G of memory is needed (free -m, -/+ buffers/cache entry).

[Later]

Whoops, forgot to actually send this mail. Ten hours later I have another 
dbus-daemon process, owned by root, but memory their usage is the same. 
5250M of RAM are needed now altogether.

	Wonko