tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Parsons Technical Services" <parsonstechni...@earthlink.net>
Subject Re: Tomcat/Java and SMP
Date Fri, 03 Dec 2004 04:39:42 GMT
Dan,

Okay. I just wanted to make sure you had two sessions. I think it's one 
thread per session and wanted to ensure the test was valid.

Just for grins try it from two machines. Especially if the workstations are 
Windows.
Hate to see you chase a ghost.

Beyond that I will have to bow out and let more knowledgeable ones of such 
things take over.

Doug


----- Original Message ----- 
From: "Dan Foreman" <Dan.Foreman@epillar.net>
To: "'Tomcat Users List'" <tomcat-user@jakarta.apache.org>
Sent: Thursday, December 02, 2004 11:30 PM
Subject: RE: Tomcat/Java and SMP


> Hi,
>
> Yes, my test was from my workstation with two browser windows open 
> (separate sessions).  I have also observed a 50% cpu load from
> tomcat on the server, hit that server while someone else was presumably 
> generating a large report and not able to get the cpu to go
> above 50% yet observed sloooow performance.
>
> -Dan
>
> -----Original Message-----
> From: Parsons Technical Services [mailto:parsonstechnical@earthlink.net]
> Sent: Thursday, December 02, 2004 10:18 PM
> To: Tomcat Users List
> Subject: Re: Tomcat/Java and SMP
>
> Dan,
>
> Did you start the second connection from the same machine?
>
> Doug
>
>
> ----- Original Message -----
> From: "Dan Foreman" <Dan.Foreman@epillar.net>
> To: "Tomcat-User" <tomcat-user@jakarta.apache.org>
> Sent: Thursday, December 02, 2004 10:40 PM
> Subject: Tomcat/Java and SMP
>
>
>> Hi,
>>
>> I have a setup of 10 application servers using Tomcat 4/5, jsdk 1.4.2_02,
>> SMP, win2k.  In watching the performance under load I am
>> concerned that only one CPU is being utilized at a time.  To validate my
>> theory I try hitting the application server with a request
>> to generate a large report and then making another connection.  The 
>> second
>> connection is painfully slow and task manager only
>> reports a 50% CPU utilization.  After doing some reading on SMP/native
>> threads and windows, I wrote a test java application that
>> spawns n infinite loop threads from a single JVM with a delay between 
>> each
>> creation.  Sure enough one cpu (task manager reporting
>> 50%) and then the other cpu are consumed (task manager reporting 100%).
>> This test tells me that Java is capable of using both CPU's
>> via native threading and some black magic in the windows dll's but that
>> this scenario isn't happening in tomcat.
>>
>> Is it possible for tomcat to use more than one CPU or is there a critical
>> flaw in my logic?
>>
>> -Dan
>>
>>
>> ---------------------------------------------------------------------
>> 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
>
>
>
> ---------------------------------------------------------------------
> 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