NIO one-to-one connection read threads?

sirsoren soren.caspersen at nordea.com
Mon Aug 8 07:04:48 EDT 2011


I have come across a problem that puzzles me. 

I connect 100 clients to a Netty/Nio based server doing trivial work.

Running locally on my Windows box the result is never more than 8 active IO
threads throughout the test.

On our Sparc server running Solaris 10 and Java 1.6.0_17 this results in 100
IO threads being spawn on the server side, one per connection. All threads
in the pool are active during the whole test. 

If I was using Oio sockets then I would expect the second scenario, but
since I am using Nio I would expect the number of IO thread to be limited as
when I run the server locally.

Has anybody seen similar behavior on Sparc/Solaris? 

(Small note: I am executing from within a zone, so maybe virtualization is a
player).

/Søren

--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/NIO-one-to-one-connection-read-threads-tp6663856p6663856.html
Sent from the Netty User Group mailing list archive at Nabble.com.



More information about the netty-users mailing list