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 1QyXcz-0007Tz-NP for garchives@archives.gentoo.org; Tue, 30 Aug 2011 23:21:57 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8CB6621C26E; Tue, 30 Aug 2011 23:21:41 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 8D82721C0D5 for ; Tue, 30 Aug 2011 23:20:48 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so154318bkb.40 for ; Tue, 30 Aug 2011 16:20:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=s6rmu+rnuRm1Mok72+3/TplZSsZhl8+BKAeAFGRXKK0=; b=EqonzHCkvAkdQtVGt0ljgTTM2/iUmfIKKihEJu91qi8dzgminjbpZuaI5j0LVLIcuy wq5VUj+n+gGXXujK56s22wyER4YR6nQCz4gCilmPIOQzCgnNXVIFCoAdHizTx6jdCsZr bEyHZe/a29ATdFFUBzllZOb6uN85WILQUbTnM= 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 Received: by 10.204.146.151 with SMTP id h23mr500787bkv.156.1314746294444; Tue, 30 Aug 2011 16:18:14 -0700 (PDT) Received: by 10.204.37.140 with HTTP; Tue, 30 Aug 2011 16:18:14 -0700 (PDT) In-Reply-To: <1664516.PLIo2F4n29@weird> References: <4E4C2CC4.6080604@xunil.at> <5110656.sT3Fo8umsr@weird> <1732215.xqiVGl2tIE@pc> <1664516.PLIo2F4n29@weird> Date: Tue, 30 Aug 2011 19:18:14 -0400 Message-ID: Subject: Re: [gentoo-user] systemd From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: X-Archives-Hash: b000f94a6f52a9b06ea08d7bd47e6b2a On Tue, Aug 30, 2011 at 7:01 PM, Alex Schuster wrote: > 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. >> > >> >> 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. Very, very weird. You all seem to have some weird issues with dbus-daemon that I don't have. (times retrieved with ps axS, memory consumption retrieved with htop) On my 77-day uptime server runing Debian 5, dbus's total time is 0:00. (That's with ps axS) virtual memory of 21M, resident of 900K. On my gentoo desktop, 8 days' uptime, I show two dbus-daemon processes, both with 0:00. Both with virtual of 19M. One with resident of 984K, one with resident of 808K. On my router, Debian 6, with 4 days' uptime, ps axS shows 0:00 for consumed time. 23M virtual, 968K resident. -- :wq