GNOME Bugzilla – Bug 591627
Low power consumption
Last modified: 2020-06-06 16:30:09 UTC
Hi, Using powertop http://www.lesswatts.org/projects/powertop/ , I found Ekiga is awaking the CPU 10 time per second, on very stable basis. Powertop shows: 7,0% ( 10,0) ekiga : schedule_hrtimeout_range (hrtimer_wakeup) and it is very consistent over time. The important number here is 10, meaning Ekiga awake the CPU 10 times per seconds, most probably using a timer somewhere. The test was performed on a MSI Wind notebook (which is based on the Intel Atom platform), using Ekiga 3.2.0, compiled in x86, using Ubuntu 9.04, kernel 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux There is other stuff in ekiga awakening the CPU, but it is much more less often. I do believe it is important as Ekiga is made to run 100% of the time. This might improve the battery life on a netbook, still I've no idea how much... Best regards, Yannick
Is it possible to know which part of ekiga does this?
Hi, Despite my searches, the utility powertop doesn't seems to give more information. My raw guess is the presence code, to check for update. Damien?
Hi, Retested with 3.2.7 from last sunday and it exhibit the same behavior: awake the CPU 10 times per second when idle. Best regards, Yannick
There's a *timeout in lib/engine/framework/runtime-glib.cpp set to 100 which I presume is milliseconds. No idea what it does though and how often its run. For me ekiga is basically the top wakeup that's not a kernel related.
Yes, there's certainly something to do there... perhaps a higher value?
Reopening since the information requested in comment #1 has been provided. Also setting to NEW as it's apparently an issue identified as worth fixing.
For reference, two useful pages: - http://www.gtk.org/api/2.6/gtk/gtk-General.html (e.g. gtk_propagate_event ()) - http://www.gtk.org/api/2.6/glib/glib-The-Main-Event-Loop.html
Ekiga is not under active development anymore: https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/273 Ekiga saw its last release 7 years ago. The last code commits were 4 years ago. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this ticket (and transfer the project to GNOME Gitlab, as GNOME Bugzilla is deprecated) if anyone takes the responsibility for active Ekiga development again in the future.