From owner-freebsd-stable@FreeBSD.ORG Thu Sep 28 22:51:49 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 949E216A4C2 for ; Thu, 28 Sep 2006 22:51:49 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from rwcrmhc14.comcast.net (rwcrmhc14.comcast.net [216.148.227.154]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F42343D5F for ; Thu, 28 Sep 2006 22:51:34 +0000 (GMT) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-67-174-220-97.hsd1.ca.comcast.net[67.174.220.97]) by comcast.net (rwcrmhc14) with ESMTP id <20060928225133m14003sau4e>; Thu, 28 Sep 2006 22:51:33 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id B750C1FA037; Thu, 28 Sep 2006 15:51:33 -0700 (PDT) Date: Thu, 28 Sep 2006 15:51:33 -0700 From: Jeremy Chadwick To: freebsd-stable@freebsd.org Message-ID: <20060928225133.GA50669@icarus.home.lan> Mail-Followup-To: freebsd-stable@freebsd.org References: <20060928221505.GA75187@mail1.thewrittenword.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060928221505.GA75187@mail1.thewrittenword.com> X-PGP-Key: http://jdc.parodius.com/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Poor write performance with LSI 320-2 on 6.1-STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2006 22:51:49 -0000 On Thu, Sep 28, 2006 at 05:15:05PM -0500, Albert Chin wrote: > I don't understand how #1 gives 16MB/s (RAID 1) while #3 gives only > 17MB/s. I'd expect #3 to be about x2 the performance of #1. > > The arrays are configured with "write-thru" write policy, "adaptive" > read policy, and "cachedio" cache policy. > > Anything I can do to improve the speed. Even though the bus is 33Mhz, > I should definitely be doing better than 16MB/s. > > {snip} > > I'm running bonnie++ as: > $ cd [some tmp dir on UFS2 file system] > $ bonnie++ Pure shot in the dark (I have no experience with LSI controllers, only Adaptec and Promise): have you tried adjusting some of the tunefs parameters for the UFS2 filesystem bonnie++ is using? Options -e and -f may help with this. Also, at least in the Adaptec world: if the controller does its own caching (that is, it has actual RAM on-board or DRAM of some kind), it is sometimes *better* to disable SCSI disk caching on each individual SCSI drive and let the controller do it. Again, can't speak for LSI controllers... -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |