From owner-freebsd-stable@FreeBSD.ORG Sat May 13 12:29:32 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 C976616A408 for ; Sat, 13 May 2006 12:29:32 +0000 (UTC) (envelope-from fullermd@over-yonder.net) Received: from mail.localelinks.com (web.localelinks.com [64.39.75.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67DD743D46 for ; Sat, 13 May 2006 12:29:32 +0000 (GMT) (envelope-from fullermd@over-yonder.net) Received: from draco.over-yonder.net (adsl-072-148-013-213.sip.jan.bellsouth.net [72.148.13.213]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.localelinks.com (Postfix) with ESMTP id BC42A168; Sat, 13 May 2006 07:29:31 -0500 (CDT) Received: by draco.over-yonder.net (Postfix, from userid 100) id E84D761C2B; Sat, 13 May 2006 07:29:30 -0500 (CDT) Date: Sat, 13 May 2006 07:29:30 -0500 From: "Matthew D. Fuller" To: Jonathan Noack Message-ID: <20060513122930.GD3874@over-yonder.net> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <20060428122448.K57436@atlantis.atlantis.dp.ua> <20060428182818.GA10410@xor.obsecurity.org> <20060512161836.R75964@atlantis.atlantis.dp.ua> <20060513020051.GB18438@xor.obsecurity.org> <20060513084236.W74146@atlantis.atlantis.dp.ua> <4465843E.9070108@alumni.rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4465843E.9070108@alumni.rice.edu> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.11-fullermd.3 Cc: Dmitry Pryanishnikov , freebsd-stable@FreeBSD.org, Kris Kennaway 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 12:29:32 -0000 On Sat, May 13, 2006 at 03:01:18AM -0400 I heard the voice of Jonathan Noack, and lo! it spake thus: > > Have you tried putting I586_CPU in there? See > http://lists.freebsd.org/pipermail/freebsd-stable/2005-December/020696.html. As Peter Jeremy mentioned in , the primary suspect (optimized copy/zero routines) would never happen except on a real 586 CPU, and is totally disabled anyway. See sys/i386/isa/npx.c line 424-437 (line numbers from rev 1.163, salt to taste): #ifdef I586_CPU_XXX if (cpu_class == CPUCLASS_586 && npx_ex16 && npx_exists && [...] The #ifdef will never match, and even if it did, the if() would never kick in unless the CPU was actually a 586. The #ifdef has been disabled since rev 1.95 (2001/04/13). (This isn't to say that there isn't something else hiding somewhere that I686_CPU doesn't enable that it should, but just nipping another round of the copy routine discussion in the bud...) -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.