Damn ... I forgot to switch on the -server option for the test:
without -server option: M: 1823 N: 931 M: 1873 N: 911 M: 1823 N: 881 M: 1823 N: 891 M: 1822 N: 862 M: 1812 N: 882 M: 1862 N: 962 with -server option: M: 711 N: 681 M: 711 N: 671 M: 671 N: 671 M: 671 N: 671 M: 701 N: 681 M: 681 N: 661 Strange :) Thanx Trustin ... Best Regards Michael Trustin Lee schrieb:
I tweaked your test code a little bit, and ran the VM with '-server' option. With MINA 1.x, you will have to use SimpleByteBufferAllocator. I used MINA 2.0 in the test, and found NIO buffers and MINA buffers don't differ in performance.
