Daniel Jacobowitz wrote:

>>The thing that drives me crazy is that neither Doug nor Philip who both 
>>use almost the same version of everything on linux and using the same 
>>build options don't have this huge startup lag. I cannot figure out what 
>>it is that is different on my system that only I see this problem :( Any 
>>hints? I was trying to profile the startup to figure out where gdb 
>>spends most of the time but first I couldn't get any DSO loaded gprof 
>>data second I'm not sure I can really catch it. Should I use kernel 
>>level tracing? strace doesn't reveal anything interesting, it shows the 
>>PTRACE_PEEKTEXT op all the time, but nothing else I can use to aid my 
>>tracing.
>>
> 
> Is it possible that Doug and Philip do not have libthread_db installed,
> in which case GDB won't try to be thread-aware?  Or, actually, it could
> be a gdb version issue.  The slowness came with the current
> thread-aware debugging package, which is fairly recent (snapshots from
> a year ago through the release last week).


I've checked, Philippe has libthread_db and running the same gdb version 
(the same release but he is on RH, while I'm on Mandrake Linux).

 


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to