glib2reactor/gtk2reactor polls at 10 Hz even when unneeded
Bug #571648 reported by
Paul Sladen
This bug affects 17 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu Power Consumption Project |
Fix Released
|
Low
|
Unassigned | ||
Twisted |
Fix Released
|
Unknown
|
|||
twisted (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: ubuntuone-client
I do not use Ubuntu One, or have an account; however:
sudo powertop
shows:
Top causes for wakeups:
1.1% ( 10.0) ubuntuone-syncd
Ideally -syncd should not being waking up 10 times per second for polling, and should definitely ideally not be doing so if it is not specifically activated in the first place
Related branches
summary: |
- -syncd polls at 10 Hz despite not even being enabled/signed up + -syncd polls at 10 Hz when not enabled/signed up |
Changed in ubuntuone-client (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Lucio Torre (lucio.torre) |
assignee: | Lucio Torre (lucio.torre) → Ubuntu One Foundations+ team (ubuntuone-foundations+) |
Changed in twisted: | |
status: | Unknown → New |
Changed in twisted: | |
status: | New → Fix Released |
Changed in ubuntuone-client (Ubuntu): | |
assignee: | Ubuntu One Foundations+ team (ubuntuone-foundations+) → nobody |
status: | Triaged → Invalid |
Changed in twisted (Ubuntu): | |
importance: | Undecided → High |
no longer affects: | ubuntuone-client (Ubuntu) |
no longer affects: | ubuntuone-client (Ubuntu Lucid) |
no longer affects: | ubuntuone-client (Ubuntu Natty) |
no longer affects: | ubuntuone-client (Ubuntu Oneiric) |
no longer affects: | ubuntuone-client (Ubuntu Precise) |
summary: |
- -syncd polls at 10 Hz when not enabled/signed up + glib2reactor/gtk2reactor polls at 10 Hz even when unneeded |
Changed in ubuntu-power-consumption: | |
status: | New → Triaged |
importance: | Undecided → Low |
no longer affects: | twisted (Ubuntu Lucid) |
no longer affects: | twisted (Ubuntu Natty) |
no longer affects: | twisted (Ubuntu Oneiric) |
Changed in twisted (Ubuntu Precise): | |
status: | Confirmed → Triaged |
Changed in ubuntu-power-consumption: | |
status: | Triaged → Fix Released |
To post a comment you must log in.
Hi Paul,
This is a know issue with the twisted glib2reactor, which uses the glib main loop (Syncdaemon requires glib in order to use DBus)
The fix would be to have a non-glib mainloop for python-dbus or fix glib(?) to avoid polling 10 times/second. The main issue with the first approach is that python-dbus doesn't not support other mainloops (yet)