[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to use -dbg packages?



Le dim 27 août 2006 19:28, Ross Boylan a écrit :
> On Fri, Aug 25, 2006 at 10:34:31PM +0530, Ritesh Raj Sarraf wrote:
> > David Martínez Moreno on Friday 25 Aug 2006 15:32 wrote:
> > > Yes.  You simply crash KDE (easy if you use KMail and IMAP) and
> > > drkonqui (the crash handler) will take advantage of installed
> > > debugging symbols in order to provide a more complete backtrace.
> >
> > Just out of curiosity, does installation of the -dbg packages
> > affect the performance of the application in normal use ?
> >
> > Ritesh
>
> Depending upon how much memory you have, it might have a large
> effect.  Increases in memory use increase the amount of paging your
> program will do.  If the paging is from main memory to CPU cache,
> that's not too bad; it if it's from disk to memory, that's bad. 
> (These are two different senses of "paging".)
>
> The effects may be felt in the program with the increased memory
> footprint, or in other programs if they end up doing more disk
> paging.

COMPLETELY WRONG.

> It's possible the system if pretty clever about this (e.g., the
> symbols just stay on disk until they're needed).  If so, the effect
> would be negligible; I don't think the system is that clever.

yes the symbols are out from the standards library path, and only gdb 
and alike tools are aware of it, so the symbols are loaded on demand.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: pgpgK9Dva4RYA.pgp
Description: PGP signature


Reply to: