Hi Ronny, Thanks for posting the message to the forum first of all. I usually don't monitor Sun forum. The Sun form was down, so I've just seen the post.
On 11/4/07, Ronny Standtke <[EMAIL PROTECTED]> wrote: > Hi all, > > Unaware of MINA I also implemented a very simple NIO framework: > http://nioframework.sourceforge.net I am glad to see another NIO framework. It's good to have more choices that fits on various situations. :) > After I announced it on the Sun Developer Forums someone pointed me to MINA. > Therefore I wrote some simple benchmarks to compare MINA with my framework > and got surprisingly bad results with MINA, see here: > http://forum.java.sun.com/thread.jspa?threadID=5213915&tstart=0 I'm not sure you configured the Echo server properly. Setting the receiveBufferSize to 3000 instantly boosted the throughput to 50MB/s. I don't know why, but it seems like the receiveBufferSize is affecting the performance seriously. However, your BenchmarkServer showed around 170MB/s in my machine. It's very impressive, and I'd love to run some profiler on MINA. > So far I only got feedback from Esmont Pitt who criticized MINA. I wonder Esmont actually used MINA because: 1) MINA buffer doesn't imply any copy. You can always wrap an existing NIO buffer. 2) You can always disable the default thread model whenever you want. That's too bad that he didn't post his idea on MINA design issues directly to this forum though. Thanks again, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
