geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder" <ammul...@alumni.princeton.edu>
Subject Re: Weekly: Geronimo 1.2-r465304
Date Thu, 19 Oct 2006 20:31:56 GMT
Looking at the 1.2 results: webconsole-jetty in 27s and
webconsole-tomcat in < 5s....  That suggests GBeans aren't the whole
problem...

Thanks,
     Aaron

On 10/19/06, Dain Sundstrom <dain@iq80.com> wrote:
> On Oct 19, 2006, at 12:26 PM, Kevan Miller wrote:
>
> >
> > On Oct 19, 2006, at 2:27 PM, Aaron Mulder wrote:
> >
> >> In 1.1.1, the majority of the startup delay is in the console module.
> >> Dain suggested it's because we precompile the JSPs, so each one
> >> becomes a servlet, so each one becomes a GBean, and starting
> >> GBeans is
> >> what's slow.  I found it hard to believe they're *that* slow, but I
> >> don't have any factual basis for disputing the claim...  :)  In any
> >> case, it would be great to investigate and optimize the startup time,
> >> or maybe introduce an option for a module that would kick it's
> >> startup
> >> into a background task or something.
> >
> > Agreed that some optimization would be nice. However, this isn't
> > really a case of "optimization", I think. Something has changed
> > quite drastically between 1.1.1 and 1.2-SNAPSHOT. We've more than
> > doubled our startup time...
>
> My guess is we have doubled the number of jsp pages and thus the
> number of GBeans.
>
> -dain
>
> Here are the numbers from 1.2 jetty:
>
> Module  1/22 org.apache.geronimo.configs/rmi-naming/1.2-r465304/
> car              started in   .274s
> Module  2/22 org.apache.geronimo.configs/j2ee-server/1.2-r465304/
> car             started in   .143s
> Module  3/22 org.apache.geronimo.configs/transaction/1.2-r465304/
> car             started in   .243s
> Module  4/22 org.apache.geronimo.configs/j2ee-security/1.2-r465304/
> car           started in   .333s
> Module  5/22 org.apache.geronimo.configs/axis/1.2-r465304/
> car                    started in   .044s
> Module  6/22 org.apache.geronimo.configs/openejb/1.2-r465304/
> car                 started in  1.785s
> Module  7/22 org.apache.geronimo.configs/system-database/1.2-r465304/
> car         started in   .000s
> Module  9/22 org.apache.geronimo.configs/activemq/1.2-r465304/
> car                started in   .239s
> Module 10/22 org.apache.geronimo.configs/jetty/1.2-r465304/
> car                   started in   .533s
> Module 11/22 org.apache.geronimo.configs/geronimo-gbean-deployer/1.2-
> r465304/car started in   .183s
> Module 12/22 org.apache.geronimo.configs/j2ee-deployer/1.2-r465304/
> car           started in   .203s
> Module 13/22 org.apache.geronimo.configs/connector-deployer/1.2-
> r465304/car      started in   .128s
> Module 14/22 org.apache.geronimo.configs/openejb-deployer/1.2-r465304/
> car        started in   .302s
> Module 15/22 org.apache.geronimo.configs/client-deployer/1.2-r465304/
> car         started in   .067s
> Module 16/22 org.apache.geronimo.configs/axis-deployer/1.2-r465304/
> car           started in   .585s
> Module 17/22 org.apache.geronimo.configs/sharedlib/1.2-r465304/
> car               started in   .007s
> Module 18/22 org.apache.geronimo.configs/jetty-deployer/1.2-r465304/
> car          started in   .259s
> Module 19/22 org.apache.geronimo.configs/welcome-jetty/1.2-r465304/
> car           started in   .452s
> Module 20/22 org.apache.geronimo.configs/webconsole-jetty/1.2-r465304/
> car        started in 27.210s
> Module 21/22 org.apache.geronimo.configs/remote-deploy-jetty/1.2-
> r465304/car     started in   .190s
> Module 22/22 org.apache.geronimo.configs/hot-deployer/1.2-r465304/
> car            started in   .278s
>
> And from 1.1 jetty;
>
> Booting Geronimo Kernel (in Java 1.4.2_09)...
> Module  1/20 geronimo/rmi-naming/1.1.1/car              started in   .
> 206s
> Module  2/20 geronimo/j2ee-server/1.1.1/car             started in   .
> 350s
> Module  3/20 geronimo/j2ee-security/1.1.1/car           started in   .
> 339s
> Module  4/20 geronimo/axis/1.1.1/car                    started in   .
> 049s
> Module  5/20 geronimo/openejb/1.1.1/car                 started in   .
> 232s
> Module  6/20 geronimo/system-database/1.1.1/car         started in
> 1.521s
> Module  7/20 geronimo/activemq-broker/1.1.1/car         started in   .
> 810s
> Module  8/20 geronimo/activemq/1.1.1/car                started in   .
> 218s
> Module  9/20 geronimo/jetty/1.1.1/car                   started in   .
> 445s
> Module 10/20 geronimo/geronimo-gbean-deployer/1.1.1/car started in   .
> 180s
> Module 11/20 geronimo/j2ee-deployer/1.1.1/car           started in   .
> 163s
> Module 12/20 geronimo/openejb-deployer/1.1.1/car        started in   .
> 187s
> Module 13/20 geronimo/client-deployer/1.1.1/car         started in   .
> 036s
> Module 14/20 geronimo/axis-deployer/1.1.1/car           started in   .
> 050s
> Module 15/20 geronimo/sharedlib/1.1.1/car               started in   .
> 005s
> Module 16/20 geronimo/jetty-deployer/1.1.1/car          started in   .
> 181s
> Module 17/20 geronimo/welcome-jetty/1.1.1/car           started in   .
> 441s
> Module 18/20 geronimo/webconsole-jetty/1.1.1/car        started in
> 7.797s
> Module 19/20 geronimo/remote-deploy-jetty/1.1.1/car     started in   .
> 165s
> Module 20/20 geronimo/hot-deployer/1.1.1/car            started in   .
> 220s
>
> And tomcat 1.2
>
> Module  1/22 org.apache.geronimo.configs/rmi-naming/1.2-r465304/
> car              started in   .282s
> Module  2/22 org.apache.geronimo.configs/j2ee-server/1.2-r465304/
> car             started in   .142s
> Module  3/22 org.apache.geronimo.configs/transaction/1.2-r465304/
> car             started in   .212s
> Module  4/22 org.apache.geronimo.configs/j2ee-security/1.2-r465304/
> car           started in   .325s
> Module  5/22 org.apache.geronimo.configs/axis/1.2-r465304/
> car                    started in   .044s
> Module  6/22 org.apache.geronimo.configs/openejb/1.2-r465304/
> car                 started in  2.236s
> Module  7/22 org.apache.geronimo.configs/system-database/1.2-r465304/
> car         started in   .000s
> Module  8/22 org.apache.geronimo.configs/activemq-broker/1.2-r465304/
> car         started in  1.155s
> Module  9/22 org.apache.geronimo.configs/activemq/1.2-r465304/
> car                started in   .239s
> Module 10/22 org.apache.geronimo.configs/tomcat/1.2-r465304/
> car                  started in  1.588s
> Module 11/22 org.apache.geronimo.configs/geronimo-gbean-deployer/1.2-
> r465304/car started in   .292s
> Module 12/22 org.apache.geronimo.configs/j2ee-deployer/1.2-r465304/
> car           started in   .206s
> Module 13/22 org.apache.geronimo.configs/connector-deployer/1.2-
> r465304/car      started in   .131s
> Module 14/22 org.apache.geronimo.configs/openejb-deployer/1.2-r465304/
> car        started in   .306s
> Module 15/22 org.apache.geronimo.configs/client-deployer/1.2-r465304/
> car         started in   .066s
> Module 16/22 org.apache.geronimo.configs/axis-deployer/1.2-r465304/
> car           started in   .492s
> Module 17/22 org.apache.geronimo.configs/sharedlib/1.2-r465304/
> car               started in   .007s
> Module 18/22 org.apache.geronimo.configs/tomcat-deployer/1.2-r465304/
> car         started in   .087s
> Module 19/22 org.apache.geronimo.configs/welcome-tomcat/1.2-r465304/
> car          started in   .204s
> Module 20/22 org.apache.geronimo.configs/webconsole-tomcat/1.2-
> r465304/car       started in  4.658s
> Module 21/22 org.apache.geronimo.configs/remote-deploy-tomcat/1.2-
> r465304/car    started in   .373s
> Module 22/22 org.apache.geronimo.configs/hot-deployer/1.2-r465304/
> car            started in   .260s
>

Mime
View raw message