struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Al Sutton <al.sut...@alsutton.com>
Subject Re: Performance and High CPU utilization
Date Thu, 18 Sep 2008 20:41:36 GMT
Do the ideas listed at

http://java.sun.com/developer/technicalArticles/Programming/HPROF.html

shed any light on it?

sajanv007 wrote:
> I am using the latest Freemarker version 2.3.13 and Spring 2.5 OGNL 2.7.2
> with Javaassist .
>
> Al Sutton wrote:
>   
>> Replace your freemarker lib with 2.3.13 or later. Prior releases had a 
>> concurrency performance issue.
>>
>> Al.
>>
>> sajanv007 wrote:
>>     
>>>  It is a solaris box and has 16 GB memory and 4 CPU it is high end server
>>> class machine . Some how I suspect it is the OGNL or Freemarker rendering
>>> issue .
>>>
>>> Jim Kiley wrote:
>>>   
>>>       
>>>> What kind of server are you using here, how much memory, what CPU --
>>>> when
>>>> we
>>>> are getting to CPU utilization, all of these issues are relevant.
>>>>
>>>> On Thu, Sep 18, 2008 at 3:43 PM, sajanv007 <sajan_007_99@yahoo.com>
>>>> wrote:
>>>>
>>>>     
>>>>         
>>>>> I have tried all the tuning parameters mentioned in the link somehow
>>>>> CPU
>>>>> utilization is always 80% ,I observed that it takes tags are rendered
>>>>> from
>>>>> free marker cache but still the cpu 80-90% .
>>>>>
>>>>> Regards
>>>>>
>>>>> Sajan
>>>>>
>>>>>
>>>>> Nils-Helge Garli wrote:
>>>>>       
>>>>>           
>>>>>> Maybe this can help:
>>>>>> http://struts.apache.org/2.0.11.2/docs/performance-tuning.html
>>>>>>
>>>>>> Nils-H
>>>>>>
>>>>>> On Thu, Sep 18, 2008 at 9:11 PM, sajanv007 <sajan_007_99@yahoo.com>
>>>>>>         
>>>>>>             
>>>>> wrote:
>>>>>       
>>>>>           
>>>>>>> There is huge performance issue and CPU hogging with Struts2
tag ,
>>>>>>>           
>>>>>>>               
>>>>> this
>>>>>       
>>>>>           
>>>>>>> was
>>>>>>> observed while rendering JSP. These are some performance results
>>>>>>>           
>>>>>>>               
>>>>> obtained
>>>>>       
>>>>>           
>>>>>>> Strut 2 Tag - With all performance tuning applied as per Struts
2
>>>>>>> documentation - Freemarker caching etc...
>>>>>>> Load Runner Tool
>>>>>>> 40 users
>>>>>>> 900 hits per second
>>>>>>> 10 transaction per second
>>>>>>>
>>>>>>> Results
>>>>>>> CPU utilization 90%
>>>>>>> Response 3.5 sec
>>>>>>>
>>>>>>> Replaced some of Struts2 Tag , with Custom JSP Tags like (s:label,
>>>>>>> s:text,s:textfield,s:hidden,s:param)
>>>>>>> 40 users
>>>>>>> 900 hits per second
>>>>>>> 15 transaction per second
>>>>>>>
>>>>>>> Results
>>>>>>> CPU utilization 70%
>>>>>>> Response 2.0 sec
>>>>>>>
>>>>>>> Some where down the line Struts 2 tag are very cpu hungry , to
people
>>>>>>>           
>>>>>>>               
>>>>> to
>>>>>       
>>>>>           
>>>>>>> adopt to strut2 framework cpu utilization should be optimized
.
>>>>>>>
>>>>>>>
>>>>>>> Did anybody come across on how to over come this problem
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>> http://www.nabble.com/Performance-and-High-CPU-utilization-tp19559123p19559123.html
>>>>>       
>>>>>           
>>>>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>>>>
>>>>>>>
>>>>>>>           
>>>>>>>               
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>>>
>>>>>>
>>>>>>
>>>>>>         
>>>>>>             
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/Performance-and-High-CPU-utilization-tp19559123p19560223.html
>>>>> Sent from the Struts - User mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>>> For additional commands, e-mail: user-help@struts.apache.org
>>>>>
>>>>>
>>>>>       
>>>>>           
>>>> -- 
>>>> Jim Kiley
>>>> Technical Consultant | Summa
>>>> [p] 412.258.3346 [m] 412.445.1729
>>>> http://www.summa-tech.com
>>>>
>>>>
>>>>     
>>>>         
>>>   
>>>       
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>
>>     
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message