You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dale Lum <da...@gmail.com> on 2004/09/23 22:40:04 UTC

-server vs. -client

Hello,

I'm trying to better understand the significance of adding "-server"
to CATALINA_OPTS.  I found this explanation in the Hotspot FAQ:


These two systems are different binaries. They are essentially two
different compilers (JITs) interfacing to the same runtime system. The
client system is optimal for applications which need fast startup
times or small footprints, the server system is optimial for
applications where the performance is most important. In general the
client system is better on GUIs. Some of the other differences include
the compilation policy used, heap defaults, and inlining policy.


Now, it would seem obvious that an option called "-server" would be
appropriate if you're running Tomcat, but it surprises me that I've
seen no mention of this in the Tomcat docs. I just came across this
today. My questions are, does anybody have any experience running
Tomcat with and without the -server option? Would you definately
recommend adding this to CATALINA_OPTS?


Dale

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: -server vs. -client

Posted by QM <qm...@brandxdev.net>.
On Thu, Sep 23, 2004 at 04:40:04PM -0400, Dale Lum wrote:
: Now, it would seem obvious that an option called "-server" would be
: appropriate if you're running Tomcat, but it surprises me that I've
: seen no mention of this in the Tomcat docs. I just came across this
: today. My questions are, does anybody have any experience running
: Tomcat with and without the -server option? Would you definately
: recommend adding this to CATALINA_OPTS?

Perhaps not in the docs, but certainly in the archives. =)
There have been reports of "-server" leading to instability, so some
(many? most?) people here use "-client."

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Re: -server vs. -client

Posted by Peter Lin <wo...@gmail.com>.
you could always read the performance article I wrote, which is listed
on the resources page.

http://jakarta.apache.org/tomcat/resources.html

I also have a follow up article posted on Jmeter's wiki.

http://wiki.apache.org/jakarta-jmeter/JMeterLinks

peter



On Thu, 23 Sep 2004 16:40:04 -0400, Dale Lum <da...@gmail.com> wrote:
> Hello,
> 
> I'm trying to better understand the significance of adding "-server"
> to CATALINA_OPTS.  I found this explanation in the Hotspot FAQ:
> 
> These two systems are different binaries. They are essentially two
> different compilers (JITs) interfacing to the same runtime system. The
> client system is optimal for applications which need fast startup
> times or small footprints, the server system is optimial for
> applications where the performance is most important. In general the
> client system is better on GUIs. Some of the other differences include
> the compilation policy used, heap defaults, and inlining policy.
> 
> Now, it would seem obvious that an option called "-server" would be
> appropriate if you're running Tomcat, but it surprises me that I've
> seen no mention of this in the Tomcat docs. I just came across this
> today. My questions are, does anybody have any experience running
> Tomcat with and without the -server option? Would you definately
> recommend adding this to CATALINA_OPTS?
> 
> Dale
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org