From owner-freebsd-hackers Mon Feb 26 22:49:45 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id WAA04121 for hackers-outgoing; Mon, 26 Feb 1996 22:49:45 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id WAA04102 for ; Mon, 26 Feb 1996 22:49:30 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id RAA15371; Tue, 27 Feb 1996 17:45:41 +1100 Date: Tue, 27 Feb 1996 17:45:41 +1100 From: Bruce Evans Message-Id: <199602270645.RAA15371@godzilla.zeta.org.au> To: coredump@nervosa.com, lehey.pad@sni.de Subject: Re: Disk perf. with different HDs/Adapt. Cc: bde@zeta.org.au, hackers@freebsd.org Sender: owner-hackers@freebsd.org Precedence: bulk >On Mon, 26 Feb 1996, Greg Lehey wrote: >> How about a high-resolution option. For example, >> # time dd if=/dev/rsd0a of=/dev/null count=200 bs=64k >> 13107200 bytes transferred in 2 secs (6553600 bytes/sec) >> 1.92 real 0.01 user 0.05 sys >> # time -h dd if=/dev/rsd0a of=/dev/null count=200 bs=64k >> 13107200 bytes transferred in 2 secs (6553600 bytes/sec) >> 1.920317 real 0.009387 user 0.0512614 sys >> Greg >How about you just use Bonnie. dd was not intended to be a benchmark >utility, I see no reason extending it's output for this. Bonnie doesn't work on raw disks and isn't always available. dd should report the time accurately if it reports it at all. Bruce