You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Berin Loritsch <bl...@apache.org> on 2001/05/04 18:00:44 UTC

[C2] Performance with Cache enabled

My friends, I want to say Kudos to all of the Cache implementors.  I ran my
typical Apache JMeter test run on my machine, and Cocoon was still breathing
easily.  So I decided to go nuts.

My Test System:
---------------

Athlon 750 with 256MB RAM
Windows 2000
Tomcat 3.3b2
Cocoon 2 (CVS as of 11:40 AM 5/4/2001)
Sun JDK 1.3.0_01 (with -Xmx256M option)
Sun HotSpot 2.0 Server JVM

My Test subject:
----------------

Inbox page consists of an XSP page that checks the
session for an Inbox object.  The Inbox object retrieves
entries from a database, and manipulates objects created
from those entries (sorting, etc).  XSP is followed by
5 stylesheets (one of which is selected dynamically),
and the HTMLSerializer

Test 1 (Simulate 3.456Million hits a day):
-----------------------------------------

Number of Threads: 12
Delay in ms:       300ms
Deviation:         100ms

Results:
According to the Cocoon logs, I my processing times
were between 10ms and 150ms.

Test 2 (Simulate 5.76Million hits a day):
-----------------------------------------

Number of Threads: 20
Delay in ms:       300ms
Deviation:         100ms

Results:
I hit saturation on my machine, and I got processing
times between 2s and 2.3s.  This is still pretty good,
so I decided to go all out.

Test 3 (Simulate 17.28Million hits a day):
-------------------------------------------

Number of Threads: 20
Delay in ms:       100ms
Deviation:         100ms

Results:
The cache seemed to kick in better this time--probably
from running the tests back to back without restarting
Tomcat.  I got processing times between 750ms and 1.5s.


Ladies and gentlemen, I have never seen anything so fast
in my life.  Concidering the complexity involved and the
fact that we have interpreted bytecode makes this feat
even more amazing.

You guys have made me a beleiver in the Caching system.
I thought Cocoon couldn't be much faster than it was,
and boy was I wrong.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2] Performance with Cache enabled

Posted by Berin Loritsch <bl...@apache.org>.
gerhard wrote:
> 
> Hi,
> just for interest:
> did you anything changed in the Caching section of the
> cocoon.xconf file? If yes, which values?

I actually didn't specify anything in the caching section--so it is
using system defaults.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2] Performance with Cache enabled

Posted by gerhard <g-...@gmx.de>.
> Could you be more specifice? cocon.xconf was changed several time the
> last couples of days. What did you noticed?
With changing I mean in _his_ testing enviroment (playing with the
settings).  I hope the previous posting wasn't mistakable.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2] Performance with Cache enabled

Posted by giacomo <gi...@apache.org>.

On Fri, 4 May 2001, gerhard wrote:

> Hi,
> just for interest:
> did you anything changed in the Caching section of the
> cocoon.xconf file? If yes, which values?

Could you be more specifice? cocon.xconf was changed several time the
last couples of days. What did you noticed?

Giacomo


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2] Performance with Cache enabled

Posted by gerhard <g-...@gmx.de>.
Hi,
just for interest:
did you anything changed in the Caching section of the
cocoon.xconf file? If yes, which values?

cheers
Gerhard


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org