Re: High latency in Mina ?

2007-04-18 Thread peter royal
On Mar 30, 2007, at 10:26 AM, Emmanuel Lecharny wrote: I have done this test on my desktop, with a client on my desktop, or with a client on another desktop (100 Mb/s ethernet). The volume of transfered data is not enormous, it's around 1kb per message, so for 2000 messages per second, it's

Re: [Fwd: Re: High latency in Mina ?]

2007-03-31 Thread Emmanuel Lecharny
Alex Karasulu a écrit : Emmanuel, I have done some more test, on the 'big server' ( 8 CPUs), changing the SocketAcceptor initialization with something like what you suggested : tcpAcceptor = new SocketAcceptor( Runtime.getRuntime().availableProcessors(), threadPoolExecutor

Re: [Fwd: Re: High latency in Mina ?]

2007-03-31 Thread Emmanuel Lecharny
James Im a écrit : Ok, so you seems to have missed a 'go fast' parameter. In my opinion, it is not your fault. It is mina that is not being user friendly. MINA should take care of these details itself. This optimization wisdom should be capture into mina so that everyone is not forced to be

RE: High latency in Mina ?

2007-03-30 Thread Gaston Dombiak
:26 AM To: dev@mina.apache.org Subject: High latency in Mina ? Hi guys, I'm currently doing some performance tests on Apache Directory Server, and I'm a little bit puzzled but some of the results I get. First of all, we are using MINA-1.0.1, with different JVM (JRockit, IBM, Sun) on different

Re: High latency in Mina ?

2007-03-30 Thread Emmanuel Lecharny
Subject: High latency in Mina ? Hi guys, I'm currently doing some performance tests on Apache Directory Server, and I'm a little bit puzzled but some of the results I get. First of all, we are using MINA-1.0.1, with different JVM (JRockit, IBM, Sun) on different platforms (Linux, Mac OSx

Re: High latency in Mina ?

2007-03-30 Thread Emmanuel Lecharny
Csaba Endre Simon a écrit : Hi Emmanuel, Hi Csaba, I'm a little bit puzzled but some of the results I get. First of all, we are using MINA-1.0.1, with different JVM (JRockit, IBM, Sun) on different platforms (Linux, Mac OSx). The published results are on Linux? What kernel are you

[Fwd: Re: High latency in Mina ?]

2007-03-30 Thread Emmanuel Lecharny
Oops, I just forgot the reply all... ---BeginMessage--- Greg, I have done some more test, on the 'big server' ( 8 CPUs), changing the SocketAcceptor initialization with something like what you suggested : tcpAcceptor = new SocketAcceptor(

Re: [Fwd: Re: High latency in Mina ?]

2007-03-30 Thread Greg Duffy
just forgot the reply all... -- Forwarded message -- From: Emmanuel Lecharny [EMAIL PROTECTED] To: Greg Duffy [EMAIL PROTECTED] Date: Sat, 31 Mar 2007 00:34:40 +0200 Subject: Re: High latency in Mina ? Greg, I have done some more test, on the 'big server' ( 8 CPUs), changing

Re: [Fwd: Re: High latency in Mina ?]

2007-03-30 Thread Alex Karasulu
Emmanuel, I have done some more test, on the 'big server' ( 8 CPUs), changing the SocketAcceptor initialization with something like what you suggested : tcpAcceptor = new SocketAcceptor( Runtime.getRuntime().availableProcessors(), threadPoolExecutor ); (we already have this

Re: [Fwd: Re: High latency in Mina ?]

2007-03-30 Thread Greg Duffy
That is correct, this is a relevant fix for improved performance on most server machines, especially with multi-core quickly becoming ubiquitous. It wouldn't be hard to change the default constructor. Perhaps you could open a JIRA issue to request this, or submit a small patch, as MINA developers