Sorry, was my mistake. I meant that with direct buffers the application
needs lesser time (runs faster).
I checked the whole thing over 5 minutes. Every 15 seconds I wrote out a
normalized time stamp. For the first 15 seconds I've got a value about
2.7 - 2.8 seconds, after that all times was for heap buffers in a range
between 87 - 88 ms, for direct buffers 72 - 74 ms.
The JRockit test I will make on tuesday.
Regards
Michael
[EMAIL PROTECTED] wrote:
Ah, I think there was a misunderstanding (hence why I was confused about
why you were interested in direct memory usage). When you wrote:
"performance: 10% lesser with direct buffer use "
I thought you meant performance was 10% worse when you used direct buffers.
How long did your test run for? With the Sun JVMs I found a significant
initial spike in performance but after it warmed up it performed well.
Also what send/receive buffer size are you using?
Could you also test with the latest JRockit JVM?
Unfortunately at the moment I do not have a test application that is
standalone. However I think that the sample echo server that comes with
MINA could be usable as a performance test of the buffers.
Robert