Ahh, I wondered if that was what you meant. I'll have to experiment further.

Thanks.

-----Original Message-----
From: Jaco Kroon [mailto:[EMAIL PROTECTED]
Sent: 17 September 2003 12:59
To: Tomcat Users List
Subject: RE: Tomcat on Dual CPU Server


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:[EMAIL PROTECTED]
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to