Did you ever try the Web Stress Tool vom Microsoft
(http://webtool.rte.microsoft.com)?
Its for free, and has lot of options to simulate simultanous load, and
you can record real-world sample scripts on the fly using IE. Of course,
you're not limited to test windows systems, only the client is a windows
program.

I've did some load testing with it on two cocoon2b2-based projects, with
two-folded results (which still have to analyse more if i find the
time):

 - the first one is a project for a cocoon-based web site with 3 dozens
tables and a couple SQL Statements using ESQL for each page request. I
served 50 simulatnous user without acceptable performance degradation
and _without_ caching (only XSL Stylesheets were cached). CPU time and
memory consumption remaind constant.

 - the second project is a web application with combination of Cococon2
and JSP-Pages, very complex SQL Statements using ESQL and complex
transformations, in combination with static XML files (XML files and XSL
stylesheet cached). In this configuration i have very poor performance,
a 1GHz Server with 512MB RAM can seems to be full loaded at 10 users!

So far my very first tests.

Stefan


> -----Ursprüngliche Nachricht-----
> Von: Gerhard Froehlich [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 20. August 2001 21:13
> An: [EMAIL PROTECTED]
> Betreff: AW: [C2] Loadtest
> 
> 
> >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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to