RELENG_4 -> 5 -> 6: significant performance regression

Dominic Marks dom at helenmarks.co.uk
Sun Apr 30 12:39:13 UTC 2006


Peter Jeremy wrote:
> On Sun, 2006-Apr-30 10:05:40 +0100, Chris wrote:
>> Does 'makeoptions     DEBUG=-g' add any kind of performance hit or
>> overhead as I noticed it wasnt default in 5.4 but is in 6.0.
> 
> No.  It just means that a debug kernel is built in addition to the
> normal kernel.  The major benefit is that if you do get a panic,
> you can debug it without needing to rebuild the kernel.
> 

I've often thought that the default should be for this to be
on instead of off. Does anyone know why the current state is
so? I suppose it incurs a small amount of additional disc
space but the benefits are considerable for everyone involved.

Cheers,
Dominic




More information about the freebsd-stable mailing list