@Michael

Thanks again for your help with testing this.

1) When the phone disconnects from an AP, the scan interval drops to
it's lowest possible interval ( 20s ), as the goal is re-connecting as
quick as possible.  It'll eventually drift back to ~60s.

2) I also get the very brief <= 1s stutter when a WiFi scan occurs.  I
mention this in comment #57.

If you look at the output of the dbus get-all-match rules script on mako
( comment #55 ), there are many other processes that are attached to the
system bus and have specified less-than-optimal DBus match rules.  We
should indeed try to work through each project.

That *said*, right now I think we should fix the obvious location-
service issues which can cause the UI to lockup for close to 5-6s.
That needs to be job one.  I added a location-services task ( assigned
to Scott on my team ) to track.   That said, I don't propose we add
tasks to this bug for every other project listed in the dbus match rule
output...  First, we should review with the product team if they're OK
with closing out this bug once the location services fix(es) have
landed.

As for when you see the problem, again it really depends on what the
scan interval is.  If you're connected to an AP, it's ~2m, so you might
not notice the <=1s stutter when it happens.   If the iterval is 15s (
ie. when location-services is in control of scanning ), it's *much* more
noticeable.

My krillin right now is max'd out at 5k rules per loc daemon.  The UI
hangs for 4-5s each time a scan occurs, the frequency is per the above
conditions...  It's really bad when it gets to this point.

So, the fixes I think we need asap are:

 - fix location-services scanning behavior ( when is it supposed to be
turned on, and when is it shut off? seems broken atm )

- fix location-service match rules ( duplicate, and leaks; really only
need one rule for all AccessPoint objects )

It also would be nice to understand why the same DBus traffic needs to
be monitored by all three processes ( see comment #52 for more on this
).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1480877

Title:
  Access points' "PropertiesChanged" dbus signals freeze UI on mobile
  devices

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1480877/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to