[maemo-developers] suspendprocess - poor man's power save

From: Ville M. Vainio vivainio at gmail.com
Date: Mon Sep 20 23:20:19 EEST 2010
On Mon, Sep 20, 2010 at 3:35 PM, Eero Tamminen <eero.tamminen at nokia.com> wrote:

> For example D-BUS will infinitely buffer messages that are sent
> to a connected client but not read by it.  If these messages can
> be very frequent (say device orientation & network condition messages),
> this will soon bloat D-BUS memory usage quite a bit.  After D-BUS
> starts to swap, it won't perform very well.

Ok, so much for the easy hack.

What you say above has other sinister overtones as well - an
application that is listening to frequent dbus signals has no way of
getting swapped out, or staying swapped out (it can stay mapped in for
days without doing any useful work at all).

I don't think real applications out there have a habit of
unsubscribing from dbus signals when they don't need them either.

-- 
Ville M. Vainio @@ Forum Nokia
More information about the maemo-developers mailing list