perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <go...@ectoplasm.org>
Subject Re: Startup Slow with DSO mod_perl
Date Wed, 08 Apr 2009 02:10:23 GMT
On 6/4/09 15:59, David E. Wheeler wrote:
> On Apr 6, 2009, at 12:13 PM, Philippe M. Chiasson wrote:
> 
>>> It sure seems to be loading a shitload more Perl modules; they all
>>> load with static mod_perl, too, though, and that's good and fast.
>>> There are also a ton of calls to munmap(). Other than obvious
>>> flushing, I don't see it getting hung up on any one thing. :-(
>>
>> It would be more interesting to compare the differences in dtruss  
>> output
>> between static and dynamic, looking for some glaring differences.
> 
> Right, sensible. I've attached output for statically-compiled and DSO  
> mod_perl1 (I've never built a static mod_perl 2). The DSO file is  
> twice the size, so something is quite different.

Looks like in the DSO case, you end up with what looks like double the
work, and very similar, kinda like a start/restart cycle.

I don't remember apache 1.3, but would it be possible that it does a restart
on start _only_ for the DSO case ?

-- 
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/


Mime
View raw message