Mark Brouwer wrote:
I noticed this issue. Today I found some time to perform some tests myself with the code as listed in https://issues.apache.org/jira/browse/RIVER-281 with NIO enabled.
Just FYI, I don't understand all of the interactions, but I have noticed in my tests that enabling NIO on the server side makes performance go down in many cases. I've just recently been testing on Solaris 10 Update 4 and JDK1.6 between two machines (2 socket x 2 core Opteron 2.2GHz) connected via a gigabit network with jumbo frames (mtu 9000). By setting the rations to 0 (infinite) and the fragment sizes to 8k, JERI TCP performance without NIO slightly exceeds JRMP performance.
Based on the above it looks like the settings for the ration above 32 KBytes have not that much effect, most effect can be obtained with increasing the fragment size.
I'd like to see data across a few OSes, without NIO, and across real networks before coming to firm conclusions. - Bob
