cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Froehlich" <g-froehl...@gmx.de>
Subject AW: [C2] Loadtest
Date Mon, 20 Aug 2001 19:13:14 GMT
>I *think* that's threads in MRUMemoryStore. Try to use store in
>thread-less mode.
I just tested it with JMeter:
1. Test
+-------------------------------------------------------------+
cocoon.xconf:
<stream-pipeline
class="org.apache.cocoon.components.pipeline.CachingStreamPipeline"
                   pool-max="32" pool-min="16" pool-grow="4"/>

<event-pipeline
class="org.apache.cocoon.components.pipeline.CachingEventPipeline"
                  pool-max="32" pool-min="16" pool-grow="4"/>

<store class="org.apache.cocoon.components.store.MRUMemoryStore">
     <parameter name="freememory" value="1000000"/>
     <parameter name="heapsize" value="60000000"/>
     <parameter name="cleanupthreadinterval" value="10"/>
     <parameter name="maxobjects" value="100"/>
     <parameter name="usecleanupthread" value="true"/>
     <parameter name="threadpriority" value="5"/>
     <parameter name="filesystem" value="true"/>
</store>
for both pipelines
+-------------------------------------------------------------+
web.xml
out log level on ERROR
+-------------------------------------------------------------+
jmeter:
6 thread groups a 5 threads
gaussion random timer, with average delay 300ms
and delay devitation 100ms
+-------------------------------------------------------------+
following urls:
/cocoon/hello.html
/cocoon/sites/java.apache.org
/cocoon/sites/jakarta.apache.org
/cocoon/slashdot/slashdot.xml
/cocoon/isyndicate/news.xml
/cocoon/welcome-svg
+-------------------------------------------------------------+
machine:
amd athlon 1,2 ghz
256MB ram
win2k prof sp 2
resin-2.0.1
+-------------------------------------------------------------+
RESULT:
CPU Consumption: 15-30%
RAM Consumption: 40-50MB CONSTANT

+-------------------------------------------------------------+
+-------------------------------------------------------------+

2. Test
Without threads
+-------------------------------------------------------------+
RESULT:
CPU Consumption: 15-30%
RAM Consumption: 40-50MB CONSTANT

+-------------------------------------------------------------+
+-------------------------------------------------------------+
This load test are much confusing. I have studied several results
from different load test in this mailing list last months.
The results are reaching from:
"cocoon2 is the fastest thing I ever seen" to "shit, cocoon2 consume
all of my system resources"
The last load test I read was from berin with quite good results of
the beta2 release. This thread was in the cocoon-user list.

I think, setting up a reference test enviroment with the right tool
and the right (realistic) settings would solve our problems here.
And _I_ would do that before releasing the first release.

I'm using jmeter for my load tests here at home. Neither I don't know
if it is the rigth tool for testing cocoon nor if I configured it
right for cocoon2 (you can't even configure much with jmeter).

I've appended my "test plan" for the jmeter.

In Carstens words:
Comments? Critics? Suggestions? Wishes?

Cheers
Gerhard





Mime
View raw message