Subject: Re: kernel optimizations
To: Matthias Buelow <mkb@mukappabeta.de>
From: Sung N. Cho <sucho2@vt.edu>
List: netbsd-help
Date: 01/28/2002 15:35:03
That's what I thought at first too.  But, someone told me that turning "-g" 
option supresses any optimizations during compilation.  So, in fact, by 
having "-g" option, I wasns't getting kernel compiled with optimizations 
enabled.  I believe this because kdemedia player did much much poor under 
kernel with "-g" option than with no "-g" option.


Sung




On Monday 28 January 2002 08:26 pm, Matthias Buelow wrote:
> Sung N. Cho writes:
> >But, I have to admit, my kdemedia player works just as fine under "-O2" or
> >"-O3".   But, definitely having "-g" makes noticeable performance degrade
> >from kdemedia player (hears short interrupts when opening files!) and my
> >kernel was huge, 14Meg!"
>
> how should that be, considering the symbol tables produced with -g
> aren't part of the loaded image (they just stay on-disk for use with
> a debugger)...
>
>   --mkb