cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <>
Subject Re: [HEADS UP] Don't use -Xincgc with JDK 1.4
Date Thu, 21 Feb 2002 15:39:22 GMT
Berin Loritsch wrote:
> There was a tip running around late last year that if you ran the JVM 
> with the -Xincgc that the system would perform better.  With my current
> testing using JDK 1.4 (final release), I found that enabling that option
> lengthens the time of the ECM/ContainerManager test by a factor of 2. In 
> both cases, the overall time is lengthened.  For the ContainerManager, 
> it is only 1.5 times as long; but for the ECM it is twice as long.

BTW, my tests were running the CLient VM.  When I switched to the server 
VM, the ExcaliburComponentManager ran in less than half the time.

If you are running JDK 1.4, I highly recommend enabling the "-server"
option on the java command.  Esp. for Cocoon.

Average time went from 210 seconds for ECM to use 100 threads to request
3 components 50,000 times to only 97 seconds.  Alot of the savings has 
to do with the reduced garbage collection cycles in Server hotspot, and 
the native compilation that happens in the background.

The ContainerManager also had improvements, but not nearly as remarkable
as that.


"They that give up essential liberty to obtain a little temporary safety
  deserve neither liberty nor safety."
                 - Benjamin Franklin

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

View raw message