Subject: Re: Any caveats on non-Pentium CPU's?
To: None <kent@goathill.org>
From: Simon Burge <simonb@wasabisystems.com>
List: port-i386
Date: 07/20/2001 13:04:53
Kent Polk wrote:
> On 19 Jul 2001 18:35:05 -0500, Rick Kelly wrote:
> >
> > speedy# /usr/bin/time dd if=/dev/zero of=/dev/null bs=64k count=16384
> > 16384+0 records in
> > 16384+0 records out
> > 1073741824 bytes transferred in 1 secs (1073741824 bytes/sec)
> > 0.53 real 0.00 user 0.52 sys
>
> and I get:
>
> $ /usr/bin/time dd if=/dev/zero of=/dev/null bs=64k
> count=16384
> 16384+0 records in
> 16384+0 records out
> 1073741824 bytes transferred in 1 secs (1073741824 bytes/sec)
> 0.39 real 0.01 user 0.37 sys
>
> Why would it get exactly the same transfer rate? Appears something
> on the mb maxed out unrelated to cpu speed.
Note that 64k*16384 = 1073741824. Also, your real time is 0.39 seconds
and Rick's is 0.53 seconds. It appears that dd(1) only divides by the
number of (partial?) seconds. Maybe count=1638400 (100 times longer)
would provide a more usable benchmark..
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD CDs, Support and Service: http://www.wasabisystems.com/