> From: Leon Rosenberg [mailto:[EMAIL PROTECTED] > Subject: Performance tricks with multiple tomcat instances > > One of my assumption for relative bad performance is the gc. If I > install 2 or 4 tomcat instances on the same machine, I assume that if > I'm lucky the gc in the separate VMs will run not at the same time, > therefore reducing overall 'blocking' time and increasing combined > performance.
A lot of this depends on what GC options you select. If you're using parallel GC, each JVM will utilize 8 threads (by default) to do the GC work. Since GC is CPU-intensive, this will saturate your system, but hopefully only for a very brief period. You can limit the number of threads with the -XX:ParallelGCThreads=<n> parameter, which defaults to the number of CPUs if 8 or less, or 3 + 5/8 the number if more than 8. - 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]