Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2004 18:32:07 -1000 (HST)
From:      Vincent Poy <vince@oahu.WURLDLINK.NET>
To:        Andre Guibert de Bruet <andy@siliconlandmark.com>
Cc:        current@freebsd.org
Subject:   Re: buildworld times
Message-ID:  <20040228183123.Q8264-100000@oahu.WURLDLINK.NET>
In-Reply-To: <20040228231904.B3751@alpha.siliconlandmark.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 28 Feb 2004, Andre Guibert de Bruet wrote:

> On Sat, 28 Feb 2004, Vincent Poy wrote:
>
> > On Sat, 28 Feb 2004, Robert Watson wrote:
> > > As you point out, debugging problems is a lot easier if you run with
> > > INVARIANTS+WITNESS.  However, you may well see build times halve or more
> > > by running without WITNESS.
> >
> > 	I always thought INVARIANTS caused slow performance as well.
> > Ofcourse, it does seem all the stuff mentioned above is disabled in a
> > -RELEASE GENERIC kernel so that may be it as well.
>
> GENERIC's got enough stuff in it that you will notice a good difference in
> the disk footprint of the image as well as the memory image of the kernel
> when run. I tend to take GENERIC, strip out all of the statically compiled
> drivers that I don't need and add whatever options I need on the machine.
> From my own tests, something as simple as "options ADAPTIVE_MUTEXES" can
> yield upwards of 5% compile time reduction. This number is even higher on
> multi-CPU machines.

	That's what I usually do is disable the stuff I don't need but
with -current, it seems like you need the debugging for kernel panics as a
necessary precaution.


Cheers,
Vince - vince@WURLDLINK.NET - Vice President             ________   __ ____
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation                                  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong                  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]
Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040228183123.Q8264-100000>