From owner-freebsd-current@FreeBSD.ORG Sat Dec 13 16:56:29 2003 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 DA19E16A4CE for ; Sat, 13 Dec 2003 16:56:29 -0800 (PST) Received: from smtp.des.no (flood.des.no [217.116.83.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF60243D33 for ; Sat, 13 Dec 2003 16:55:50 -0800 (PST) (envelope-from des@des.no) Received: by smtp.des.no (Pony Express, from userid 666) id 8D73F5309; Sun, 14 Dec 2003 01:55:49 +0100 (CET) Received: from dwp.des.no (des.no [80.203.228.37]) by smtp.des.no (Pony Express) with ESMTP id 98EAE5308 for ; Sun, 14 Dec 2003 01:55:41 +0100 (CET) Received: by dwp.des.no (Postfix, from userid 2602) id E106233C90; Sun, 14 Dec 2003 01:55:40 +0100 (CET) To: freebsd-current@freebsd.org References: <20031213230112.GP33115@mail.acropolis.ru> From: des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=) Date: Sun, 14 Dec 2003 01:55:40 +0100 In-Reply-To: <20031213230112.GP33115@mail.acropolis.ru> (Slawa Olhovchenkov's message of "Sun, 14 Dec 2003 02:01:12 +0300") Message-ID: User-Agent: Gnus/5.090024 (Oort Gnus v0.24) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on flood.des.no X-Spam-Level: X-Spam-Status: No, hits=0.1 required=5.0 tests=RCVD_IN_SORBS autolearn=no version=2.60 Subject: Re: Poor performance 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: Sun, 14 Dec 2003 00:56:30 -0000 Slawa Olhovchenkov writes: > I have upgrade web server from 4.7 to current (cvsup date 2003.12.08.06.4= 0.00) > and have degradation performance. des@dwp /usr/src% head -18 UPDATING Updating Information for FreeBSD current users This file is maintained and copyrighted by M. Warner Losh . See end of file for further details. For commonly done items, please see the COMMON ITEMS: section later in the file. 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. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no