tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Remy Maucherat <>
Subject Re: NIO vs BIO speed
Date Mon, 26 Jun 2006 11:58:28 GMT
Filip Hanik - Dev Lists wrote:
> yes, I think they are looking pretty good. And I am fairly confident in 
> this new code, as most of it, is old tested APR code.

(Of course, there hasn't been any new changes, so it's not a surprise it 
not working any better for me; I did reboot in the meantime, though, and 
I am running JRE 1.5.0_06)

Performance with NIO is still bad for me (3 times slower than the other 
connectors) with /usr/sbin/ab.exe -n 5000 -c 20 -k Throughput seems to vary wildly during 
the test. With /usr/sbin/ab.exe -n 5000 -c 20 (no keepalive), performance is 
horrible, and kills the poller thread after a few hundred iterations 
with the exception I reported earlier:
Exception in thread "http-8081-Poller-0" java.lang.NullPointerException
         at$FdMap.remove(Unknown Source)
         at$FdMap.access$3000(Unknown Source)
         at Source)
         at Source)
         at Source)
         at Source)
         at Source)
         at Source)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message