MINA performance

2007-03-30 Thread Timur I Shipilov
Hi, I spent some time investigating mina performance. I've written two simple multiplexing servers that collect 16 bytes from one connection and send it to all other. One was using mina and another was using NIO directly. Comparison program collects avarage lag in message delivery depending

Re: MINA performance

2007-03-30 Thread Emmanuel Lecharny
Timur, FYI, the attached parts have been removed by the mailer. Could you just post them somwhere so we can read them ? The best solution would be to create a JIRA issue, and to attach those files into it. This is an interesting test you have done. Thanks a lot ! Emmanuel On 3/30/07, Timur I

Re: Tutorial List: Any more to come?

2007-03-30 Thread Rodrigo Madera
We really really really need the documentation. If you want to, make an HTML or Word document and I'll sent it to the Wiki. Please don't get unmotivated because of technical concerns. Even in notepad if you will!! But please write it!! =o) Thanks! Rodrigo Madera On 3/30/07, Mark Webb [EMAIL

Re: Tutorial List: Any more to come?

2007-03-30 Thread Maarten Bosteels
On 3/30/07, Mark Webb [EMAIL PROTECTED] wrote: I started working on the JMX tutorial last night. I would like to be able to: 1) get access to the wiki 2) learn how to edit to the wiki http://www.nabble.com/The-first-step-to-contribute-documentation-tf2697564.html#a7523270 Mark, you should a)

Re: Tutorial List: Any more to come?

2007-03-30 Thread Mark Webb
will do that this weekend. I already have an account (elihusmails). Thank you. On 3/30/07, Maarten Bosteels [EMAIL PROTECTED] wrote: On 3/30/07, Mark Webb [EMAIL PROTECTED] wrote: I started working on the JMX tutorial last night. I would like to be able to: 1) get access to the wiki 2)

memory keeps increasing

2007-03-30 Thread mat
I observed my mina server memory keeps increasing if there is incoming packets, is it normal? My codec extends AbstractMessageDecoder and one session on decoder instance. Thanks.

RE: High latency in Mina ?

2007-03-30 Thread Gaston Dombiak
Hey Emmanuel, I'm not sure I understand your point or if there is a problem. :) I would say that it is fine and even expected to find that most of your CPU time is spent in MINA (or I/O work) if your application is super fast (e.g. does not do much) and all you do is send and receive data to

Re: High latency in Mina ?

2007-03-30 Thread Emmanuel Lecharny
Hi, Gaston, I forgot to tell that even if I use a faster server than the one where I ran the tests (the tests were conducted on a dual core intel based iMac), I get almost the very same resulst : no more than 2000 req/s (I also tested it on a 8 dual core CPU server). It looks like MINA itself

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
Emmanuel, Awesome! That seems to have helped quite a bit. Have you thought about using a profiler during the load test? I think MINA has a YourKit Open Source license. Are we allowed to use that? It would be good to find out exactly where the hot spots are and figure out whether something in

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

[jira] Commented: (DIRMINA-318) sessionIdle event is not fired for datagram sessions.

2007-03-30 Thread Greg Duffy (JIRA)
[ https://issues.apache.org/jira/browse/DIRMINA-318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485700 ] Greg Duffy commented on DIRMINA-318: Just FYI, I'm working on implementing this in the new datagram transport.

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

Contribution question and TrafficMask

2007-03-30 Thread Greg Duffy
I'm almost done with a first stab at a new datagram transport. It's about 1500 LoC. Should I just open a JIRA and attach it as I've done with patches before, or is there a different process for something of this size? Maybe a sandbox or something? Let me know the best way to get started. Also,