touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #06212
[Bug 1350871] [NEW] location service is waking up at 10Hz causing possible unwanted wakeups
Public bug reported:
I've observed that location service is waking up ~10 times per second
due to a 100ms sleep
ps -ax | grep 2295
2295 ? Ssl 0:00 /usr/bin/ubuntu-location-serviced --bus system --provider gps::Provider
eventstat shows it's the top waking userspace process on the phone:
root@ubuntu-phablet:/# eventstat 300 1
Event/s PID Task Init Function Callback
9.99 2304 ubuntu-location hrtimer_start_range_ns hrtimer_wakeup
health-check shows that this is occuring in a 100ms nanosleep() system
call.
Attached is the output from health-check. Is is possible to use a
select() or poll() rather than a 10Hz non-blocking delay loop to reduce
polling wakeups?
** Affects: location-service (Ubuntu)
Importance: Undecided
Status: New
** Attachment added: "Output of health-check showing polled 10Hz sleep issue"
https://bugs.launchpad.net/bugs/1350871/+attachment/4166674/+files/health-check.log
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to location-service in
Ubuntu.
https://bugs.launchpad.net/bugs/1350871
Title:
location service is waking up at 10Hz causing possible unwanted
wakeups
Status in “location-service” package in Ubuntu:
New
Bug description:
I've observed that location service is waking up ~10 times per second
due to a 100ms sleep
ps -ax | grep 2295
2295 ? Ssl 0:00 /usr/bin/ubuntu-location-serviced --bus system --provider gps::Provider
eventstat shows it's the top waking userspace process on the phone:
root@ubuntu-phablet:/# eventstat 300 1
Event/s PID Task Init Function Callback
9.99 2304 ubuntu-location hrtimer_start_range_ns hrtimer_wakeup
health-check shows that this is occuring in a 100ms nanosleep() system
call.
Attached is the output from health-check. Is is possible to use a
select() or poll() rather than a 10Hz non-blocking delay loop to
reduce polling wakeups?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/location-service/+bug/1350871/+subscriptions
Follow ups
-
[Bug 1350871] Re: location service is waking up at 10Hz causing possible unwanted wakeups
From: Thomas Voß, 2015-10-16
-
[Bug 1350871] Re: location service is waking up at 10Hz causing possible unwanted wakeups
From: Daniel van Vugt, 2015-08-31
-
[Bug 1350871] Re: location service is waking up at 10Hz causing possible unwanted wakeups
From: Daniel van Vugt, 2015-08-28
-
[Bug 1350871] Re: location service is waking up at 10Hz causing possible unwanted wakeups
From: Launchpad Bug Tracker, 2015-06-23
-
[Bug 1350871] Re: location service is waking up at 10Hz causing possible unwanted wakeups
From: Thomas Strehl, 2014-09-05
-
[Bug 1350871] Re: location service is waking up at 10Hz causing possible unwanted wakeups
From: Colin Ian King, 2014-09-02
-
[Bug 1350871] Re: location service is waking up at 10Hz causing possible unwanted wakeups
From: Thomas Strehl, 2014-08-20
-
[Bug 1350871] Re: location service is waking up at 10Hz causing possible unwanted wakeups
From: Jean-Baptiste Lallement, 2014-08-19
-
[Bug 1350871] Re: location service is waking up at 10Hz causing possible unwanted wakeups
From: Thomas Voß, 2014-08-01
-
[Bug 1350871] Re: location service is waking up at 10Hz causing possible unwanted wakeups
From: Colin Ian King, 2014-08-01
-
[Bug 1350871] [NEW] location service is waking up at 10Hz causing possible unwanted wakeups
From: Colin Ian King, 2014-07-31
References