[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-18 Thread Colin King
[Test case]
1. Install the updated package on an x86 system.
2. Reboot.
3. Confirm that the machine boots successfully.

Check on Lenovo x220. Works OK. Passed.

4. Install the updated package on a non-maguro arm system.
5. Reboot.
6. Confirm that the machine boots successfully.

Checked on LG Nexus 4. Works OK. Passed.

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.

Checked on Samsung Galaxy Nexus.   udev is not busy, looks good to me.
Thanks!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Invalid
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-18 Thread Martin Pitt
tag verification-done

Thanks Colin for the comprehensive testing!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Invalid
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-18 Thread Steve Langasek
** Changed in: powerd (Ubuntu Saucy)
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Invalid
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed
Status in “linux” source package in Saucy:
  Invalid
Status in “lxc-android-config” source package in Saucy:
  Invalid
Status in “powerd” source package in Saucy:
  Fix Released
Status in “systemd” source package in Saucy:
  New
Status in “linux” source package in Trusty:
  Invalid
Status in “lxc-android-config” source package in Trusty:
  Invalid
Status in “powerd” source package in Trusty:
  Fix Released
Status in “systemd” source package in Trusty:
  Fix Committed

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-18 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 204-0ubuntu19

---
systemd (204-0ubuntu19) saucy; urgency=low

  * Add 0031-ignore-omap-vsync.patch: Gross, but effective hack to ignore
VSYNC change uevents from omapfb, as they happen at each vsync and thus
keep waking up udevd (including rules processing), upstart, and other
parts of the system 60 times a second. (LP: #1234743)
 -- Martin Pitt martin.p...@ubuntu.com   Thu, 17 Oct 2013 12:01:42 +0200

** Changed in: systemd (Ubuntu Saucy)
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Invalid
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed
Status in “linux” source package in Saucy:
  Invalid
Status in “lxc-android-config” source package in Saucy:
  Invalid
Status in “powerd” source package in Saucy:
  Fix Released
Status in “systemd” source package in Saucy:
  Fix Released
Status in “linux” source package in Trusty:
  Invalid
Status in “lxc-android-config” source package in Trusty:
  Invalid
Status in “powerd” source package in Trusty:
  Fix Released
Status in “systemd” source package in Trusty:
  Fix Committed

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-18 Thread Launchpad Bug Tracker
This bug was fixed in the package systemd - 204-0ubuntu19

---
systemd (204-0ubuntu19) saucy; urgency=low

  * Add 0031-ignore-omap-vsync.patch: Gross, but effective hack to ignore
VSYNC change uevents from omapfb, as they happen at each vsync and thus
keep waking up udevd (including rules processing), upstart, and other
parts of the system 60 times a second. (LP: #1234743)
 -- Martin Pitt martin.p...@ubuntu.com   Thu, 17 Oct 2013 12:01:42 +0200

** Changed in: systemd (Ubuntu Trusty)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Invalid
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Released
Status in “linux” source package in Saucy:
  Invalid
Status in “lxc-android-config” source package in Saucy:
  Invalid
Status in “powerd” source package in Saucy:
  Fix Released
Status in “systemd” source package in Saucy:
  Fix Released
Status in “linux” source package in Trusty:
  Invalid
Status in “lxc-android-config” source package in Trusty:
  Invalid
Status in “powerd” source package in Trusty:
  Fix Released
Status in “systemd” source package in Trusty:
  Fix Released

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-17 Thread Martin Pitt
This is systemd-udevd with the patch, built on the Ubuntu armhf porter
box. That's what I used for testing on the maguro.

** Attachment added: patched systemd-udevd (ARM)
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1234743/+attachment/3880064/+files/systemd-udevd

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-17 Thread Martin Pitt
This patch adds netlink filter rules to ignore change events from omapfb
if they are long enough to be a VSYNC event. It is a rather gross hack,
I don't want to expect the VSYNC= at a specific place in the raw packet
as the order or length of the other properties might change. But I
verified that doing a manual echo change | tee
/sys/devices/platform/omapfb/uevent still gets through, whereas the
offending vsync events are now quiet and don't wake up anything any
more.

For testing, I ran my locally built udev with sudo stop udev, sudo
./systemd-udevd --daemon, started a monitor with ./udevadm monitor
-e, and then:

 * screen activity now does not produce any omapfb change events any
more. Tested remotely with starting and stopping messaging-app  with
start application APP_ID=messaging-app; sleep 5; pkill -e messaging-
app

 * echo change | sudo tee /sys/devices/platform/omapfb/uevent shows
that synthetic uevent on both the KERNEL and LIBUDEV netlink sources.

Thanks to Omer for giving me ssh access to his maguro, which helped to
shorten the turnaround time. This device was running with
SurfaceFlinger, so for making triple sure another test should be done on
Mir.

** Patch 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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-17 Thread Martin Pitt
Steve wanted a 0-day SRU with this so that we can build new phone images
with that included. The way the patch is done is that it doesn't change
anything on !arm; this both avoids potentially breaking
i386/amd64/powerpc, and also avoids penalizing those platforms with the
unnecessary extra netlink filter code. I uploaded it to unapproved to
avoid blocking on that upload. But please feel free to reject if you
would like the patch done in a different way, or some regression comes
up during testing with the attached binaries.

** Changed in: systemd (Ubuntu)
   Importance: Undecided = High

** Changed in: systemd (Ubuntu)
   Status: In Progress = Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-17 Thread Martin Pitt
This is udevadm with the patch.

** Attachment added: patched udevadm (ARM)
   
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1234743/+attachment/3880065/+files/udevadm

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-17 Thread Colin King
Martin: tested this fix and it definitely stops the messages.  Thanks!

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-17 Thread Dmitrijs Ledkovs
** Changed in: lxc-android-config (Ubuntu)
   Status: In Progress = Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Invalid
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-17 Thread Thomas Voß
On top of pitti's patch, we should ensure that Mir correctly calls into
the power HAL as in
https://android.googlesource.com/platform/frameworks/native/+/03e407270c7ad76632f982c886d0776bed9e9b4c/services/surfaceflinger/DisplayHardware/PowerHAL.cpp:47.
We ignored the call as it is a no-op on Mako.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Invalid
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-17 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Invalid
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-17 Thread Steve Langasek
I agree, this is a horrible, horrible patch; and thank you very much for
writing it.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Invalid
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug description:
  [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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-17 Thread Steve Langasek
Hello Colin, or anyone else affected,

Accepted systemd into saucy-proposed. The package will build now and be
available at http://launchpad.net/ubuntu/+source/systemd/204-0ubuntu19
in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Description changed:

+ [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. 
+ 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
+ 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.

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Invalid
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  Fix Committed

Bug description:
  [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 

[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-16 Thread Steve Langasek
** Branch linked: lp:~xnox/ubuntu/saucy/systemd/udevd-ignore

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  In Progress

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-16 Thread Martin Pitt
Can anyone confirm that you see these bits:

DRIVER=omapfb
VSYNC=number

in udevadm monitor --kernel -e on that device? It would be really
strange if not, I just want to make double-sure about that before I
start working on a fix tomorrow morning.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  In Progress

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-16 Thread Colin King
@Martin, output from udevadm monitor --kernel -e

KERNEL[71.872711] change   /devices/platform/omapfb (platform)
ACTION=change
DEVPATH=/devices/platform/omapfb
DRIVER=omapfb
MODALIAS=platform:omapfb
SEQNUM=4650
SUBSYSTEM=platform
VSYNC=71872436527

KERNEL[71.889678] change   /devices/platform/omapfb (platform)
ACTION=change
DEVPATH=/devices/platform/omapfb
DRIVER=omapfb
MODALIAS=platform:omapfb
SEQNUM=4651
SUBSYSTEM=platform
VSYNC=71889404300

etc..

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  In Progress

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-16 Thread Martin Pitt
Taking over from Dmitrijs as per Steve's request, Dmitrijs got pulled
into installer bugs.

** Changed in: systemd (Ubuntu)
 Assignee: Dmitrijs Ledkovs (xnox) = Martin Pitt (pitti)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  In Progress

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-16 Thread Martin Pitt
 Which appears to be getting a FD to kernel event source, via socket
created by
https://android.googlesource.com/platform/hardware/libhardware_legacy/+/android-4.3_r3/uevent/uevent.c

 so if we filter those VSYNC events on the udev source, systemd-udev
 upstart  et al user space shouldn't be spammed with those and the
driver will still work.

Note, ideally we would already filter them at the kernel netlink
source, so that udevd doesn't have to wake up 60 times a second.
Filtering them at the libudev source would avoid waking up clients,
but not udevd itself. However, that requires matching (kernel)
properties in the netlink packet with only the rather limited set of
instructions from http://www.gsp.com/cgi-
bin/man.cgi?section=4topic=bpf#5 . I'll try that, but if it turns out
to be impractical, I'll instead add a hack to at least short-circuit
those in udevd, avoid all rules processing, and not forward them to the
libudev netlink source. That'll keep the udevd wakeups but at least
minimize the resources spent for each one.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  In Progress

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-16 Thread Martin Pitt
 Note, ideally we would already filter them at the kernel netlink
source

That's possible because that android driver doesn't use libudev to get
these events, but sets up its own netlink socket. We really don't want
to see these events anywhere else.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  In Progress

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-15 Thread Dmitrijs Ledkovs
when systemd-udevd bug #1235649 is implemented lxc-android-config should
include a udev rule to tag the offending device with tag ignore.

** Also affects: lxc-android-config (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: lxc-android-config (Ubuntu)
   Status: New = Confirmed

** Changed in: lxc-android-config (Ubuntu)
 Assignee: (unassigned) = Dmitrijs Ledkovs (xnox)

** Changed in: lxc-android-config (Ubuntu)
Milestone: None = ubuntu-13.10

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  New
Status in “linux” package in Ubuntu:
  Incomplete
Status in “lxc-android-config” package in Ubuntu:
  Confirmed
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-15 Thread Dmitrijs Ledkovs
Actually ignore #25.

This bug is about spam from the omapfb modules:
- spam is blocked/ignored in upstart-udev-bridge - Fix Released
- we still need the kernel uevent in linux package - Invalid
- systemd (udevd) should gain ability to ignore events from certain devices (by 
tag) - In progress
- lxc-android-config should tag spammy devices (by tag) with .rules snippet - 
In progress

** Also affects: systemd (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: systemd (Ubuntu)
   Status: New = In Progress

** Changed in: lxc-android-config (Ubuntu)
   Status: Confirmed = In Progress

** Changed in: linux (Ubuntu)
   Status: Incomplete = Invalid

** Changed in: upstart
   Status: New = Fix Released

** Changed in: systemd (Ubuntu)
 Assignee: (unassigned) = Dmitrijs Ledkovs (xnox)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  Fix Released
Status in “linux” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  In Progress
Status in “powerd” package in Ubuntu:
  Fix Released
Status in “systemd” package in Ubuntu:
  In Progress

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus when playing mp4

2013-10-10 Thread Oliver Grawert
pitti pointed on IRC to
https://android.googlesource.com/kernel/msm/+/57195292 ... which doesnt
help for our driver, but the problem does not seem to be uniqe

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  New
Status in “linux” package in Ubuntu:
  Incomplete
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus when playing mp4

2013-10-10 Thread Oliver Grawert
adjusting bug description, this is sadly a constant condition, not
related to movie playback

** Summary changed:

- 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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  New
Status in “linux” package in Ubuntu:
  Incomplete
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-10 Thread Oliver Grawert
h !

look what i found !

http://review.cyanogenmod.org/#/c/28068/

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  New
Status in “linux” package in Ubuntu:
  Incomplete
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-10 Thread Oliver Grawert
i cut that down to http://paste.ubuntu.com/6217518/, applied it and
built a kernel ... sadly now Mir does not start at all, SurfaceFlinger
does, but is very slow and complains:

W/SurfaceFlinger(  659): Timed out waiting for hw vsync; faking it

so i guess for using this patch some changes on the userspace side to
actually use sysfs instead of uevents is required

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  New
Status in “linux” package in Ubuntu:
  Incomplete
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-10 Thread Colin King
isn't that's kind of what we concluded back in comment #11?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  New
Status in “linux” package in Ubuntu:
  Incomplete
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-10 Thread Colin King
I believe the library /vendor/lib/hw/hwcomposer.omap4.so depends on
these VSYNCs, I'm unsure how the plumbing works between the kernel and
this library - is this proprietary code?

The kernel just shoves these VSYNC uevents outs for the
hwcompiser.omap4.so to handle. I am of the current understanding that it
is not used by anything else.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  New
Status in “linux” package in Ubuntu:
  Incomplete
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus

2013-10-10 Thread Colin King
@Dmitrijs,

Today's image is far better,   see the attached data for mediaplayer-
app, unity8 and init when playing an mp4.  You will see that init is now
far less loaded and not being saturated by events and hence not context
switching like crazy.


** Attachment added: health-check analysis of mp4 playback
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1234743/+attachment/3871908/+files/analysis-mp4-playback.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus

Status in Upstart:
  New
Status in “linux” package in Ubuntu:
  Incomplete
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus when playing mp4

2013-10-09 Thread Ricardo Salveti
We can't disable VSYNC uevent, it's required by the driver. All we can
do is to ignore it later on upper layers, such as upstart.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus
  when playing mp4

Status in “linux” package in Ubuntu:
  Incomplete
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus when playing mp4

2013-10-09 Thread Steve Langasek
So upstart's udev bridge needs to have a capability of filtering events.
Adding an upstart upstream task

** Also affects: upstart
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus
  when playing mp4

Status in Upstart:
  New
Status in “linux” package in Ubuntu:
  Incomplete
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus when playing mp4

2013-10-08 Thread Launchpad Bug Tracker
** Branch linked: lp:~xnox/upstart/workaround-1234743

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus
  when playing mp4

Status in “linux” package in Ubuntu:
  Incomplete
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus when playing mp4

2013-10-07 Thread Launchpad Bug Tracker
This bug was fixed in the package powerd -
0.13+13.10.20131007.1-0ubuntu1

---
powerd (0.13+13.10.20131007.1-0ubuntu1) saucy; urgency=low

  [ Seth Forshee ]
  * Don't reset the activity timer for touch events if the screen is of
(LP: #1234743). (LP: #1234743)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 98
 -- Ubuntu daily release ps-jenk...@lists.canonical.com   Mon, 07 Oct 2013 
12:06:34 +

** Branch linked: lp:ubuntu/saucy-proposed/powerd

** Changed in: powerd (Ubuntu)
   Status: New = Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus
  when playing mp4

Status in “linux” package in Ubuntu:
  Incomplete
Status in “powerd” package in Ubuntu:
  Fix Released

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus when playing mp4

2013-10-05 Thread Colin King
Enabling Mir with VSYNC disabled in the omapfb driver leaves me in a
state with just a blank screen. I can login via adb shell, so I need to
debug this a bit deeper.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus
  when playing mp4

Status in “linux” package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus when playing mp4

2013-10-04 Thread Colin King
Thanks James, I will look into what the driver is doing.

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = Colin King (colin-king)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus
  when playing mp4

Status in “linux” package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus when playing mp4

2013-10-04 Thread Colin King
After some digging I've found the following:

1. commit a4e449e8a08e727b8160cb4e4a0367c447148d2f enables
drivers/video/omap2/omapfb/omapfb-main.c to send VSYNC uevents on each
vsync.

2. hwcomposer.omap4.so handles this VSYNC event,  and inspecting
/proc/$pid/maps it appears this is used by surface flinger.

3. reverting this commit does indeed reduce the events as received by
init, however, surface flinger runs incredibly slowly as it does not get
the vsync events.

Since this is a tight coupling between an Android H/W abstraction and
the kernel driver, I'm not sure how we progress on this.  I don't have
the know-how on hwcomposer to figure out how to decouple this.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus
  when playing mp4

Status in “linux” package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1234743] Re: omapfb module floods system with udev events on samsung galaxy nexus when playing mp4

2013-10-04 Thread Steve Langasek
I suppose this is a driver that would still be in the picture when
switching to Mir, and we can't hope to avoid the issue by changing
display servers?  You could test this by following the directions at
https://wiki.ubuntu.com/Touch/Testing/Mir.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1234743

Title:
  omapfb module floods system with udev events on samsung galaxy nexus
  when playing mp4

Status in “linux” package in Ubuntu:
  Incomplete

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1234743/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp