From owner-freebsd-current@FreeBSD.ORG Tue Jan 27 18:18: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 0DD2316A4CE for ; Tue, 27 Jan 2004 18:18:44 -0800 (PST) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 93BB543D39 for ; Tue, 27 Jan 2004 18:18:29 -0800 (PST) (envelope-from slave-mike@slavepix.com) Received: from duron.rv1.dynip.com (c-66-177-119-177.se.client2.attbi.com[66.177.119.177]) by comcast.net (sccrmhc11) with ESMTP id <2004012802182801100jilvhe>; Wed, 28 Jan 2004 02:18:28 +0000 Received: from slavepix.com (localhost [127.0.0.1]) by duron.rv1.dynip.com (8.12.10/8.12.10) with ESMTP id i0S2IQiJ000907 for ; Tue, 27 Jan 2004 21:18:26 -0500 (EST) (envelope-from slave-mike@slavepix.com) Message-ID: <40171BF2.8090903@slavepix.com> Date: Tue, 27 Jan 2004 21:18:26 -0500 From: slave-mike User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "'freebsd-current@freebsd.org'" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 28 Jan 2004 06:12:04 -0800 Subject: 5.x SLOW - How do I speed it up? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 28 Jan 2004 02:18:44 -0000 What are all the options one needs to change before doing a buildworld/installworld to make sure all the debugging features are off? > 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.