From owner-freebsd-current@FreeBSD.ORG Thu Jan 18 10:01:46 2007 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1378816A494; Thu, 18 Jan 2007 10:01:46 +0000 (UTC) (envelope-from bde@zeta.org.au) Received: from mailout1.pacific.net.au (mailout1-3.pacific.net.au [61.8.2.210]) by mx1.freebsd.org (Postfix) with ESMTP id C5B3913C4BD; Thu, 18 Jan 2007 10:01:45 +0000 (UTC) (envelope-from bde@zeta.org.au) Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout1.pacific.net.au (Postfix) with ESMTP id 6A13C5AFC73; Thu, 18 Jan 2007 21:01:44 +1100 (EST) Received: from besplex.bde.org (katana.zip.com.au [61.8.7.246]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id CFF998C0B; Thu, 18 Jan 2007 21:01:42 +1100 (EST) Date: Thu, 18 Jan 2007 21:01:41 +1100 (EST) From: Bruce Evans X-X-Sender: bde@besplex.bde.org To: Suleiman Souhlal In-Reply-To: <45AF23DE.6030801@FreeBSD.org> Message-ID: <20070118204641.M3613@besplex.bde.org> References: <3bbf2fe10607250813w8ff9e34pc505bf290e71758@mail.gmail.com> <3bbf2fe10607281004o6727e976h19ee7e054876f914@mail.gmail.com> <3bbf2fe10701160851r79b04464m2cbdbb7f644b22b6@mail.gmail.com> <20070116154258.568e1aaf@pleiades.nextvenue.com> <3bbf2fe10701161525j6ad9292y93502b8df0f67aa9@mail.gmail.com> <45AD6DFA.6030808@FreeBSD.org> <3bbf2fe10701161655p5e686b52n7340b3100ecfab93@mail.gmail.com> <200701172022.l0HKMYV8053837@apollo.backplane.com> <20070118113831.A11834@delplex.bde.org> <45AF23DE.6030801@FreeBSD.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Mailman-Approved-At: Thu, 18 Jan 2007 12:29:52 +0000 Cc: Maxim Sobolev , Ivan Voras , Attilio Rao , freebsd-current@FreeBSD.org, freebsd-arch@FreeBSD.org Subject: Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 18 Jan 2007 10:01:46 -0000 On Wed, 17 Jan 2007, Suleiman Souhlal wrote: > Bruce Evans wrote: >> I haven't tried this, but have seen and partly worked sensitivity to >> linear KVA maps not being physically (non)linear enough. Some CPUs >> and/or memory systems are remarkably sensitive to bank interleave. >> FreeBSD's page coloring doesn't know anything about banks, ... > > About page coloring: Don't amd64 CPUs have virtually indexed, physically > tagged caches? If so, wouldn't it make sense to turn off page coloring, > since it's useless for virtually indexed caches (and probably hurts things > a bit)? I think superpages will soon turn off coloring. Not sure if this is right. How is copying and zeroing a whole superpage at a time avoided? IIRC, my benchmarks (and LMbench) show some small positive benefits for page coloring on amd64. I don't remember exactly what they are, just that they are smaller than on AthlonXP. Bruce