tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Williams" <KWilli...@centerlogic.com>
Subject RE: tomcat CPU utilization pegged...total CPU only 50%
Date Mon, 07 Feb 2005 17:58:21 GMT
Ok,

Thanks all for the help.  I further optimized the environment while
troubleshooting.  In case anyone else is in a similar issue, I'll list
the solution that worked for me--turn off hyperthreading.  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.  A coworker mentioned that the windows performance monitor
often records total CPU utilization incorrectly due to the logical split
of the CPU's acting as 4 instead of 2.  Disabling the hyperthreading in
the system bios shot the CPU utilization up to 70%-90% (I imagine the
other 10% of CPU is being reserved by other applications).

Thanks again for the help,

Kevin Williams


-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of Vic
Sent: Thursday, February 03, 2005 9:09 PM
To: tomcat-user@jakarta.apache.org
Subject: Re: tomcat CPU utilization pegged...total CPU only 50%
[bcc][faked-from][bayes]
Importance: Low

You could be DB bound or LAN bound.
What is the switch telling you LAN utilization is?
What is the DB stress test telling you?
.V

Kevin Williams wrote:

>Hello,
>
> 
>
>I am trying to performance test an application running Tomcat with
>Apache w/SSL (connected using mod_proxy).  The OS is Windows Server
>2003.
>
> 
>
>The test I am running is simulating a user logging into the application
>(using JMeter for the testing framework).  Increasing the number of
>users from 1, 2, 3, 4,5 the total CPU utilization jumps considerably.
>After 5 users the CPU utilization hits 50% for a second and then
>drops...When simulating 10 users, the CPU hits50% for a few seconds and
>drops back down, the more users, the longer the CPU is pegged at 50%.
>My question is why is tomcat only using 50% of the CPU?  Seeing the CPU
>grow significantly with each user, and then peg out for longer periods
>of time with an increased user load indicates that the CPU is the choke
>point.  Using performance monitor, the Tomcat % Processor Time pegs out
>at 100% for the duration that total CPU utilization is at 50%.  Is
there
>a configuration option that I am unaware of to allow tomcat to use more
>CPU?
>
> 
>
>Thanks in advance!
>
> 
>
>Kevin
>
>
>  
>


-- 
Forums, Boards, Blogs and News in RiA <http://www.boardVU.com>


---------------------------------------------------------------------
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