I have same problem on Ubuntu 8.04. White doing nothing pulseaudio uses
4-15% CPU.

Here is output of strace:
read(14, "\1\0\0\0\0\0\0\0", 8)         = 8
sendto(40, "\0\0\0\24\377\377\377\377\0\0\0\0\0\0\0\0\0\0\0\0", 20, 
MSG_NOSIGNAL, NULL, 0) = 20
gettimeofday({1227119468, 439164}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=40, events=POLLIN|POLLOUT, 
revents=POLLIN|POLLOUT}, {fd=39, events=POLLIN}, {fd=9, events=POLLIN}, {fd=38, 
events=POLLIN}, {fd=37, events=POLLIN}, {fd=36, events=POLLIN}, {fd=35, 
events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, 
events=POLLIN}, {fd=31, events=POLLIN}, {fd=30, events=POLLIN}, {fd=27, 
events=POLLIN}, {fd=29, events=POLLIN}, {fd=22, events=POLLIN}, {fd=28, 
events=POLLIN}, {fd=16, events=POLLIN}, {fd=15, events=POLLIN}, {fd=21, 
events=POLLIN}, {fd=26, events=POLLIN}, {fd=25, events=POLLIN}, {fd=24, 
events=POLLIN}, {fd=23, events=POLLIN}, {fd=20, events=POLLIN}, {fd=14, 
events=POLLIN}, {fd=10, events=POLLIN|POLLERR|POLLHUP}, {fd=10, events=0}, 
{fd=7, events=POLLIN}, {fd=5, events=POLLIN}], 30, 729) = 1
gettimeofday({1227119468, 439266}, NULL) = 0
recvmsg(40, {msg_name(0)=NULL, 
msg_iov(1)=[{"L\0\0\0\16L\0\0\4pL\0\0\0\0TI$[l\0\5\340\332", 24}], 
msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET, 
cmsg_type=SCM_CREDENTIALS{pid=7692, uid=1000, gid=1000}}, msg_flags=0}, 0) = 24
write(12, "\1\0\0\0\0\0\0\0", 8)        = 8
write(12, "\1\0\0\0\0\0\0\0", 8)        = 8
gettimeofday({1227119468, 440393}, NULL) = 0
sendto(40, "L\0\0\0=L\377\377\377\377L\0\0\0\0L\0\0000\0", 20, MSG_NOSIGNAL, 
NULL, 0) = 20
gettimeofday({1227119468, 440555}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=40, events=POLLIN|POLLOUT, 
revents=POLLIN|POLLOUT}, {fd=39, events=POLLIN}, {fd=9, events=POLLIN}, {fd=38, 
events=POLLIN}, {fd=37, events=POLLIN}, {fd=36, events=POLLIN}, {fd=35, 
events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, 
events=POLLIN}, {fd=31, events=POLLIN}, {fd=30, events=POLLIN}, {fd=27, 
events=POLLIN}, {fd=29, events=POLLIN}, {fd=22, events=POLLIN}, {fd=28, 
events=POLLIN}, {fd=16, events=POLLIN}, {fd=15, events=POLLIN}, {fd=21, 
events=POLLIN}, {fd=26, events=POLLIN}, {fd=25, events=POLLIN}, {fd=24, 
events=POLLIN}, {fd=23, events=POLLIN}, {fd=20, events=POLLIN}, {fd=14, 
events=POLLIN, revents=POLLIN}, {fd=10, events=POLLIN|POLLERR|POLLHUP}, {fd=10, 
events=0}, {fd=7, events=POLLIN}, {fd=5, events=POLLIN}], 30, 728) = 2
gettimeofday({1227119468, 440659}, NULL) = 0
recvmsg(40, {msg_name(0)=NULL, 
msg_iov(1)=[{"\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\200\0\0\0", 20}], 
msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET, 
cmsg_type=SCM_CREDENTIALS{pid=7692, uid=1000, gid=1000}}, msg_flags=0}, 0) = 20
sendto(40, "\0\0\0\0\377\377\377\377\0\0\0&[EMAIL PROTECTED]", 20, 
MSG_NOSIGNAL, NULL, 0) = 20
read(14, "\1\0\0\0\0\0\0\0", 8)         = 8
gettimeofday({1227119468, 440814}, NULL) = 0
poll([{fd=3, events=POLLIN}, {fd=40, events=POLLIN|POLLOUT, 
revents=POLLIN|POLLOUT}, {fd=39, events=POLLIN}, {fd=9, events=POLLIN}, {fd=38, 
events=POLLIN}, {fd=37, events=POLLIN}, {fd=36, events=POLLIN}, {fd=35, 
events=POLLIN}, {fd=34, events=POLLIN}, {fd=33, events=POLLIN}, {fd=32, 
events=POLLIN}, {fd=31, events=POLLIN}, {fd=30, events=POLLIN}, {fd=27, 
events=POLLIN}, {fd=29, events=POLLIN}, {fd=22, events=POLLIN}, {fd=28, 
events=POLLIN}, {fd=16, events=POLLIN}, {fd=15, events=POLLIN}, {fd=21, 
events=POLLIN}, {fd=26, events=POLLIN}, {fd=25, events=POLLIN}, {fd=24, 
events=POLLIN}, {fd=23, events=POLLIN}, {fd=20, events=POLLIN}, {fd=14, 
events=POLLIN}, {fd=10, events=POLLIN|POLLERR|POLLHUP}, {fd=10, events=0}, 
{fd=7, events=POLLIN}, {fd=5, events=POLLIN}], 30, 728) = 1
gettimeofday({1227119468, 440927}, NULL) = 0
recvmsg(40, {msg_name(0)=NULL, msg_iov(1)=[{"[EMAIL PROTECTED]", 16}], 
msg_controllen=32, {cmsg_len=28, cmsg_level=SOL_SOCKET, 
cmsg_type=SCM_CREDENTIALS{pid=7692, uid=1000, gid=1000}}, msg_flags=0}, 0) = 16
write(12, "\1\0\0\0\0\0\0\0", 8)        = 8

This section repeats zillion-times

As you can see it uses sockets 12,14 and 40 communicate to other
processes.

Here is output of lsof:
pulseaudi 6312 ivan   12u  0000                0,6       0    513 
/anon_inode:[eventfd]
pulseaudi 6312 ivan   13u  0000                0,6       0    513 
/anon_inode:[eventfd]
pulseaudi 6312 ivan   14u  0000                0,6       0    513 
/anon_inode:[eventfd]
pulseaudi 6312 ivan   40u  unix 0xffff8100271c1340          32789 
/tmp/pulse-ivan/native

-- 
pulseaudio uses too much CPU
https://bugs.launchpad.net/bugs/207135
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to