geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevan Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GERONIMO-6055) improve server startup time
Date Mon, 11 Jul 2011 17:33:02 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-6055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13063447#comment-13063447
] 

Kevan Miller commented on GERONIMO-6055:
----------------------------------------

Some of the data from the .png attachments seems a bit skewed. So, I instrumented some code
to look at where we're spending some time... Here's some of the results:

_Startup completed in 19.411s seconds_

Of that time, we spent nearly half of that time in o.a.g.bval.ValidatorFactoryGBean.createDefaultFactory()
and o.a.g.tomcat.TomcatContainer.addContext() (following times are in milliseconds):

_ValidatorFactoryGBean.createDefaultFactory() time: 249, Cumulative time: 4064, Average: 254_

and

_TomcatContainer.addContext() time: 1704, Cumulative time: 5454, Average: 495_

Of the addContext() time, we spent nearly all of the time in the following 2 methods during
the addContext() processing:

_GeronimoStandardContext.setContextProperties() time: 321, Cumulative time: 3266, Average:
296_

_GeronimoStandardContext.startInternal() time: 1382, Cumulative time: 2125, Average: 193_

This final startInternal() call occurred during the start of uddi-tomcat.

> improve server startup time
> ---------------------------
>
>                 Key: GERONIMO-6055
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6055
>             Project: Geronimo
>          Issue Type: Improvement
>      Security Level: public(Regular issues) 
>    Affects Versions: 3.0
>            Reporter: Kevan Miller
>         Attachments: BeanValidationCallStack.png, OpenWebBeansCallStack.png
>
>
> 3.0 server startup has gotten kind of slow. Time to see if we can boost it, a bit.
> I've made some measurements of server startup time using YourKit Java Profiler (which
I think is a great memory and performance analysis tool). If anybody is trying to use it with
Geronimo, you need to update etc/config.properties in order to run YourKit with Geronimo 3.0.
Add "com.yourkit.*" to the org.osgi.framework.bootdelegation setting.
> There are a few surprising hot spots. There may be some improvements that we can suggest
to the Equinox project. However, I think there are some improvements that we should be making,
also...
> I'll attach some screen captures that should illustrate some of the issues.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message