clock app on galaxy nexus generates ~2500 context switches a second
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Clock App |
Fix Released
|
High
|
Nekhelesh Ramananthan |
Bug Description
I started up the clock app on a samsung galaxy nexus and I'm seeing:
vmstat 10
procs -------
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 102692 24996 193240 0 0 103 4 628 1324 16 9 75 0
0 0 0 102708 24996 193240 0 0 0 0 1092 2915 17 11 72 0
0 0 0 102708 24996 193240 0 0 0 0 1059 2850 15 11 73 0
2 0 0 102708 24996 193240 0 0 0 0 1069 2848 16 11 74 0
0 0 0 104284 24996 193240 0 0 0 0 1046 2935 16 11 73 0
2 0 0 104256 25012 193240 0 0 0 6 1019 2812 16 10 74 0
so that's ~2500 context switches/sec above the normal "idle" rate and I'm seeing ~25% of available CPU being burnt just to display a clock. That's really power hungry.
Related branches
- Riccardo Padovani: Approve
- Alan Pope 🍺🐧🐱 🦄 (community): Approve
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
-
Diff: 394 lines (+119/-46)7 files modifiedalarm/AlarmPage.qml (+3/-1)
clock/ClockPage.qml (+6/-6)
clock/WorldClock.qml (+2/-2)
common/SettingsPage.qml (+24/-3)
stopwatch/StopwatchPage.qml (+5/-1)
timer/TimerPage.qml (+5/-1)
ubuntu-clock-app.qml (+74/-32)
description: | updated |
Changed in ubuntu-clock-app: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → coreapps-13.10-month-3 |
tags: | added: mobile-power-consumption |
Changed in ubuntu-clock-app: | |
milestone: | coreapps-13.10-month-3 → usable-state |
tags: | added: rls-s-incoming |
Changed in ubuntu-clock-app: | |
milestone: | usable-state → hack-days-13-09 |
Changed in ubuntu-clock-app: | |
milestone: | final-1.0 → backlog |
Changed in ubuntu-clock-app: | |
milestone: | backlog → 1.4 |
Changed in ubuntu-clock-app: | |
milestone: | 1.4 → 1.8 |
Changed in ubuntu-clock-app: | |
status: | Triaged → In Progress |
assignee: | nobody → Nekhelesh Ramananthan (nik90) |
milestone: | 1.8 → 1.6 |
Changed in ubuntu-clock-app: | |
status: | Fix Committed → Fix Released |
Same kind of overhead on a Nexus4. I quick measurement shows this is ~0.33 Watts of power on the Nexus 4