System Settings Updates/Storage pages lead to high cpu usage even there is no network/io activity
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
Medium
|
Bill Filler | ||
| | ubuntu-system-settings (Ubuntu) |
Medium
|
Ken VanDine | ||
Bug Description
In normal case, Arale consumes ~310mA (brightness 1160) when stay in all other system settings pages. But when navigate to either Updates or Storage page, power meter readings raise to 700mA (brightness 1160) immediately and never go down again until screen dim (brightness 60), at which Arale still takes ~600mA while other pages take ~110mA.
STR:
1. disable idle lock at "System Settings" / "Security & Privacy" / "Lock when idle" => Never
2. navigate to "System Settings" / "Updates" and check power meter readings before and after screen dim
3. navigate to "System Settings" / "About this phone" / "Storage" and check power meter readings before and after screen dim
Expect:
Power meter readings go down to 310mA before screen dim and 110mA after.
Actual:
1. Updates page:
power meter readings stay in ~700mA before screen dim and ~600mA after. `top` reveals that system-settings process takes 25% cpu time, unity8 takes ~35%, unity-system-
2. Storage page: power meter readings stay in ~740mA before screen dim and ~620mA after. `top` reveals that system-settings process takes >40% cpu time, unity8 takes 33%, unity-system-
$ system-image-cli -i
current build number: 7
device name: arale
channel: ubuntu-
last update: 2015-05-30 00:04:38
version version: 7
version ubuntu: 20150529.1
version device: 20150522-a851049
version custom: 20150529.1
$ apt-cache policy unity8
unity8:
Installed: 8.02+15.
Candidate: 8.02+15.
Version table:
*** 8.02+15.
1001 http://
100 /var/lib/
8.
500 http://
$ apt-cache policy ubuntu-
ubuntu-
Installed: 0.3+15.
Candidate: 0.3+15.
Version table:
*** 0.3+15.
1001 http://
100 /var/lib/
0.
500 http://
Related branches
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-12-03
- Sebastien Bacher (community): Approve on 2015-12-03
-
Diff: 11 lines (+1/-1)1 file modifiedplugins/about/StorageItem.qml (+1/-1)
| Vicamo Yang (vicamo) wrote : | #1 |
| Vicamo Yang (vicamo) wrote : | #2 |
netstat, ethstatus and iotop show no network or I/O activity at the two pages.
| Vicamo Yang (vicamo) wrote : | #3 |
Update summary because one doesn't need a power meter to verify this issue. Just run `top` and you'll find CPU usage rise. I would like to have some profiling on unity/system-
| summary: |
- System Settings Updates/Storage pages consume 700mA or more even there + System Settings Updates/Storage pages lead to high cpu usage even there is no network/io activity |
| Launchpad Janitor (janitor) wrote : | #4 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in ubuntu-system-settings (Ubuntu): | |
| status: | New → Confirmed |
| Changed in canonical-devices-system-image: | |
| importance: | Undecided → Medium |
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → Bill Filler (bfiller) |
| status: | New → Confirmed |
| milestone: | none → backlog |
| Changed in ubuntu-system-settings (Ubuntu): | |
| assignee: | nobody → Ken VanDine (ken-vandine) |
| importance: | Undecided → Medium |
| Ken VanDine (ken-vandine) wrote : | #5 |
I can no longer reproduce this issue in the updates panel with ubuntu-
I have a branch that fixes the issue in the storage page
| Changed in ubuntu-system-settings (Ubuntu): | |
| status: | Confirmed → In Progress |
| Changed in canonical-devices-system-image: | |
| milestone: | backlog → ww02-2016 |
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → Fix Committed |
| Changed in ubuntu-system-settings (Ubuntu): | |
| status: | In Progress → Fix Committed |
| Launchpad Janitor (janitor) wrote : | #6 |
This bug was fixed in the package ubuntu-
---------------
ubuntu-
[ Ken VanDine ]
* Don't delete previous custom ringtones unless a new custom ringtone
is selected. Set header titled in the picker. (LP: #1519332)
[ jonas-drange ]
* drop /usr/bin/ from USS binary in autopilot tests (LP: #1517488)
-- Ken VanDine <email address hidden> Fri, 04 Dec 2015 16:18:04 +0000
| Changed in ubuntu-system-settings (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| Changed in canonical-devices-system-image: | |
| status: | Fix Committed → Fix Released |


Also reproducible on Krillin:
$ system-image-cli -i touch/stable/ bq-aquaris. es touch/ubuntu- rtm/14. 09
current build number: 22
device name: krillin
channel: ubuntu-
alias: ubuntu-
last update: 2015-06-02 07:17:16
version version: 22
version ubuntu: 20150508
version device: 20150505-db7b5bd
version custom: 20150507-685-29-216
$ apt-cache policy unity8 04.20150406~ rtm-0ubuntu1 04.20150406~ rtm-0ubuntu1 04.20150406~ rtm-0ubuntu1 0 derived. archive. canonical. com/ubuntu- rtm/ 14.09/universe armhf Packages dpkg/status
unity8:
Installed: 8.02+15.
Candidate: 8.02+15.
Version table:
*** 8.02+15.
500 http://
100 /var/lib/
$ apt-cache policy ubuntu- system- settings system- settings: 04.20150430. 1~rtm-0ubuntu1 04.20150430. 1~rtm-0ubuntu1 04.20150430. 1~rtm-0ubuntu1 0 derived. archive. canonical. com/ubuntu- rtm/ 14.09/universe armhf Packages dpkg/status
ubuntu-
Installed: 0.3+15.
Candidate: 0.3+15.
Version table:
*** 0.3+15.
500 http://
100 /var/lib/