[opencms-dev] serious performance problem
Apostoly Guillaume
ApostolyG at mail.europcar.com
Wed Aug 13 15:02:00 CEST 2003
I think you must have a problem, i've tested my homepage with 50
simultaneous users on a temporary PIII 700 and I'm still getting better
result, with a fully dynamic home page (navigation, several documents
included, etc...).
I'm sure you must have a problem with your Jsp Includes. Are you sure that
your application server doesn't compile the resulting Jsp every time ? that
could explain the bad performances.
Check the part about includes in the OpenCms documentation (to be downloaded
as module), to see best practices on that subject.
Also, you could check the timestamp of your files in your jsp directory
(physically in your webapp) to ensure that Jsp aren't compiled everytime.
Hope this helps.
Regards,
Guillaume.
-----Message d'origine-----
De: david.van_den_brande at the-ecorp.com
[mailto:david.van_den_brande at the-ecorp.com]
Date: mercredi 13 août 2003 14:34
À: opencms-dev at opencms.org
Objet: RE: [opencms-dev] serious performance problem
Hi all,
I would like to get your attention again on the performance of openCMS 5.0
(see my first mail below).
We made the navigation static (exported the jsp). This did help a lot. Now,
it takes "only" 3 seconds to refresh a page...
Anyway, 3 seconds is still way to much and if we do the test with more then
5 concurrent users, the response time gets up to 10 (20 users) and 30
seconds (50 users).
It seems that the bottleneck lies in the aggregation of different pages
defined in the jsp template.
Any ideas? Suggestions? Known issues?
Thanks in advance!!!
David
-----Original Message-----
From: david.van_den_brande at the-ecorp.com
[mailto:david.van_den_brande at the-ecorp.com]
Sent: dinsdag 12 augustus 2003 14:57
To: opencms-dev at opencms.org
Subject: [opencms-dev] serious performance problem
Hi there,
We are facing a serious performance problem in OpenCms 5.0 ...
We ran a simple test scenario ("refresh Home.jsp file 10 times") with
LoadRunner.
Here are some results:
1 user :
- scenario execution time: 25 secs
- CPU usage by java process: 25%
10 users :
- average scenario execution time: 3 min 45 secs
- CPU usage by java process: 55%
The high cpu usage of the java process seems to indicate that opencms is not
able to process jsp's, composed of several other jsp's, in a performant
way!?
Some information about the Home.jsp file, as used during the tests:
- uses a jsp template (look & feel + navigation jsp + "calendar" jsp +
"poll" jsp)
- includes 2 jsp's to show some news items and related information.
Other :
- OpenCms version: 5.0
- Server: Sun Solaris (2 CPU's)
- Database: MySQL 4.0
- Application server: Tomcat 4.1.24
- JAVA_OPTS (catalina.sh) : "-Xms128m -Xmx512m"
Does anyone have a clue what the problem could be, ...and how to solve it?
Thanks in advance!!!
David
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev
More information about the opencms-dev
mailing list