From owner-freebsd-stable@FreeBSD.ORG Sat May 13 06:03:09 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55C9F16A400; Sat, 13 May 2006 06:03:09 +0000 (UTC) (envelope-from dmitry@atlantis.dp.ua) Received: from postman.atlantis.dp.ua (postman.atlantis.dp.ua [193.108.47.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BA6343D45; Sat, 13 May 2006 06:03:08 +0000 (GMT) (envelope-from dmitry@atlantis.dp.ua) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by postman.atlantis.dp.ua (8.13.1/8.13.1) with ESMTP id k4D636B2090983; Sat, 13 May 2006 09:03:06 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Date: Sat, 13 May 2006 09:03:06 +0300 (EEST) From: Dmitry Pryanishnikov To: Kris Kennaway In-Reply-To: <20060513015809.GA18438@xor.obsecurity.org> Message-ID: <20060513085923.J74146@atlantis.atlantis.dp.ua> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060502181118.M92256@fledge.watson.org> <20060512232806.Q35558@atlantis.atlantis.dp.ua> <20060513015809.GA18438@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-stable@FreeBSD.org, Robert Watson Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 May 2006 06:03:09 -0000 Hello! On Fri, 12 May 2006, Kris Kennaway wrote: >> So maybe it's time to add, say, >> >> options INVARIANTS_EXTENDED >> >> for these new and expensive checks, and leave only basic and cheap (yet >> effective for bug hunting) asserts enabled when only >> >> options INVARIANTS >> >> is defined? > > No, they are all effective for bug hunting. You just need to be aware > that it is incompatible with performance. But, you know, many bugs can be hunted only under long-term production conditions, while incompatibility between INVARIANTS and performance effectively prevents successful bug hunting under these conditions, because performance is often critical in production. > Kris Sincerely, Dmitry -- Atlantis ISP, System Administrator e-mail: dmitry@atlantis.dp.ua nic-hdl: LYNX-RIPE