tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaco Kroon <jkr...@cs.up.ac.za>
Subject RE: Tomcat on Dual CPU Server
Date Wed, 17 Sep 2003 11:58:56 GMT
That would be correct, as I mentioned in my other mail, a single thread 
can only run on one CPU, thus to get to 100% cpu usage, you need at least 
two threads performing two concurrent "infinite loops".  A single loop 
cannot push 2 cpu's to over 50% as the one cpu will run the loop and the 
other will sit idle, and every now and again do some arb work.

On Wed, 17 Sep 2003, Stuart Stephen wrote:

> Well, I'm using Sun 1.4.2 with Tomcat 4.1.28. I assumed that multi-threaded
> CPU's would be supported in Sun's Java VM. However, if i put tomcat into an
> infinite loop it seems to go only to just above 50% CPU for the whole
> system.
> 
> -----Original Message-----
> From: Tim Funk [mailto:funkman@joedog.org]
> Sent: 17 September 2003 12:49
> To: Tomcat Users List
> Subject: Re: Tomcat on Dual CPU Server
> 
> 
> The JVM is spec'd to be able to run on multiple processors transparently and
> an Java application. (Ignoring natvie code issues) Whether the
> *implementation* of a JVM takes advantage of a multi-cpu system is a job of
> the JVM vendor.
> 
> -Tim
> 
> Stuart Stephen wrote:
> 
> > Hi,
> >
> > I've installed tomcat on a dual CPU redhat linux 9.0 machine and have
> > noticed that it only uses 1 cpu. How can I make it use both? Is this a
> linux
> > thing or a tomcat thing?
> >
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 

Mime
View raw message