Java voip program on linux

Martijn Verburg martijnverburg at gmail.com
Sun Feb 23 11:40:12 UTC 2014


Hi Matthew,

I think you may have sent this to the wrong list.  you're probably best off
trying mechanical-sympathy at googlegroups.com

Cheers,
Martijn


On 21 February 2014 23:26, krafczyk <krafczyk.matthew at gmail.com> wrote:

> Hi, I'm trying to use a VOIP program coded in java on linux.
>
> The program seems to cause an unusually high amount of context switches and
> interrupts as reported by the 'dstat' program. For me, typical numbers are
> ~1k for interupts and 20k for context switches, however when this program
> is
> running, I can see numbers as high as 20k for interrupts and 300k for
> context switches. This is easily an order of magnitude larger than normal.
> In addition the program consumes about 130-170% cpu as reported by 'top'.
>
> Now contrast this with when I run the same java program using a windows
> installation of sun java on wine, I see that the program consumes only
> about
> 25% cpu, and the interrupts and context switches stay at a more normal
> level.
>
> What I want to know if anybody knows about any reason why this might be
> happening? and how I can resolve the problem.
>
> This program is interfacing with pulse audio if that's helpful, and I'm
> running ubuntu 13.10 with openjdk 1.7
>
>
>
>
>
> --
> View this message in context:
> http://openjdk.5641.n7.nabble.com/Java-voip-program-on-linux-tp179023.html
> Sent from the OpenJDK General discussion mailing list archive at
> Nabble.com.
>



More information about the discuss mailing list