Subject: Re: Any caveats on non-Pentium CPU's?
To: Kent Polk <kent@goathill.org>
From: Todd Vierling <tv@wasabisystems.com>
List: port-i386
Date: 07/19/2001 22:56:50
On 20 Jul 2001, Kent Polk wrote:
: > speedy# /usr/bin/time dd if=/dev/zero of=/dev/null bs=64k count=16384
: > 1073741824 bytes transferred in 1 secs (1073741824 bytes/sec)
: > 0.53 real 0.00 user 0.52 sys
: and I get:
: 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?
Because dd only has a granularity of 1 second, and uses that when
calculating transfer rate (bytes-divided-by-seconds). Note that the times
in "real" and "sys" are much shorter than 1sec.
--
-- Todd Vierling <tv@wasabisystems.com> * Wasabi NetBSD: Run with it.
-- NetBSD 1.5 now available on CD-ROM -- http://www.wasabisystems.com/