After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 591627 - Low power consumption
Low power consumption
Status: RESOLVED WONTFIX
Product: ekiga
Classification: Applications
Component: general
3.2.x
Other Linux
: Normal enhancement
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
gnome[unmaintained]
Depends on:
Blocks:
 
 
Reported: 2009-08-12 23:34 UTC by Yannick
Modified: 2020-06-06 16:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yannick 2009-08-12 23:34:40 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
Comment 1 Snark 2009-08-13 07:19:12 UTC
Is it possible to know which part of ekiga does this?
Comment 2 Yannick 2009-08-13 11:32:55 UTC
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?
Comment 3 Yannick 2009-09-30 08:59:00 UTC
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
Comment 4 Peter Robinson 2009-10-20 10:02:26 UTC
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.
Comment 5 Snark 2009-10-20 18:43:33 UTC
Yes, there's certainly something to do there... perhaps a higher value?
Comment 6 Tobias Mueller 2010-01-31 11:14:51 UTC
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.
Comment 7 Eugen Dedu 2013-01-30 08:20:20 UTC
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
Comment 8 André Klapper 2020-06-06 16:30:09 UTC
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.