From owner-freebsd-scsi@FreeBSD.ORG Thu Nov 13 05:23:29 2003 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E70F216A4CE for ; Thu, 13 Nov 2003 05:23:29 -0800 (PST) Received: from ninthwonder.com (canolog.ninthwonder.com [151.199.66.142]) by mx1.FreeBSD.org (Postfix) with SMTP id 8896B43F75 for ; Thu, 13 Nov 2003 05:23:28 -0800 (PST) (envelope-from briggs@ninthwonder.com) Received: (qmail 22645 invoked by uid 169); 13 Nov 2003 13:23:27 -0000 Date: Thu, 13 Nov 2003 08:23:27 -0500 From: Allen Briggs To: Gary Stanley Message-ID: <20031113132327.GF13029@canolog.ninthwonder.com> Mail-Followup-To: Gary Stanley , Martin Blapp , freebsd-scsi@freebsd.org References: <20031112172306.J4572@pooker.samsco.home> <20031113084355.P13503@cvs.imp.ch> <6.0.0.22.2.20031113062949.028fbea0@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.0.0.22.2.20031113062949.028fbea0@localhost> User-Agent: Mutt/1.4.1i cc: freebsd-scsi@freebsd.org cc: Martin Blapp Subject: Re: Very bad FreeBSD SCSI RAID5 write speed performance X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 13:23:30 -0000 On Thu, Nov 13, 2003 at 06:38:53AM -0500, Gary Stanley wrote: > root@64:[/tmp/blah]>dd if=/dev/zero of=/tmp/blah/blah > 89472+0 records in > 89471+0 records out > 45809152 bytes transferred in 8.546312 secs (5360108 bytes/sec) I suspect you know this, but if you give a larger block size (bs=...), you should see better performance. Writing to a file on the filesystem not only brings up the softupdates question, but also your choices for block and fragment sizes. On a RAID, there's also the question of stripe size and how that's set with respect to the filesystem block and fragment sizes. -allen -- Allen Briggs briggs@wasabisystems.com Wasabi Systems, Inc. http://www.wasabisystems.com/