Re: Weird performances: -CURRENT vs 5.2.1

From: Andre Oppermann <andre_at_freebsd.org>
Date: Thu, 19 Aug 2004 20:25:26 +0200
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
Received on Thu Aug 19 2004 - 16:25:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC