Buildworld and turning of debugging to speed up the system

Matthew Seaman m.seaman at infracaninophile.co.uk
Tue Jun 8 02:45:58 PDT 2004


On Tue, Jun 08, 2004 at 04:48:25AM -0400, Bruce Hunter wrote:
> Currently I am running 5.2.1 
> I am doing a buildworld, buildkernel,installkernel, installworld
> Whatever you want to call it.
> 
> I read something about turning off debugging in the current release and
> how it will help to speed up my system. How the heck would I go about
> doing this? Does it have to do with adding lines to /etec/make.conf ?

There are various kernel options -- WITNESS, INVARIANTS etc. that act
as debugging aids, but that slow down the system.  The GENERIC kernel
in -CURRENT has those turned on by default.  However, you are running
5.2.1-RELEASE. The good news is, all of those debugging things are
already turned off by default.  You don't need to do anything more.

There are some debugging flags you can set in /etc/make.conf, but
generally those will have no effect on the performance of your system.
Unless you take steps to prevent it, all debugging symbols are
stripped out of the installed binaries when you do a make installword.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040608/ffcd84a7/attachment.bin


More information about the freebsd-questions mailing list