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 [mailto:[EMAIL PROTECTED] > 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 > http://127.0.0.1:8081/tomcat.gif. Throughput seems to vary > wildly during > the test. With /usr/sbin/ab.exe -n 5000 -c 20 > http://127.0.0.1:8081/tomcat.gif (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 > sun.nio.ch.WindowsSelectorImpl$FdMap.remove(Unknown Source) > at > sun.nio.ch.WindowsSelectorImpl$FdMap.access$3000(Unknown Source) > at sun.nio.ch.WindowsSelectorImpl.implDereg(Unknown Source) > at > sun.nio.ch.SelectorImpl.processDeregisterQueue(Unknown Source) > at sun.nio.ch.WindowsSelectorImpl.doSelect(Unknown Source) > at sun.nio.ch.SelectorImpl.lockAndDoSelect(Unknown Source) > at sun.nio.ch.SelectorImpl.select(Unknown Source) > at > org.apache.tomcat.util.net.NioEndpoint$Poller.run(NioEndpoint. > java:1189) > at java.lang.Thread.run(Unknown Source) > > Rémy > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]