On Tue, Aug 30, 2011 at 8:13 AM, Michael Schreckenbauer <grim...@gmx.de> 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.
Same here: canek@negra ~ $ uptime 11:01:52 up 5 days, 20:13, 1 user, load average: 0.06, 0.43, 0.50 (It's a laptop that I usually suspend at night). >> 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. Same here: top - 11:02:40 up 5 days, 20:14, 1 user, load average: 0.12, 0.39, 0.49 Tasks: 163 total, 1 running, 158 sleeping, 0 stopped, 4 zombie Cpu(s): 7.3%us, 2.0%sy, 0.0%ni, 90.2%id, 0.0%wa, 0.0%hi, 0.5%si, 0.0%st Mem: 3891064k total, 3214892k used, 676172k free, 36072k buffers Swap: 4192960k total, 708604k used, 3484356k free, 863416k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 631 messageb 20 0 20548 2404 1040 S 0 0.1 1:47.94 dbus-daemon >> 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. Kinda similar here: GNOME 3.0, Emacs with several LaTeX articles, Evince, Evolution, Rhythmbox, Chromium with like 20 tabs (my 4 zombie processes are Chromium tabs), and the heaviest of all, Inkscape with 6 different SVG pictures. There is something really wrong with Alex D-Bus; but I don't think it's the bus. Probably some program is spamming the bus, making it use that much memory, but I don't know for sure. Regards. -- Canek Peláez Valdés Posgrado en Ciencia e Ingeniería de la Computación Universidad Nacional Autónoma de México