From owner-freebsd-current@FreeBSD.ORG Wed Aug 18 21:01:31 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 258EB16A4CF for ; Wed, 18 Aug 2004 21:01:31 +0000 (GMT) Received: from avscan1.sentex.ca (avscan1.sentex.ca [199.212.134.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id B33E243D49 for ; Wed, 18 Aug 2004 21:01:30 +0000 (GMT) (envelope-from mike@sentex.net) Received: from localhost (localhost.sentex.ca [127.0.0.1]) by avscan1.sentex.ca (8.12.11/8.12.11) with ESMTP id i7IL1TFU099265; Wed, 18 Aug 2004 17:01:29 -0400 (EDT) (envelope-from mike@sentex.net) Received: from avscan1.sentex.ca ([127.0.0.1]) by localhost (avscan1.sentex.ca [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 98834-06; Wed, 18 Aug 2004 17:01:29 -0400 (EDT) Received: from lava.sentex.ca (pyroxene.sentex.ca [199.212.134.18]) by avscan1.sentex.ca (8.12.11/8.12.11) with ESMTP id i7IL1Thl099235; Wed, 18 Aug 2004 17:01:29 -0400 (EDT) (envelope-from mike@sentex.net) Received: from simian.sentex.net (simeon.sentex.ca [192.168.43.27]) by lava.sentex.ca (8.12.11/8.12.11) with ESMTP id i7IL1NUs007478; Wed, 18 Aug 2004 17:01:23 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <6.1.2.0.0.20040818170232.05773880@64.7.153.2> X-Sender: mdtpop@64.7.153.2 (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.1.2.0 Date: Wed, 18 Aug 2004 17:05:13 -0400 To: Kris Kennaway From: Mike Tancsa In-Reply-To: <20040818205029.GA48028@xor.obsecurity.org> References: <20040818200530.GA88370@abigail.blackend.org> <20040818205029.GA48028@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by amavisd-new X-Virus-Scanned: by amavisd-new at avscan1b cc: freebsd-current@freebsd.org Subject: Re: Weird performances: -CURRENT vs 5.2.1 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, 18 Aug 2004 21:01:31 -0000 At 04:50 PM 18/08/2004, Kris Kennaway wrote: >On Wed, Aug 18, 2004 at 10:05:30PM +0200, Marc Fonvieille wrote: > > Hello, > > > > Since I installed a recent -CURRENT (from 16/08) on my laptop, I noted > > a big difference during "make clean" in a port directory. > > With 5.2.1, the make clean operation is transparent, I mean I don't > > notice any difference on system load or user interactivity. With > > -CURRENT, I see some little freezes, xmms skips etc. and a large swap is > > used... > >Did you read the big note at the head of UPDATING? Hi, As someone who is also going to start testing the waters with RELENG_5 on some non critical production servers (e.g. one of n spam and av scanning machines), I take it you mean, 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. Are there more details somewhere as to what exactly to turn off and tweak ? ---Mike