tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <>
Subject RE: NIO vs BIO speed
Date Mon, 26 Jun 2006 17:56:52 GMT
I haven't tested Filip's connector yet, but that's also my experience with
the AJP/NIO connector:  NIO is pretty much useless on Windows. 

> -----Original Message-----
> From: Remy Maucherat [] 
> Sent: Monday, June 26, 2006 4:58 AM
> To: Tomcat Developers List
> Subject: Re: NIO vs BIO speed
> 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 
> java:1189)
>          at Source)
> Rémy
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

This message is intended only for the use of the person(s) listed above as the intended recipient(s),
and may contain information that is PRIVILEGED and CONFIDENTIAL.  If you are not an intended
recipient, you may not read, copy, or distribute this message or any attachment. If you received
this communication in error, please notify us immediately by e-mail and then delete all copies
of this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet
is not secure. Do not send confidential or sensitive information, such as social security
numbers, account numbers, personal identification numbers and passwords, to us via ordinary
(unencrypted) e-mail.

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

View raw message