On 11/4/07, Trustin Lee <[EMAIL PROTECTED]> wrote: <snip/>
> > 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. I was able to fix a bug thanks to your report. Thank you so much! If you have some free time, you could check out the latest MINA from our source code repository and try the test again. I got around 150MB/s in my machine with MINA and 190MB/s with your framework. This means the MINA team needs to tune MINA more, although both numbers are pretty good for most network applications. Thanks, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
