> From: Kevin Williams [mailto:[EMAIL PROTECTED]
> Subject: RE: tomcat CPU utilization pegged...total CPU only 50%
> 
> The two Xeon CPU's are hyperthreaded to represent 4 CPU's 
> on the machine.  I'm not sure exactly how tomcat/java 
> interact with this, but it was not favorable.

Other than for determining the number of threads to use for parallel GC, the 
JVM does not care how many CPUs there are.  I don't know what Windows returns 
for the number of CPUs installed when hyperthreading is enabled, but you can 
determine that with the Runtime.availableProcessors() method.

You really should be measuring performance by some measurement of actual 
workload completed, not CPU utilization.  Turning off hyperthreading may 
actually reduce your overall throughput.  (Then again, it might make it better 
- very application dependent.)

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

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

Reply via email to