We use a program called WAPT to ramp up the amount of requests sent to Tomcat, probably not the best way going off what has been said. It got to the point were it the Java process never go above 25% cpu usage while the memory usage increases accordingly. Which is why I assumed it would not making proper use of the cores. Currently using Java 1.6.
-----Original Message----- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: 28 February 2008 16:03 To: Tomcat Users List Subject: Re: Does tomcat support multicores -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 James, James Law wrote: | Os - WinXP | | CPU - Intel Quad Core | | Hi I'm running a tomcat server, and would like to know if Tomcat can | make use of multiple cores? When I max the server out, all 4 cores see | little usage however the java process never uses more than 25%. Sounds like you haven't really maxed-out your server. What is your definition of "maxed-out"? | So this makes me believe that Tomcat does not make use of a multicore | system. Just like most hardware resource questions in Tomcat, it all comes down to the JVM + the OS. Tomcat itself neither enables nor disables this capability. The JVM supports multiple threads. The OS supports threads. Presumably, the OS is smart enough to allow threads from a single process to run on any CPU (or core). | Would I benefit from running more than one instance and setup load | bearing between the two? Probably not. I would venture a guess that you are seeing appropriate resource usage for your load scenario. What does "maxed-out" mean, and why do you think you are in that state? Can you see which processor(s) is(are) running java.exe (or whatever) processes, or are you just looking at the overall CPU-usage meter and seeing that it shows 25% total CPU usage? There's also the possibility that your application is I/O-bound instead of CPU bound, meaning that the CPU is spending most of the time waiting around for data to move around instead of performing calculations and whatnot. That wouldn't be a surprise given that network transfer speeds are relatively slow compared to bus speeds and the rate at which your CPU(s) can process information. - -chris --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] **************************************************************************** Search all of our current vacancies at www.generic-software.com **************************************************************************** The information contained within this message is intended for the addressee only and may contain confidential and/or privileged information. If you are not the addressee, please delete this message and notify the sender - you should not copy, distribute or disclose its contents to other parties. Any images, documents, views or opinions expressed in this message are those of the sender and do not necessarily represent those of Generic Software Consultants Ltd or any of its affiliates. No reliance may be placed on this message without written confirmation from an authorised company representative, and no actions should be taken based on its contents. Generic Software Consultants Ltd Registered in England No. 2830109 @ St. Andrews House, Caldecotte Lake Drive, Caldecotte Business Park, Milton Keynes. MK7 8LE Tel: 01908 278450 VAT Registered No: 608 6625 28 ****************************************************************************