Date: Fri, 19 Jan 2007 05:46:50 +1100 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Bruce Evans <bde@zeta.org.au> Cc: Ivan Voras <ivoras@fer.hr>, Attilio Rao <attilio@freebsd.org>, freebsd-current@freebsd.org, freebsd-arch@freebsd.org Subject: Re: [PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs Message-ID: <20070118184650.GB845@turion.vk2pj.dyndns.org> In-Reply-To: <20070118113831.A11834@delplex.bde.org> References: <20070116154258.568e1aaf@pleiades.nextvenue.com> <b1fa29170701161355lc021b90o35fa5f9acb5749d@mail.gmail.com> <eoji7s$cit$2@sea.gmane.org> <b1fa29170701161425n7bcfe1e5m1b8c671caf3758db@mail.gmail.com> <eojlnb$qje$1@sea.gmane.org> <3bbf2fe10701161525j6ad9292y93502b8df0f67aa9@mail.gmail.com> <45AD6DFA.6030808@FreeBSD.org> <3bbf2fe10701161655p5e686b52n7340b3100ecfab93@mail.gmail.com> <200701172022.l0HKMYV8053837@apollo.backplane.com> <20070118113831.A11834@delplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070118184650.GB845>