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 > [email protected] > http://mail.gnome.org/mailman/listinfo/networkmanager-list _______________________________________________ NetworkManager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
