Checksum/copy (was: Re: cvs commit: src/sys/netinet ip_output.c)

Greg 'groggy' Lehey grog at FreeBSD.org
Thu Mar 27 15:27:49 PST 2003


On Thursday, 27 March 2003 at 19:07:15 +1100, Bruce Evans wrote:
> On Wed, 26 Mar 2003, Mike Silbersack wrote:
>> On my Mobile Celeron, a for (i = 0; i < max; i++) array[i]=0 runs
>> faster than bzero.  :(
>
> Saved data from my benchmarks show that bzero (stosl) was OK on
> 486's, poor on original Pentiums, OK on K6-1's, best by far on
> second generation Celerons (ones like PII) and poor on Athlon XP's
> (but not as relatively bad as on original Pentiums).

What happened to i686_bzero?  I was sure that years ago one existed,
but now all machines I use (i686 class) all use generic_bzero.

Greg
--
See complete headers for address and phone numbers
-------------- 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/cvs-src/attachments/20030328/5d59f784/attachment.bin


More information about the cvs-src mailing list