Re: Powersaving Patch for NetworkManager
- From: Dan Williams <dcbw redhat com>
- To: Jan Kantert <jan-nm kantert net>
- Cc: networkmanager-list gnome org
- Subject: Re: Powersaving Patch for NetworkManager
- Date: Tue, 25 Nov 2008 10:20:52 -0500
On Tue, 2008-11-25 at 13:38 +0100, Jan Kantert wrote:
> Hi,
>
> according to powertop Network Manager wakes up my cpu about once every
> two seconds. Thats does not sound much but on an idle desktop with 10
> wake ups per seconds thats 5%. I wanted my laptop's cpu to stay longer
> in sleepstates so I wrote a little patch (against trunk) to replace
> g_timeout_add with g_timeout_add_seconds (where possible), which uses
> more rough granularity. This helps to aggregate timeouts and will
> statistically wake up the cpu less frequently.
Good thing to do, but you'll need to check the glib version being used,
and if it's not >= 2.14, re-implement g_timeout_add_seconds() in
NetworkManagerUtils.c, which should simply call g_timeout_add or
whatever. Care to respin?
Thanks!
Dan
>
> Greetings,
> Jan Kantert
>
>
> _______________________________________________
> NetworkManager-list mailing list
> NetworkManager-list gnome org
> http://mail.gnome.org/mailman/listinfo/networkmanager-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]