Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Dec 1995 22:27:16 -0800
From:      David Greenman <davidg@Root.COM>
To:        gclarkii@freebsd.org
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Pentium bcopy 486DX-66 results 
Message-ID:  <199512240627.WAA00623@corbin.Root.COM>
In-Reply-To: Your message of "Sun, 24 Dec 95 00:21:25 CST." <199512240621.AAA01040@main.gbdata.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>Here are my results on a 486DX4-100 8 meg in X not sure about cache.
>
>gcc -m486 -O2 -o testcopy testing.c copy.o
>main:gclarkii# time testcopy
>copy 10232
>bcopy 2403
>memcpy 9315
>21.9u 0.0s 0:22.08 99.5% 5+183k 1+0io 0pf+0w
>
>My sources are using 1024 for SIZE and I just change copy for bcopy for the
>bcopy stats.  It looks like copy is a big loss for me...:(

   "copy" takes it's size in longwords and bcopy takes it in bytes. Did you
multiply the size times sizeof(int)?

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512240627.WAA00623>