Tomcat 5.5.0.26 / Performance issue
Hi, I'am doing load tests with a web application that is deployed under Tomcat 5.5.0.26 / Windows 2003 / VMWare Dual core Opteron 1.8 Ghz / 2GB. We only have tuned the memory parameters (512 MB), all other parameters are the default parameters (JVM and Tomcat). I have corrected all performance issue in the web application. Now I'm facing performance issue with Tomcat. With only one request (no load just one call) it tooks 150 ms to call the method getParameterNames from class org.apache.catalina.connector.RequestFacade. I have done the tests with different context : - With AJP + Apache - With AJP + Apache + tomcat native - Without AJP - Without AJP + tomcat native I have the same result with all those tests. There is only 7 parameters in the request. 150 ms for 7 parameters with only one request is very slow for me (It should be less than 1 ms, ). Is there a way to reduce this time or is it the usual response time for this method. Here is the request : POST /WASSVI/IVR_CO01_CHARGEMENT_VARIABLES.jsp HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; Telera _ND_C 7.5.010.34) Accept: */* Host: genvocdev-i:82 Cookie: $Version=0; JSESSIONID=19FEC24E8391D6C94AE253949B8DE14D; $Path=/WASSVI Content-Type: application/x-www-form-urlencoded Content-Length: 221 ScriptID=undefinedScriptData=undefined SessionID=4AEFB464-41DA-4103-A711-E0AE20893F1A ConnectionID=TKKBSV10J16LR9PEV495GN5D6K000CJ0 GVP_IVRProfileID=313103237 OCSApplicationFlag=0 CPARESULT=undefined OCSVoiceDN=undefined Best regards, Anthony Communier
RE: Tomcat 5.5.0.26 / Performance issue
From: Anthony COMMUNIER [mailto:[EMAIL PROTECTED] I'am doing load tests with a web application that is deployed under Tomcat 5.5.0.26 Tomcat has 3-character version numbers, so this is probably 5.0.26 or 5.5.26? With only one request (no load just one call) it tooks 150 ms to call the method getParameterNames from class org.apache.catalina.connector.RequestFacade. Is this for the first call, or for second and subsequent calls as well? First calls are often much slower as code is loaded. If it's for second and subsequent calls, then there's a problem! - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat 5.5.0.26 / Performance issue
Hi Peter 2008/8/27, Peter Crowther [EMAIL PROTECTED]: From: Anthony COMMUNIER [mailto:[EMAIL PROTECTED] I'am doing load tests with a web application that is deployed under Tomcat 5.5.0.26 Tomcat has 3-character version numbers, so this is probably 5.0.26 or 5.5.26? Sorry, it's version 5.5.26 With only one request (no load just one call) it tooks 150 ms to call the method getParameterNames from class org.apache.catalina.connector.RequestFacade. Is this for the first call, or for second and subsequent calls as well? First calls are often much slower as code is loaded. If it's for second and subsequent calls, then there's a problem! It's not the first call. I make some requests before measuring time in order to avoid class loading overhead. - Peter - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]