From owner-freebsd-current@FreeBSD.ORG Wed Jan 28 08:57:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64D8816A4CE for ; Wed, 28 Jan 2004 08:57:44 -0800 (PST) Received: from winston.piwebs.com (217-19-20-186.dsl.cambrium.nl [217.19.20.186]) by mx1.FreeBSD.org (Postfix) with SMTP id 3B8A843D2F for ; Wed, 28 Jan 2004 08:57:42 -0800 (PST) (envelope-from avleeuwen@piwebs.com) Received: (qmail 60867 invoked from network); 28 Jan 2004 16:57:40 -0000 Received: from vincent.piwebs.com (192.168.0.97) by winston.piwebs.com with SMTP; 28 Jan 2004 16:57:40 -0000 From: Arjan van Leeuwen To: freebsd-current@freebsd.org Date: Wed, 28 Jan 2004 17:57:40 +0100 User-Agent: KMail/1.5.94 References: <40171BF2.8090903@slavepix.com> In-Reply-To: <40171BF2.8090903@slavepix.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200401281757.40282.avleeuwen@piwebs.com> cc: slave-mike Subject: Re: 5.x SLOW - How do I speed it up? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: avleeuwen@piwebs.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jan 2004 16:57:44 -0000 On Wednesday 28 January 2004 03:18, slave-mike wrote: > What are all the options one needs to change before doing a > buildworld/installworld > to make sure all the debugging features are off? - remove the kernel debugging options, as it says - turn off malloc debugging, e.g. ln -s aj /etc/malloc.conf Arjan > > > NOTE TO PEOPLE WHO THINK THAT FreeBSD 5.x IS SLOW: > > FreeBSD 5.x has many debugging features turned on, in > > both the kernel and userland. These features attempt to detect > > incorrect use of system primitives, and encourage loud failure > > through extra sanity checking and fail stop semantics. They > > also substantially impact system performance. If you want to > > do performance measurement, benchmarking, and optimization, > > you'll want to turn them off. This includes various WITNESS- > > related kernel options, INVARIANTS, malloc debugging flags > > in userland, and various verbose features in the kernel. Many > > developers choose to disable these features on build machines > > to maximize performance. > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"