You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Hilton - CPX COA <Jo...@Comparex.co.za> on 2004/03/18 09:46:04 UTC

CPU Binding - How to enable sun 1.3.1 for multi cpu

I am using the following JAVA version

java version "1.3.1_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3. Java 
HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)

I have noticed that only 1 CPU on a 4 CPU machine is handling load for
JAVA, can anyone help in how to configure JAVA to span the total number
of processors ?

Regards,
John


-----Original Message-----
From: John Hilton - CPX COA 
Sent: 18 March 2004 09:54 AM
To: tomcat-user@jakarta.apache.org
Subject: CPU Binding ?

Good day,
 
Does anyone know how one sets Tomcat 4.0.6 to utilise more than one CPU
in a multiple CPU machine.
 
Tomcat is running on Windows Server 2003 on a 4CPU IBM machine, and all
the utilisation graphs indicate that the tomcat service is only using
one CPU, I have trawled the documentation and cant seem to spot the
config details to do this ?
 
Regards,
John
 

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


Re: CPU Binding - How to enable sun 1.3.1 for multi cpu

Posted by Antonio Fiol BonnĂ­n <fi...@terra.es>.
On Linux, you can choose "green threads" or "native threads". The former 
means single process, so one CPU, and the latter means multiple 
processes, so it benefits from multiple CPUs.

No idea under Windows.

Good luck.



John Hilton - CPX COA wrote:

>I am using the following JAVA version
>
>java version "1.3.1_03"
>Java(TM) 2 Runtime Environment, Standard Edition (build 1.3. Java 
>HotSpot(TM) Client VM (build 1.3.1_03-b03, mixed mode)
>
>I have noticed that only 1 CPU on a 4 CPU machine is handling load for
>JAVA, can anyone help in how to configure JAVA to span the total number
>of processors ?
>
>Regards,
>John
>
>
>-----Original Message-----
>From: John Hilton - CPX COA 
>Sent: 18 March 2004 09:54 AM
>To: tomcat-user@jakarta.apache.org
>Subject: CPU Binding ?
>
>Good day,
> 
>Does anyone know how one sets Tomcat 4.0.6 to utilise more than one CPU
>in a multiple CPU machine.
> 
>Tomcat is running on Windows Server 2003 on a 4CPU IBM machine, and all
>the utilisation graphs indicate that the tomcat service is only using
>one CPU, I have trawled the documentation and cant seem to spot the
>config details to do this ?
> 
>Regards,
>John
> 
>
>---------------------------------------------------------------------
>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