Re: 7+ days of dogfood

From: Fabian Keil <freebsd-listen_at_fabiankeil.de>
Date: Mon, 11 Feb 2013 18:45:05 +0100
Glen Barber <gjb_at_FreeBSD.org> wrote:

> On Mon, Feb 11, 2013 at 02:56:47PM +0100, Fabian Keil wrote:
> > >                                  WITHOUT_GCC=yes in src.conf is
> > > worthwhile.  WITHOUT_GDB=yes is probably also sensible, as the gdb in
> > > base is so old that it doesn't understand most of the DWARF that
> > > clang uses.  We should have lldb ready for import in a few months,
> > > but until then using gdb from ports is more sensible if you plan on
> > > actually doing any debugging.
> > 
> > So far I didn't consider not building gdb, but I agree that it's
> > not too useful when compiling with clang and am already using
> > gdb751 for debugging anyway.
> > 
> > My impression was that the base gdb compiles rather quickly
> > (compared to more recent versions) and that it thus wouldn't
> > matter, but I'll give it a try.
> > 
> > Thanks for the suggestion.
> > 
> 
> You might also want to try MALLOC_PRODUCTION=1 in make.conf.  This took
> my buildworld/buildkernel times from 35/15 minutes to 8/5 minutes,
> respectively.

I've been using MALLOC_PRODUCTION since before I started collecting
build times and don't remember the impact, but I think the difference
was less impressive than in your case and the massive slowdowns that
are now supposed to be fixed only happened "recently" (after 2010)
and thus never affected me. Thanks, though.

Fabian

Received on Mon Feb 11 2013 - 17:05:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC