[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2015-03-10 Thread Pat McGowan
The latest krillin kernel suppresses unnecessary messages so this is largely fixed. ** Changed in: canonical-devices-system-image Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.la

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-12-11 Thread Pat McGowan
** Changed in: upower (Ubuntu RTM) Status: Confirmed => Fix Released ** Changed in: canonical-devices-system-image Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-12-10 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-system-settings - 0.3+15.04.20141210~rtm-0ubuntu1 --- ubuntu-system-settings (0.3+15.04.20141210~rtm-0ubuntu1) 14.09; urgency=low [ Ken VanDine ] * Support UPower 0.99 (LP: #1337200, #1390629) [ Ubuntu daily release ] * New rebuild for

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-12-04 Thread Ken VanDine
** Changed in: ubuntu-system-settings (Ubuntu RTM) Status: Invalid => In Progress ** Changed in: ubuntu-system-settings (Ubuntu RTM) Assignee: (unassigned) => Ken VanDine (ken-vandine) ** Changed in: ubuntu-system-settings (Ubuntu RTM) Importance: Undecided => High ** Branch linke

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-12-02 Thread Ricardo Salveti
pitti: because the problem is the kernel sending way too much uevents related with power which makes upower to be quite a bit verbose, and dbus as well (on krillin only) rsalveti: that's then not really a duplicate rsalveti: #1337200 is about queueing up d-bus signals while a process is slee

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-12-01 Thread Martin Pitt
Un-duplicating, as 1375152 is private. I rather made 1375152 a duplicate of this one. ** This bug is no longer a duplicate of private bug 1375152 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1337200

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-12-01 Thread Ricardo Salveti
*** This bug is a duplicate of bug 1375152 *** https://bugs.launchpad.net/bugs/1375152 ** This bug has been marked a duplicate of private bug 1375152 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-26 Thread Olli Ries
** Changed in: canonical-devices-system-image Importance: Undecided => High ** Changed in: canonical-devices-system-image Status: New => Confirmed ** Changed in: canonical-devices-system-image Milestone: None => r1 ** Changed in: canonical-devices-system-image Assignee: (unass

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-26 Thread Ken VanDine
** Changed in: upower (Ubuntu RTM) Importance: Undecided => High ** Changed in: upower (Ubuntu RTM) Status: New => Confirmed ** Changed in: ubuntu-system-settings (Ubuntu RTM) Status: New => Invalid ** Changed in: ubuntu-system-settings (Ubuntu) Status: In Progress => Inv

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-18 Thread Ken VanDine
I've confirmed the transition to upower 0.99 fixes this issue, really nice improvement all around. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1337200 Title: High CPU due to excessive device chang

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-18 Thread Ken VanDine
I've built powerd, upowerd, indicator-power and ubuntu-system-settings in rtm silo 16 for testing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1337200 Title: High CPU due to excessive device chang

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-17 Thread Martin Pitt
> My new theory is dbus-daemon is spinning out of control because of upower, probably because indicator-power is still subscribed to it. That, and powerd as well for the record. Thanks for the logs! * udevadm.log doesn't look surprising: We get one event for each of the four power_supply device

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-17 Thread Ken VanDine
After attempting to work around this in ubuntu-system-settings, I don't think it's possible. The problem seems to be upower pushing dbus- daemon's load high enough that slows down or blocks dbus calls. ** Also affects: upower (Ubuntu) Importance: Undecided Status: New ** Package change

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-14 Thread Ken VanDine
** Attachment added: "udevadm.log" https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1337200/+attachment/4260518/+files/udevadm.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-14 Thread Ken VanDine
** Attachment added: "upower-monitor.log" https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1337200/+attachment/4260520/+files/upower-monitor.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.laun

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-14 Thread Ken VanDine
** Attachment added: "dbus-monitor.log" https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1337200/+attachment/4260519/+files/dbus-monitor.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpa

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-14 Thread Ken VanDine
I attached udevadm.log, upower-monitor.log and dbus-monitor.log which was generated over a period with a number of suspend and resumes. This was all with system-settings' battery plugin removed, so nothing from settings listening for upower. I also never had system-settings completely hang, but s

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-14 Thread Pat McGowan
I checked wall charger yesterday and it seems the behavior is the same. IMO this is a separate bug in that the device should be able to suspend when on the wall charger as this is not an active usb data connection. -- You received this bug notification because you are a member of Ubuntu Bugs, whi

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Ken VanDine
My branch that disconnects from the signals on suspend and connect again on resume doesn't really fix this. I did make the system-settings code more efficient, but actually it doesn't connect to device-changed signals. Only device-added and device-removed. There are some places where we call som

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Martin Pitt
** Changed in: ubuntu-system-settings (Ubuntu) Status: Incomplete => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1337200 Title: High CPU due to excessive device changed signals

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~ken-vandine/ubuntu-system-settings/lp1337200 ** Branch linked: lp:~ken-vandine/ubuntu-system-settings/rtm-lp1337200 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1337200 Title:

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Martin Pitt
OK, Pat's upower log also by and large just reflects the kernel events. We discussed that on IRC, and we think that there's two different issues here: * The main problem is that system-settings subscribes to D-BUS signals (from upower), and then goes to sleep. When it wakes back up, it receives a

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Pat McGowan
** Attachment added: "output of upower" https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1337200/+attachment/4260030/+files/up.out -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Martin Pitt
Update: turns out that the udevadm log from above is irrelevant -- it was taken when system-settings was *not* spinning. So this is back to being the most likely cause. Can you please do a monitoring event while system-settings *is* spinning? -- You received this bug notification because you are

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Martin Pitt
That shows that the kernel sends us an update for all 4 power supplies every 10 seconds, which doesn't sound "excessive". So I'm glad that we at least ruled out this end. So going one step up the stack, could you run "upower --monitor-detail" when this happens? In theory this should exactly mirror

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Martin Pitt
(It's not triaged for me -- I can't reproduce this at all, and I don't have a Krillin) ** Changed in: ubuntu-system-settings (Ubuntu) Status: Triaged => Incomplete ** Changed in: ubuntu-system-settings (Ubuntu) Assignee: Martin Pitt (pitti) => (unassigned) -- You received this bug n

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Pat McGowan
** Tags added: ota-1 rtm14 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1337200 Title: High CPU due to excessive device changed signals from upower To manage notifications about this bug go to: ht

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Ken VanDine
** Changed in: ubuntu-system-settings (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) ** Changed in: ubuntu-system-settings (Ubuntu) Status: Incomplete => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. http

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Ken VanDine
This is the output from "udevadm monitor -e" over the course of a little over a minute ** Attachment added: "Output from udevadm monitor -e" https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1337200/+attachment/4259977/+files/upower.log -- You received this bug notificati

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-11-13 Thread Ken VanDine
dmesg from the same time as the udevadm output attached previously ** Attachment added: "dmesg" https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1337200/+attachment/4259990/+files/dmesg.log -- You received this bug notification because you are a member of Ubuntu Bugs, wh

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-10-31 Thread Selene Scriven
I think I've been seeing this bug too, but haven't looked into it in detail. Basically, if I leave the phone idle overnight, it's extremely slow when I try to use it in the morning... and dbus-daemon is constantly pegging the CPU. 'top' generally shows that dbus-daemon has a few hours worth of C

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-10-10 Thread Martin Pitt
(I'm still subscribed, just unassigning while this is incomplete) ** Changed in: ubuntu-system-settings (Ubuntu) Assignee: Martin Pitt (pitti) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-09-16 Thread Martin Pitt
On a device/in a situation which reproduces this, can you please run udevadm monitor -e I expect that there is a high frequency of uevents related to the battery from the kernel's battery driver. These get relayed through udev and upower to U-S-S. In particular we need to see if there are any p

[Bug 1337200] Re: High CPU due to excessive device changed signals from upower

2014-09-11 Thread Pat McGowan
@martin would you mind looking at this and giving feedback ** Summary changed: - U-S-S sluggish after some hours, high CPU + High CPU due to excessive device changed signals from upower ** Changed in: ubuntu-system-settings (Ubuntu) Assignee: (unassigned) => Martin Pitt (pitti) -- You rec