From owner-freebsd-scsi Tue Aug 24 3: 9:29 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from implode.root.com (root.com [209.102.106.178]) by hub.freebsd.org (Postfix) with ESMTP id E41A715998 for ; Tue, 24 Aug 1999 03:09:14 -0700 (PDT) (envelope-from dg@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.8/8.8.5) with ESMTP id DAA14184; Tue, 24 Aug 1999 03:05:45 -0700 (PDT) Message-Id: <199908241005.DAA14184@implode.root.com> To: "liudong" Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: The I/O is too slow than linux In-reply-to: Your message of "Tue, 24 Aug 1999 02:27:44 CDT." <199908240727.CAA14695@db.geocrawler.com> From: David Greenman Reply-To: dg@root.com Date: Tue, 24 Aug 1999 03:05:45 -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >then run ... ># time dd if=/dev/da0 of=/dev/null count=200000 >200000+0 records in >200000+0 records out >102400000 bytes transferred in 36.852771 secs (2778624 bytes/sec) > >real 0m36.911s >user 0m0.372s >sys 0m5.982s You need to use the raw device for tests like this and you should specify a blocksize as well, e.g.: time dd if/dev/rda0 of=/dev/null bs=64k count=200000 The block device should only be used when mounting the filesystem. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project - http://www.freebsd.org Creator of high-performance Internet servers - http://www.terasolutions.com Pave the road of life with opportunities. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message