Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Re: Tomcat with/without Tomcat native library

Bill Barker

2007-07-29

Replies:


"Petr Sumbera" <Petr.Sumbera@(protected)
news:46AA0D4B.3040703@(protected)...
> Hi Guys,
>
> Does anybody have experience or even better some numbers comparing
> performance of Tomcat running with and without Tomcat native library
> (libtcnative-1)?
>
> I don't see any comparable difference so far (using TC 5.5.23, Native
> Library 1.1.10, Solaris/i386).
>

On Solaris there wasn't a big difference last time I profiled it. On
Solaris, it doesn't cost much to have a large number of threads blocking on
input, so you don't get a lot from the APR Poller. Also, the Solaris JVM is
pretty optimized for the OS. From testing with the AJP Connectors, you
might have noticible improvements with TC 6 and the NIO Connector on
Solaris, but I haven't profiled it myself.

It's with Linux boxes (I haven't seen reports for other *nixs) with older
kernels that you see the most improvement when using the APR Connector.

> Cheers,
>
> Petr
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>




---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.