From owner-freebsd-current@FreeBSD.ORG Mon Feb 11 15:01:47 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E38556B1; Mon, 11 Feb 2013 15:01:47 +0000 (UTC) (envelope-from ian@FreeBSD.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id 51C0D7AA; Mon, 11 Feb 2013 15:01:47 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.6/8.14.6) with ESMTP id r1BF1eMF065407; Mon, 11 Feb 2013 08:01:40 -0700 (MST) (envelope-from ian@FreeBSD.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id r1BF1ai0039620; Mon, 11 Feb 2013 08:01:36 -0700 (MST) (envelope-from ian@FreeBSD.org) Subject: Re: 7+ days of dogfood From: Ian Lepore To: Glen Barber In-Reply-To: <20130211141512.GN1334@glenbarber.us> References: <20130210000723.GA73630@troutmask.apl.washington.edu> <20130211114811.09e56b55@fabiankeil.de> <17E009FB-23FA-4E04-8437-DE81033164DE@FreeBSD.org> <20130211145647.79a01f7e@fabiankeil.de> <20130211141512.GN1334@glenbarber.us> Content-Type: text/plain; charset="us-ascii" Date: Mon, 11 Feb 2013 08:01:36 -0700 Message-ID: <1360594896.4545.81.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-current@FreeBSD.org, David Chisnall , Steve Kargl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2013 15:01:48 -0000 On Mon, 2013-02-11 at 09:15 -0500, Glen Barber 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. > > Glen Actually, anyone who is routinely setting MALLOC_PRODUCTION to run -current, please considering trying again without it. One particular sanity check enabled without MALLOC_PRODUCTION was responsible for virtually all of the performance degradation, and the recent import of a new jemalloc reworked that code to eliminate the problem (it was needlessly validating that freshly mmap'd memory was zeroed; now it only does that validation if it internally recycles a block, and I think it never even does that on freebsd). -- Ian