On 21/03/2013 00:13, igaz wrote: > I was curious as to people's actual experience with setting a Connector's > acceptorThreadCount while using the BIO http connection (the default) > > Frankly, I was unaware that java.net.ServerSockets were multi-thread safe > (although interestingly the javadoc explicitly states that > ServerSocketChannels are) > > Has anyone seen throughput increase with larger # of acceptorThreads? Did > you set it == to # of hardware threads?
It makes a marginal improvement if you increase it to 2 (assuming you have two+ cores). There is no improvement beyond 2. There is an underlying sync block for accepting new connections. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org