From owner-freebsd-hackers@FreeBSD.ORG Tue Aug 19 01:22:29 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D1B016A4BF; Tue, 19 Aug 2003 01:22:29 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id F053543F85; Tue, 19 Aug 2003 01:22:27 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h7J8MIlX045647; Tue, 19 Aug 2003 10:22:18 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Dan Nelson From: "Poul-Henning Kamp" In-Reply-To: Your message of "Sun, 17 Aug 2003 16:16:27 CDT." <20030817211627.GC2653@dan.emsphone.com> Date: Tue, 19 Aug 2003 10:22:18 +0200 Message-ID: <45646.1061281338@critter.freebsd.dk> cc: Robert Watson cc: Buckie cc: freebsd-hackers@freebsd.org Subject: Re: GEOM Gate. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2003 08:22:29 -0000 In message <20030817211627.GC2653@dan.emsphone.com>, Dan Nelson writes: >I think this just demonstrates that you should not run benchmarks with >all your debugging flags enabled :) Most people will not be running >production systems with WITNESS, and parts of the kernel that bog down >under the heavy load of WITNESS may work just fine on a regular kernal >config. To quote from src/UPDATING: ] NOTE TO PEOPLE WHO THINK THAT 5.0-CURRENT IS SLOW: ] FreeBSD 5.0-CURRENT 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. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.