tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Tomcat/Java and SMP
Date Fri, 03 Dec 2004 14:15:43 GMT

NTI: Not a Tomcat Issue.  Parallelization depends on the VM
implementation for your specific OS and might require special
configuration switches: consult your JVM documentation.

Yoav Shapira

>-----Original Message-----
>From: Dan Foreman []
>Sent: Thursday, December 02, 2004 10:41 PM
>To: Tomcat-User
>Subject: Tomcat/Java and SMP
>I have a setup of 10 application servers using Tomcat 4/5, jsdk
>SMP, win2k.  In watching the performance under load I am
>concerned that only one CPU is being utilized at a time.  To validate
>theory I try hitting the application server with a request
>to generate a large report and then making another connection.  The
>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
>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
>flaw in my logic?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message