Openmoko Bug #1729: pulseaudio consumes 6% cpu time constantly
Openmoko Public Trac
bugs at docs.openmoko.org
Sat Aug 2 21:30:09 CEST 2008
#1729: pulseaudio consumes 6% cpu time constantly
---------------------+------------------------------------------------------
Reporter: lindi | Owner: openmoko-devel
Type: defect | Status: new
Priority: normal | Milestone:
Component: unknown | Version:
Severity: normal | Keywords:
Blocking: | Blockedby:
---------------------+------------------------------------------------------
Steps to reproduce:
1) boot the system
Expected results:
1) system should be mostly idle
Actual results:
1) pulseaudio consumes 6% cpu time according to top.
More info:
1) I am using
http://buildhost.openmoko.org/daily/freerunner/200807/20080722/Openmoko-
openmoko-devel-image-glibc-ipk-P1-Snapshot-20080722-om-gta02.rootfs.jffs2
http://buildhost.openmoko.org/daily/freerunner/200807/20080730/uImage-2.6.24+git25+8533927964761f4e2078ccd8607b90f5acc60b93-r1
-om-gta02.bin
on freerunner.
2) strace -p `pidof pulseaudio` -f -o /tmp/s -s245 -tt shows the following
patterns:
{{{
1381 22:15:42.054924 SYS_298(0x8001, 0x411d3cfc, 0x2, 0x1000, 0x3952634c)
= 0
1381 22:15:42.058088 SYS_298(0x8001, 0x411d3d62, 0x1, 0x1800, 0x4ccc8) =
0
1381 22:15:42.059321 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.061548 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.062966 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.064297 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.065431 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.066598 SYS_298(0x8001, 0x411d3cfc, 0x2, 0x1000, 0x39527000)
= 0
1381 22:15:42.071400 SYS_298(0x8001, 0x411d3d62, 0x1, 0x1800, 0x4ccc8) =
0
1381 22:15:42.072529 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.073744 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.075161 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.076298 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.077434 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.078697 SYS_298(0x8001, 0x411d3cfc, 0x2, 0x1000, 0x39528000)
= 0
1381 22:15:42.083701 SYS_298(0x8001, 0x411d3d62, 0x1, 0x1800, 0x4ccc8) =
0
1381 22:15:42.084831 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.086077 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.087488 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.088713 ioctl(17, 0xc0844123, 0x4e668) = 0
1381 22:15:42.091026 ioctl(17, 0xc0844123, 0x4e668) = 0
}}}
and
{{{
# ls -l /proc/1381/fd/17
lrwx------ 1 root root 64 Aug 2 22:16 /proc/1381/fd/17
-> /dev/snd/pcmC0D0p
}}}
shows that it is really talking to the sound card.
--
Ticket URL: <https://docs.openmoko.org/trac/ticket/1729>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac
More information about the devel
mailing list