[sip-comm-dev] High CPU usage in SIP calls on Linux (Debian Squeeze) and a typo in the Options menu


#1

Hello,

I have an issue with SIP Communicator:

If i call through our SIP server (connected via VPN), sometimes i have 100-110% CPU used by the java process (Athlon II 250 x2 @3.00 GHz CPU) - this happens randomly, usually i have ~45-50% that seems to be a bit high also given that i dont use video and use only the PCMU codec.
The PulseAudio process sometimes goes up to 20-30% additionally, sometimes stays at 6-10%.
The problem is that i cannot reproduce this consisyently, it happens randomly in echo tests and most of the time if i call landlines through the SIP server. It happens on all 3 computers i use (all have the same OS/settings but different hardware).
Other SIP clients (Sflphone, Ekiga, Linphone etc) have no such issues.

The sound quality is very good, i have no interruptions or static but i dont like the fact that i use one CPU core for something that in other SIP clients goes up to max 20-30%.

I use Debian Squeeze with PulseAudio 9.21 (the default version). Disabling PulseAudio i still have a 30-40% java process, but never jumps to 100%.
I have this issue for a long time, probably it is a PortAudio-PulseAudio issue (if i remember correctly at one time this was fixed but then a new PortAudio version was introduced and i have this issue again). I tried to modify PulseAudio's settings to use a sampling rate of 48000, lighter resampling codec (speex-float-0 instead of speex-float-3) but i havent seen any difference.
Any ideas what can i do about this (like possible PulseAudio configuration options)?

The typo:

open the options -> events menu, and you'll see the "Network notifications" misspelled as "Netowrk notifications"

···

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

Hi Kertesz Laszlo,

Re: the high CPU usage in calls on Debian Squeeze and PulseAudio, I
remember you've previously reported it (e.g. the thread "Very high CPU
usage with PulseAudio on Linux (Debian Squeeze)" archived at
https://sip-communicator.dev.java.net/servlets/BrowseList?list=dev&by=thread&from=2975283).
I don't have Debian Squeeze installed, I haven't seen the issue on
Ubuntu and, mostly, I don't know what else to ask you to try (apart
from digging into the problem with OProfile).

Since I'm not sure about the severity and/or the priority of this
issue, could the other SIP Communicator devs please share their
opinions, suggestions?

Regards,
Lyubomir Marinov

···

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


#3

Hi,

Lyubomir Marinov wrote:

Hi Kertesz Laszlo,

Re: the high CPU usage in calls on Debian Squeeze and PulseAudio, I
remember you've previously reported it (e.g. the thread "Very high CPU
usage with PulseAudio on Linux (Debian Squeeze)" archived at
https://sip-communicator.dev.java.net/servlets/BrowseList?list=dev&by=thread&from=2975283).
I don't have Debian Squeeze installed, I haven't seen the issue on
Ubuntu and, mostly, I don't know what else to ask you to try (apart

just fyi, I have the same happening on ubuntu 9.10 (already reported some time ago).

Stefan

···

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


#4

Thanks, Stefan! I believe the thread you refer to is at
https://sip-communicator.dev.java.net/servlets/BrowseList?list=dev&by=thread&from=2918489.
The dump there seems to be from an older version of SIP Communicator
and we not only addressed some problems in the PortAudio
implementation which caused such issues but we also rewrote part of
our code which uses PortAudio since then. Anyway, it's still good to
know that we may have other Linux distributions to reproduce it on.

···

On Tue, Nov 2, 2010 at 1:20 AM, Stefan Sayer <stefan.sayer@googlemail.com> wrote:

just fyi, I have the same happening on ubuntu 9.10 (already reported some
time ago).

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