From owner-freebsd-current@FreeBSD.ORG Thu May 6 19:56:05 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 5E01A16A4CF; Thu, 6 May 2004 19:56:05 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAC3043D41; Thu, 6 May 2004 19:56:04 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i472tkxM094762; Thu, 6 May 2004 22:55:46 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i472tkvw094759; Thu, 6 May 2004 22:55:46 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Thu, 6 May 2004 22:55:46 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: John Baldwin In-Reply-To: <200405061447.14406.jhb@FreeBSD.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@FreeBSD.org cc: Andrew Gallatin cc: current@FreeBSD.org Subject: Re: 4.7 vs 5.2.1 SMP/UP bridging 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: Fri, 07 May 2004 02:56:05 -0000 On Thu, 6 May 2004, John Baldwin wrote: > > According to http://www.sandpile.org/ia32/coherent.htm, > > both mfence and lfence require SSE2, so sfence has the broadest > > coverage. > > > > But since only P4 needs it, and since lfence is ~25% cheaper, maybe > > there should be a separate config option for it, and it should be a > > straight conditional compile option for those of us cursed w/P4s. > > That could work I guess. Just can't stick it in GENERIC. > > options INTEL_MADE_MY_PIV_A_TORTOISE > > or some such. :) On occasion, I've had conversations with Peter Wemm about providing HAL modules with optimized versions of various common routines for specific hardware platforms. However, that would require us to make a trade-off between the performance benefits of inlining and the performance benefits of a HAL module... Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research