2013-10-03 14:08:31 |
Colin Ian King |
bug |
|
|
added bug |
2013-10-03 14:08:31 |
Colin Ian King |
attachment added |
|
trace of init on Samsung galaxy nexus https://bugs.launchpad.net/bugs/1234743/+attachment/3857552/+files/init.txt |
|
2013-10-03 14:41:13 |
Colin Ian King |
upstart (Ubuntu): importance |
Undecided |
High |
|
2013-10-03 18:20:37 |
Steve Langasek |
upstart (Ubuntu): status |
New |
Incomplete |
|
2013-10-03 18:20:37 |
Steve Langasek |
upstart (Ubuntu): assignee |
|
James Hunt (jamesodhunt) |
|
2013-10-03 18:20:48 |
Steve Langasek |
bug |
|
|
added subscriber Steve Langasek |
2013-10-04 07:56:05 |
Colin Ian King |
attachment added |
|
syslog.gz https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1234743/+attachment/3858841/+files/syslog.gz |
|
2013-10-04 09:29:58 |
James Hunt |
bug task added |
|
linux (Ubuntu) |
|
2013-10-04 09:30:09 |
Brad Figg |
linux (Ubuntu): status |
New |
Incomplete |
|
2013-10-04 11:21:08 |
Colin Ian King |
attachment added |
|
bug-1234743.log.gz https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1234743/+attachment/3859201/+files/bug-1234743.log.gz |
|
2013-10-04 13:18:32 |
James Hunt |
summary |
init on samsung galaxy nexus is busy and consuming memory when playing an mp4 |
omapfb module floods system with udev events on samsung galaxy nexus when playing mp4 |
|
2013-10-04 13:18:48 |
James Hunt |
bug task deleted |
upstart (Ubuntu) |
|
|
2013-10-04 13:44:22 |
Colin Ian King |
linux (Ubuntu): assignee |
|
Colin King (colin-king) |
|
2013-10-07 13:56:58 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/saucy-proposed/powerd |
|
2013-10-07 13:57:22 |
Launchpad Janitor |
powerd (Ubuntu): status |
New |
Fix Released |
|
2013-10-08 14:10:04 |
Launchpad Janitor |
branch linked |
|
lp:~xnox/upstart/workaround-1234743 |
|
2013-10-09 14:50:25 |
Steve Langasek |
bug task added |
|
upstart |
|
2013-10-10 07:42:52 |
Oliver Grawert |
summary |
omapfb module floods system with udev events on samsung galaxy nexus when playing mp4 |
omapfb module floods system with udev events on samsung galaxy nexus |
|
2013-10-10 13:59:24 |
Colin Ian King |
attachment added |
|
health-check analysis of mp4 playback https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1234743/+attachment/3871908/+files/analysis-mp4-playback.txt |
|
2013-10-15 15:32:13 |
Dimitri John Ledkov |
bug task added |
|
lxc-android-config (Ubuntu) |
|
2013-10-15 15:32:21 |
Dimitri John Ledkov |
lxc-android-config (Ubuntu): status |
New |
Confirmed |
|
2013-10-15 15:32:24 |
Dimitri John Ledkov |
lxc-android-config (Ubuntu): assignee |
|
Dmitrijs Ledkovs (xnox) |
|
2013-10-15 15:34:17 |
Dimitri John Ledkov |
lxc-android-config (Ubuntu): milestone |
|
ubuntu-13.10 |
|
2013-10-15 15:43:20 |
Dimitri John Ledkov |
bug task added |
|
systemd (Ubuntu) |
|
2013-10-15 15:43:31 |
Dimitri John Ledkov |
systemd (Ubuntu): status |
New |
In Progress |
|
2013-10-15 15:43:34 |
Dimitri John Ledkov |
lxc-android-config (Ubuntu): status |
Confirmed |
In Progress |
|
2013-10-15 15:43:38 |
Dimitri John Ledkov |
linux (Ubuntu): status |
Incomplete |
Invalid |
|
2013-10-15 15:43:44 |
Dimitri John Ledkov |
upstart: status |
New |
Fix Released |
|
2013-10-15 15:43:49 |
Dimitri John Ledkov |
systemd (Ubuntu): assignee |
|
Dmitrijs Ledkovs (xnox) |
|
2013-10-16 16:17:03 |
Steve Langasek |
branch linked |
|
lp:~xnox/ubuntu/saucy/systemd/udevd-ignore |
|
2013-10-17 04:08:58 |
Martin Pitt |
systemd (Ubuntu): assignee |
Dmitrijs Ledkovs (xnox) |
Martin Pitt (pitti) |
|
2013-10-17 09:57:49 |
Martin Pitt |
attachment added |
|
udev: filter omapfv VSYNC uevents from netfilter https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1234743/+attachment/3880060/+files/0031-ignore-omap-vsync.patch |
|
2013-10-17 09:58:57 |
Martin Pitt |
attachment added |
|
patched systemd-udevd (ARM) https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1234743/+attachment/3880064/+files/systemd-udevd |
|
2013-10-17 09:59:29 |
Martin Pitt |
attachment added |
|
patched udevadm (ARM) https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1234743/+attachment/3880065/+files/udevadm |
|
2013-10-17 10:05:13 |
Martin Pitt |
systemd (Ubuntu): importance |
Undecided |
High |
|
2013-10-17 10:05:13 |
Martin Pitt |
systemd (Ubuntu): status |
In Progress |
Fix Committed |
|
2013-10-17 11:38:20 |
Dimitri John Ledkov |
lxc-android-config (Ubuntu): status |
In Progress |
Invalid |
|
2013-10-17 12:18:00 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2013-10-18 01:55:24 |
Steve Langasek |
description |
Playing an mp4 on a Samsung Galaxy Nexus using today's image (3 Oct 2013) for 30 minutes I observed that init is busy and also consuming heap quite rapidly.
Attached is the output from running health-check (found in PPA:colin-king/white) on init pid 1114.
Key points:
1. messages being read/written at ~600 messages a second, hence the high context switch rate and ~4.9% CPU load.
2. heap consumption: ~30K a second using brk() and 2K a second via mmap
To reproduce:
Install health-check:
sudo add-apt-repository ppa:colin-king/white
sudo apt-get update && sudo apt-get install health-check
Download a large mp4 to the phone. Keep screen from blanking using:
sudo powerd-cli display on bright &
then play the mp4:
dbus-launch mediaplayer-app test.mp4 --desktop_file_hint=/usr/share/applications/mediaplayer-app.desktop --stage_hint=main_stage
And then observe that init is busy for 300 seconds:
ps -e | grep init
1 ? 00:02:56 init
348 ? 00:00:00 init
1114 ? 00:03:22 init
sudo health-check -p 1114 -d 300
Attached are my results for a 30 minute run. |
[SRU justification]
On the Galaxy Nexus (maguro) phone, the video driver wakes up udev and upstart 60 times a second sending "vsync" uevents. This is a deeply flawed driver design, but we can't easily change it because the userspace side of the driver relies on the current behavior. The only feasible workaround is to have udev filter out these events, so that the device isn't kept busy (with about 5% load) waking up system daemons.
[Test case]
1. Install the updated package on an x86 system.
2. Reboot.
3. Confirm that the machine boots successfully.
4. Install the updated package on a non-maguro arm system.
5. Reboot.
6. Confirm that the machine boots successfully.
7. Install the updated package on a maguro system.
8. Reboot.
9. Confirm that the machine boots successfully.
10. Confirm using 'top' that udev is not taking up a significant percentage of the CPU time.
[Regression potential]
This is a change to a core system daemon, and while the code change is guarded by an architecture check, we should be careful about updating such a core package which could cause regressions, in particular on other ARM devices. The test case should guard against this by ensuring we verify the effect of this change on non-maguro systems prior to releasing the SRU.
Playing an mp4 on a Samsung Galaxy Nexus using today's image (3 Oct 2013) for 30 minutes I observed that init is busy and also consuming heap quite rapidly.
Attached is the output from running health-check (found in PPA:colin-king/white) on init pid 1114.
Key points:
1. messages being read/written at ~600 messages a second, hence the high context switch rate and ~4.9% CPU load.
2. heap consumption: ~30K a second using brk() and 2K a second via mmap
To reproduce:
Install health-check:
sudo add-apt-repository ppa:colin-king/white
sudo apt-get update && sudo apt-get install health-check
Download a large mp4 to the phone. Keep screen from blanking using:
sudo powerd-cli display on bright &
then play the mp4:
dbus-launch mediaplayer-app test.mp4 --desktop_file_hint=/usr/share/applications/mediaplayer-app.desktop --stage_hint=main_stage
And then observe that init is busy for 300 seconds:
ps -e | grep init
1 ? 00:02:56 init
348 ? 00:00:00 init
1114 ? 00:03:22 init
sudo health-check -p 1114 -d 300
Attached are my results for a 30 minute run. |
|
2013-10-18 01:55:32 |
Steve Langasek |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2013-10-18 01:55:37 |
Steve Langasek |
bug |
|
|
added subscriber SRU Verification |
2013-10-18 01:55:45 |
Steve Langasek |
tags |
patch |
patch verification-needed |
|
2013-10-18 16:41:46 |
Steve Langasek |
nominated for series |
|
Ubuntu Saucy |
|
2013-10-18 16:41:46 |
Steve Langasek |
bug task added |
|
linux (Ubuntu Saucy) |
|
2013-10-18 16:41:46 |
Steve Langasek |
bug task added |
|
systemd (Ubuntu Saucy) |
|
2013-10-18 16:41:46 |
Steve Langasek |
bug task added |
|
powerd (Ubuntu Saucy) |
|
2013-10-18 16:41:46 |
Steve Langasek |
bug task added |
|
lxc-android-config (Ubuntu Saucy) |
|
2013-10-18 16:41:46 |
Steve Langasek |
nominated for series |
|
Ubuntu Trusty |
|
2013-10-18 16:41:46 |
Steve Langasek |
bug task added |
|
linux (Ubuntu Trusty) |
|
2013-10-18 16:41:46 |
Steve Langasek |
bug task added |
|
systemd (Ubuntu Trusty) |
|
2013-10-18 16:41:46 |
Steve Langasek |
bug task added |
|
powerd (Ubuntu Trusty) |
|
2013-10-18 16:41:46 |
Steve Langasek |
bug task added |
|
lxc-android-config (Ubuntu Trusty) |
|
2013-10-18 16:42:04 |
Steve Langasek |
tags |
patch verification-done verification-needed |
patch verification-done |
|
2013-10-18 16:42:24 |
Steve Langasek |
linux (Ubuntu Saucy): status |
New |
Invalid |
|
2013-10-18 16:43:44 |
Steve Langasek |
lxc-android-config (Ubuntu Saucy): status |
New |
Invalid |
|
2013-10-18 17:26:28 |
Steve Langasek |
powerd (Ubuntu Saucy): status |
New |
Fix Released |
|
2013-10-18 18:06:37 |
Launchpad Janitor |
systemd (Ubuntu Saucy): status |
New |
Fix Released |
|
2013-10-18 18:06:44 |
Steve Langasek |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2013-10-18 19:40:01 |
Launchpad Janitor |
systemd (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2013-10-21 23:47:13 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/systemd |
|
2013-10-22 20:25:51 |
Tychodickerson |
branch unlinked |
lp:~xnox/ubuntu/saucy/systemd/udevd-ignore |
|
|