Weird performances: -CURRENT vs 5.2.1

Andre Oppermann andre at freebsd.org
Thu Aug 19 11:25:28 PDT 2004


Peter Jeremy wrote:
> On Thu, 2004-Aug-19 09:26:14 +0200, Marc Fonvieille wrote:
> 
>>It's not really documented.  To sum up, you have to remove these lines
> 
>>from your kernel configuration file:
> 
>>makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
>>
>># Debugging for use in -current
>>options         KDB                     # Enable kernel debugger support.
>>options         DDB                     # Support DDB.
>>options         GDB                     # Support remote GDB.
> 
> The above lines have no measurable runtime performance impact.  Removing
> them just makes it far more difficult to debug any problems.

I fully agree with two expections:

  1. "options GDB" should not be included by default because it opens a nasty
     security hole via firewire and if someone has easy access to the serial
     ports.

  2. Unattended should be compiled in.  Thus the box panics and gives a traceback
     but will reboot after 15 seconds.

-- 
Andre



More information about the freebsd-current mailing list