[sip-comm-dev] Very high CPU usage with PulseAudio on Linux (Debian Squeeze)


#1

Hello,

I recently installed PulseAudio on my 2 desktops running Debian Squeeze. Since then Sip Communicator has very high CPU usage even on voice-only calls (on my core2duo it reaches ~180% sometimes, on the single-core Athlon 3200+ 85% (the rest is the pulseaudio process) and the sound stutters. The high CPU usage occurs only when the audio is routed through PulseAudio.
I have a laptop w/core2duo@2.00 GHz (Debian Squeeze also) that has PulseAudio installed on it a long time ago and Sip Communicator was working at ~40-50% CPU with PulseAudio with bluetooth, and with the internal sound card it was at ~20%, but recently it too has 100+ % CPU taken by the java process. So it is possible that more recent builds brought this change (and maybe the ALSA 1.0.23 upgrade of Debian Squeeze has to do with it too?).
PulseAudio 9.21, ALSA 1.0.23.

Any ideas of what might cause this?

Regards,
Kertesz Laszlo

···

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

Sip Communicator has very high CPU usage even on voice-only calls

I'd suggest using OProfile with its Java-profiling extension to locate
the modules and functions which cause the high CPU usage.

So it is possible that more recent builds brought this change

Well, it is quite possible because I rewrote a great deal of the
PortAudio support in SIP Communicator on the Java and the JNI sides in
order to support wideband audio.

···

On Fri, Jun 25, 2010 at 10:15 AM, Kertesz Laszlo <laszlo.kertesz@gmail.com> wrote:

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net