From owner-freebsd-hackers Tue Feb 27 00:53:17 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA18026 for hackers-outgoing; Tue, 27 Feb 1996 00:53:17 -0800 (PST) Received: from nixpbe.pdb.sni.de (mail.sni.de [192.109.2.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id AAA18012 for ; Tue, 27 Feb 1996 00:53:09 -0800 (PST) Received: (from nerv@localhost) by nixpbe.pdb.sni.de (8.6.12/8.6.12) id JAA17957 for hackers@freebsd.org; Tue, 27 Feb 1996 09:52:38 +0100 Message-Id: <199602270852.JAA17957@nixpbe.pdb.sni.de> Subject: Re: Disk perf. with different HDs/Adapt. To: coredump@nervosa.com (invalid opcode) Date: Tue, 27 Feb 96 9:49:19 MET From: Greg Lehey Cc: hackers@freebsd.org (Hackers; FreeBSD) In-Reply-To: ; from "invalid opcode" at Feb 26, 96 10:28 pm X-Mailer: xmail 2.4 (based on ELM 2.2 PL16) 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. I think both you and Bruce are missing the point. I'm proposing an option to time(1), not to dd(1). I hope we're agreed that time(1) is intended for measuring times :-) Greg