From owner-freebsd-hackers Sun Dec 24 02:02:57 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA17248 for hackers-outgoing; Sun, 24 Dec 1995 02:02:57 -0800 (PST) Received: from main.gbdata.com (dial37.phoenix.net [199.3.234.72]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA17179 Sun, 24 Dec 1995 02:01:31 -0800 (PST) Received: (from gclarkii@localhost) by main.gbdata.com (8.6.12/8.6.9) id EAA09071; Sun, 24 Dec 1995 04:01:27 -0600 From: Gary Clark II Message-Id: <199512241001.EAA09071@main.gbdata.com> Subject: Re: Pentium bcopy 486DX-66 results To: davidg@Root.COM Date: Sun, 24 Dec 1995 04:01:26 -0600 (CST) Cc: gclarkii@freebsd.org, freebsd-hackers@freebsd.org Reply-To: gclarkii@freebsd.org In-Reply-To: <199512240627.WAA00623@corbin.Root.COM> from "David Greenman" at Dec 23, 95 10:27:16 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@freebsd.org Precedence: bulk David Greenman wrote: > > >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)? > Nope... Time for the hat.... where did it go... Oh, yeah, I need to order on for myself..:) > -DG > > Gary Gary Clark II gclarkii@FreeBSD.ORG