On Tue, Aug 30, 2011 at 7:01 PM, Alex Schuster <wo...@wonkology.org> 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.
>> > </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.

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

Reply via email to