From owner-freebsd-hackers Mon Feb 26 09:20:02 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA02182 for hackers-outgoing; Mon, 26 Feb 1996 09:20:02 -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 JAA02123 for ; Mon, 26 Feb 1996 09:19:56 -0800 (PST) Received: (from nerv@localhost) by nixpbe.pdb.sni.de (8.6.12/8.6.12) id SAA01522 for hackers@freebsd.org; Mon, 26 Feb 1996 18:19:42 +0100 Message-Id: <199602261719.SAA01522@nixpbe.pdb.sni.de> Subject: Re: Disk perf. with different HDs/Adapt. To: bde@zeta.org.au (Bruce Evans) Date: Mon, 26 Feb 96 18:16:25 MET From: Greg Lehey Cc: hackers@freebsd.org (Hackers; FreeBSD) In-Reply-To: <199602240722.SAA23535@godzilla.zeta.org.au>; from "Bruce Evans" at Feb 24, 96 6:22 pm X-Mailer: xmail 2.4 (based on ELM 2.2 PL16) Sender: owner-hackers@freebsd.org Precedence: bulk >> Those 1.92 seconds make for exactly 6826667 Bytes per second ... >> And the 7.43 give some 6962656 Bytes/s. > >> (Yes, I know, the results aren't exact to more than 2 decimals >> due to the limited time resolution ...) > > Someone should fix dd to use the available resolution of 4-6 decimal > places. I suppose the output of `time' is too standard to change. 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