From owner-freebsd-arch@FreeBSD.ORG Fri Jan 19 06:02:02 2007 Return-Path: X-Original-To: freebsd-arch@freebsd.org Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3385816A412; Fri, 19 Jan 2007 06:02:02 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id A996D13C428; Fri, 19 Jan 2007 06:02:01 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l0IIkpr9003184; Fri, 19 Jan 2007 05:46:51 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l0IIkojM003183; Fri, 19 Jan 2007 05:46:50 +1100 (EST) (envelope-from peter) Date: Fri, 19 Jan 2007 05:46:50 +1100 From: Peter Jeremy To: Bruce Evans Message-ID: <20070118184650.GB845@turion.vk2pj.dyndns.org> References: <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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RASg3xLB4tUQ4RcS" Content-Disposition: inline In-Reply-To: <20070118113831.A11834@delplex.bde.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) 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-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jan 2007 06:02:02 -0000 --RASg3xLB4tUQ4RcS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, 2007-Jan-18 18:03:20 +1100, Bruce Evans wrote: >On Wed, 17 Jan 2007, Matthew Dillon wrote: >> Alignment is critical. If the data is not aligned, don't bother. 1= 28 >> bits means 16 byte alignment. > >The above benchmark output is for aligned data :-). I don't try hard to >optimize or benchmark misaligned cases. How realistic is this? Has anyone collected statistics on the size and alignment of bzero/bcopy calls? How much of the time is the size known at compile time? --=20 Peter Jeremy --RASg3xLB4tUQ4RcS Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFr8Ca/opHv/APuIcRAqZsAJsHlCSLkdmwl1x/AD/7FV3TJ+K7pgCghDLv lEQ/MSu+HFYDfsQNmk9KIYg= =mPQs -----END PGP SIGNATURE----- --RASg3xLB4tUQ4RcS--