Exaile causes high amount of CPU wakeups
Bug #406037 reported by
Johannes Sasongko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Exaile |
Fix Released
|
Medium
|
Johannes Sasongko |
Bug Description
At nearly 40 wakeups per second *while idle*, Exaile is a top hit in powertop (ha!). We need to check what's causing this and whether it can be improved.
Changed in exaile: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Apparently this was caused by threading.Timer, used by event.timeout_add. I didn't see any way to change its wakeup time, so I wrote a custom timer that only wakes up every 5 seconds by default.
Now exaile causes around 0.2 wakeups per second, as expected. :-)