Is a debug kernel slower than a non-debug one ?

2002-04-05 Thread Alessandro de Manzano
Hello! Well, the subj says more or less all.. ;-) On 4.x-STABLE systems, a kernel compiled with "options DDB" and "makeoptions DEBUG=-g" is, at execution, slower than one compiled without that two settings ? Or is it "only" bigger on disk and, maybe, in memory ? I ask you this because I'm evalu

Re: Is a debug kernel slower than a non-debug one ?

2002-04-05 Thread Alfred Perlstein
* Alessandro de Manzano <[EMAIL PROTECTED]> [020405 11:57] wrote: > Hello! > > Well, the subj says more or less all.. ;-) > > On 4.x-STABLE systems, a kernel compiled with "options DDB" and > "makeoptions DEBUG=-g" is, at execution, slower than one compiled > without that two settings ? > Or is

Re: Is a debug kernel slower than a non-debug one ?

2002-04-05 Thread Alessandro de Manzano
On Fri, Apr 05, 2002 at 12:00:05PM -0800, Alfred Perlstein wrote: Wow, thanks for the super-fast answer! :)) > > on my production servers' kernel so in the very rare case of crash I'll > > got a crash dump ( I'ld use also options DDB_UNATTENDED) and could > > immediately have a backtrace report

Re: Is a debug kernel slower than a non-debug one ?

2002-04-05 Thread Alfred Perlstein
* Alessandro de Manzano <[EMAIL PROTECTED]> [020405 12:08] wrote: > On Fri, Apr 05, 2002 at 12:00:05PM -0800, Alfred Perlstein wrote: > > Wow, thanks for the super-fast answer! :)) > > > > > on my production servers' kernel so in the very rare case of crash I'll > > > got a crash dump ( I'ld us

Re: Is a debug kernel slower than a non-debug one ?

2002-04-05 Thread Doug White
On Fri, 5 Apr 2002, Alessandro de Manzano wrote: > On Fri, Apr 05, 2002 at 12:00:05PM -0800, Alfred Perlstein wrote: > > Wow, thanks for the super-fast answer! :)) > > > > > on my production servers' kernel so in the very rare case of crash I'll > > > got a crash dump ( I'ld use also options DDB_

Re: Is a debug kernel slower than a non-debug one ?

2002-04-05 Thread Greg 'groggy' Lehey
On Friday, 5 April 2002 at 14:18:38 -0800, Doug White wrote: > On Fri, 5 Apr 2002, Alessandro de Manzano wrote: > >> On Fri, Apr 05, 2002 at 12:00:05PM -0800, Alfred Perlstein wrote: >> >> Wow, thanks for the super-fast answer! :)) >> >> on my production servers' kernel so in the very rare c

Re: Is a debug kernel slower than a non-debug one ?

2002-04-06 Thread Doug White
On Sat, 6 Apr 2002, Greg 'groggy' Lehey wrote: > > Note that the kernel binary with debugging symbols is left in > > /sys/compile/MYKERNEL/kernel.debug while the actual kernel is stripped > > before installation into /kernel. > > > > If the debugging kernel was actually loaded it would be giganti

Re: Is a debug kernel slower than a non-debug one ?

2002-04-08 Thread Greg 'groggy' Lehey
On Saturday, 6 April 2002 at 23:40:45 -0800, Doug White wrote: > On Sat, 6 Apr 2002, Greg 'groggy' Lehey wrote: > >>> Note that the kernel binary with debugging symbols is left in >>> /sys/compile/MYKERNEL/kernel.debug while the actual kernel is stripped >>> before installation into /kernel. >>>