Re: [Resin-interest] Resin 4.0.14+ slow to boot

2011-03-07 Thread Mattias Jiderhamn
Scott Ferguson wrote (2011-03-02 18:10):
> On 03/02/2011 02:53 AM, Mattias Jiderhamn wrote:
>> We're looking forward to upgrading from 4.0.10 to 4.0.15, but during
>> testing we notice 4.0.15 takes way longer to boot our application.
>> Results on different machines range from twice the time to 4-5 times as
>> long. It seems that the Spring/Hibernate initialization is taking most
>> of the time (just by debug outputs, no profiling yet)
>>
>> Narrowing it down, it changed between 4.0.13 and 4.0.14.
>>
>> Is anyone else seeing this? Would this be expected for any reason (like
>> XML parser, DTD resolving)???
>>
>> (We have primarily tested this on Windows with a Resin Pro license that
>> should be valid for the update)
> I may have just hit this and fixed it (I need to verify the specific
> change - there are two.)
>
> Resin's classloader does some analysis and caching to improve
> resource/class loading performance. This speeds up Spring/Hibernate
> initialization considerably. Some of that caching was causing problems
> with GC, so it was reversed. I'll see how it can be fixed.
Great. Is there a bug entry I can keep track of to see when I should try 
the snapshop?




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin 4.0.14+ slow to boot

2011-03-07 Thread Bill Au
Soctt,
 Assuming this fix will be in 4.0.16, how soon will that be released?
We are looking to upgrade to Resin 4.  I would not want to have to do the
upgrade in 2 steps (first to 4.0.15, and then to 4.0.16 with this fix).  How
long is the startup delay anyway?

Bill

On Wed, Mar 2, 2011 at 12:10 PM, Scott Ferguson  wrote:

> On 03/02/2011 02:53 AM, Mattias Jiderhamn wrote:
> > We're looking forward to upgrading from 4.0.10 to 4.0.15, but during
> > testing we notice 4.0.15 takes way longer to boot our application.
> > Results on different machines range from twice the time to 4-5 times as
> > long. It seems that the Spring/Hibernate initialization is taking most
> > of the time (just by debug outputs, no profiling yet)
> >
> > Narrowing it down, it changed between 4.0.13 and 4.0.14.
> >
> > Is anyone else seeing this? Would this be expected for any reason (like
> > XML parser, DTD resolving)???
> >
> > (We have primarily tested this on Windows with a Resin Pro license that
> > should be valid for the update)
>
> I may have just hit this and fixed it (I need to verify the specific
> change - there are two.)
>
> Resin's classloader does some analysis and caching to improve
> resource/class loading performance. This speeds up Spring/Hibernate
> initialization considerably. Some of that caching was causing problems
> with GC, so it was reversed. I'll see how it can be fixed.
>
> -- Scott
>
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] Resin 4.0.14+ slow to boot

2011-03-07 Thread Scott Ferguson

On 03/07/2011 07:41 AM, Bill Au wrote:

Soctt,
 Assuming this fix will be in 4.0.16, how soon will that be released?


We're starting on the regression checkout for it. So this week if 
everything goes well.


  We are looking to upgrade to Resin 4.  I would not want to have to 
do the upgrade in 2 steps (first to 4.0.15, and then to 4.0.16 with 
this fix).  How long is the startup delay anyway?


It would really depend on the application. For Liferay (a pretty big 
Spring application) it was almost a factor of 10.


-- Scott



Bill

On Wed, Mar 2, 2011 at 12:10 PM, Scott Ferguson > wrote:


On 03/02/2011 02:53 AM, Mattias Jiderhamn wrote:
> We're looking forward to upgrading from 4.0.10 to 4.0.15, but during
> testing we notice 4.0.15 takes way longer to boot our application.
> Results on different machines range from twice the time to 4-5
times as
> long. It seems that the Spring/Hibernate initialization is
taking most
> of the time (just by debug outputs, no profiling yet)
>
> Narrowing it down, it changed between 4.0.13 and 4.0.14.
>
> Is anyone else seeing this? Would this be expected for any
reason (like
> XML parser, DTD resolving)???
>
> (We have primarily tested this on Windows with a Resin Pro
license that
> should be valid for the update)

I may have just hit this and fixed it (I need to verify the specific
change - there are two.)

Resin's classloader does some analysis and caching to improve
resource/class loading performance. This speeds up Spring/Hibernate
initialization considerably. Some of that caching was causing problems
with GC, so it was reversed. I'll see how it can be fixed.

-- Scott



___
resin-interest mailing list
resin-interest@caucho.com 
http://maillist.caucho.com/mailman/listinfo/resin-interest




___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest