Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] systemd
Date: Tue, 30 Aug 2011 15:13:13
Message-Id: CADPrc82YQ6Zt7bhtPzeLihNtvnrDwPJz7v7mabfXFGEBJW72UQ@mail.gmail.com
In Reply to: Re: [gentoo-user] systemd by Michael Schreckenbauer
1 On Tue, Aug 30, 2011 at 8:13 AM, Michael Schreckenbauer <grimlog@×××.de> wrote:
2 > Hi,
3 >
4 > Am Dienstag, 30. August 2011, 13:56:44 schrieb Alex Schuster:
5 >> Alan McKinnon writes:
6 >> > On Tue 23 August 2011 18:17:17 Stroller did opine thusly:
7 >> > > On 23 August 2011, at 07:27, Joost Roeleveld wrote:
8 >> [...]
9 >>
10 >> > > > And I don't really see the point of D-BUS on a server either.
11 >> > > > All the services that need to talk to each other already have
12 >> > > > working communication paths.
13 >> > >
14 >> > > Reading that blog entry I found discouraging the idea that dbus
15 >> > > might be required on my servers in the future, if systemd becomes
16 >> > > popular with distros.
17 >> >
18 >> > What's your objection to dbus? It gives you a standard message bus, is
19 >> > small, light, consumes minimal resources and provides a nice standard
20 >> > way to do IPC. Probably easier than reinventing the wheel with named
21 >> > pipes and other bits over and over.
22 >>
23 >> Except for me. dbus-daemon often uses 10-20% of my CPU according to top.
24 >
25 > Mine idles most of the time, no CPU is used. My computer is running for ~6h
26 > now, dbus-daemon used less than 1.5s CPU time.
27
28 Same here:
29
30 canek@negra ~ $ uptime
31 11:01:52 up 5 days, 20:13, 1 user, load average: 0.06, 0.43, 0.50
32
33 (It's a laptop that I usually suspend at night).
34
35 >> And
36 >> this morning, it was using about 750M of memory. Which is less than kwin's
37 >> and Kontact's usage, but still.
38 >
39 > Strange. Mine uses only ~20MB.
40
41 Same here:
42
43 top - 11:02:40 up 5 days, 20:14, 1 user, load average: 0.12, 0.39, 0.49
44 Tasks: 163 total, 1 running, 158 sleeping, 0 stopped, 4 zombie
45 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
46 Mem: 3891064k total, 3214892k used, 676172k free, 36072k buffers
47 Swap: 4192960k total, 708604k used, 3484356k free, 863416k cached
48
49 PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
50 631 messageb 20 0 20548 2404 1040 S 0 0.1 1:47.94 dbus-daemon
51
52
53 >> But I think the problem is on my side, I run KDE4 with only 8G of memory, no
54 >> wonder I need 1.7G of swap right now.
55 >> </rant>
56 >
57 > I have only 4GB of memory, run kde4, swap is not used at all most of the time.
58 > There are still ~512MB free with ~1,3GB cached currently.
59 > I do have programs running :) firefox with some tabs, kdevelop with a project
60 > (~100.000 LOC), kmail, LibreOffice and 3 konsoles, each with some tabs open.
61 > I know, I am of no help at all, but I really wonder, why your numbers differ so
62 > significantly from mine.
63
64 Kinda similar here: GNOME 3.0, Emacs with several LaTeX articles,
65 Evince, Evolution, Rhythmbox, Chromium with like 20 tabs (my 4 zombie
66 processes are Chromium tabs), and the heaviest of all, Inkscape with 6
67 different SVG pictures.
68
69 There is something really wrong with Alex D-Bus; but I don't think
70 it's the bus. Probably some program is spamming the bus, making it use
71 that much memory, but I don't know for sure.
72
73 Regards.
74 --
75 Canek Peláez Valdés
76 Posgrado en Ciencia e Ingeniería de la Computación
77 Universidad Nacional Autónoma de México