[PATCH] Mantaining turnstile aligned to 128 bytes in i386 CPUs

Peter Jeremy peterjeremy at optushome.com.au
Fri Jan 19 06:02:02 UTC 2007


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.  128
>>     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?

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070119/5a06d37b/attachment.pgp


More information about the freebsd-current mailing list