dev@grizzly.java.net

Grizzly 2.0 perf

From: Oleksiy Stashok <Oleksiy.Stashok_at_Sun.COM>
Date: Tue, 09 Feb 2010 16:56:07 +0100

Hi,

to prove that Grizzly 2.0 is not slow, I've run a small echo test.
I've compared Grizzly 1.9.19 (svn trunk) and Grizzly 2.0 (svn trunk)
configured with different strategies. The result shows that Grizzly
2.0 performing better or equal to 1.9.x. The difference is more
significant when echoing tiny packets.
Here are server and client configs:

Server:
numberOfCpus: 4
osName: SunOS 5.10 Generic_Patch_118844-30 i86pc i386 i86pc
numberOfSelectorThreads: 4
numberOfWorkerThreads: 5

Client:
numberOfCpus: 2
numberOfThreads: 32
osName: Mac OS X

I didn't use powerful machines during the test, but I think it's
enough to confirm that Grizzly 2.0 with all its API extensions/changes
is not slow.

Thanks.

WBR,
Alexey.

http://tinyurl.com/yemhry7