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