From owner-freebsd-stable Sat Nov 23 16:50:10 2002 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 8F6BD37B401 for ; Sat, 23 Nov 2002 16:50:08 -0800 (PST) Received: from mrout1.yahoo.com (mrout1.yahoo.com [216.145.54.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36EFD43E6E for ; Sat, 23 Nov 2002 16:50:08 -0800 (PST) (envelope-from ps@yogurt.yahoo.com) Received: from yogurt.yahoo.com (yogurt.yahoo.com [216.145.52.186]) by mrout1.yahoo.com (8.11.6/8.11.6/y.out) with ESMTP id gAO0nbC91113; Sat, 23 Nov 2002 16:49:37 -0800 (PST) Received: (from ps@localhost) by yogurt.yahoo.com (8.11.6/8.11.6) id gAO0lOh24209; Sat, 23 Nov 2002 16:47:24 -0800 (PST) (envelope-from ps) Date: Sat, 23 Nov 2002 16:47:24 -0800 From: Paul Saab To: Pete French Cc: stable@FreeBSD.ORG Subject: Re: RAID performance problems Message-ID: <20021124004724.GA24189@yahoo-inc.com> Reply-To: ps@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Are you sure the Battery module is installed? If it isn't, then the read/write cache would not be enabled. Pete French (pfrench@firstcallgroup.co.uk) wrote: > I wonder if anyone can shed any light on the following, as I am > starting to come to the conclusion that its possibly some BSD driver > issue. > > I have been testing the performance of the various drives on my system > using bonnie, just out of curiosity. The system has 3 different drives on > it: > > 1) a 15k RPM drive attached directly to an Adaptec SCSI controller > 2) a RAID-1 mirrored pair of 10k RPS drives > 3) a RAID-5 set of 5 7200 RPM drives > > All SCSI buses are 40MB/sec. Both the RAID drives are being run from the > same Compaq 4200 RAID controller. Both the RAID controller and the Adaptec > SCSI card are on the same PCI bus. > > So, what I expected was that the driect drive would be fastest, followed by > the RAID-1, then the RAID-5 (at least as far as write performance goes) > > The actual results are that both the RAID drives have identical performance! > The direct drive is 4 times faster than these. > > This was a bit of a shock to me. Especially ater all the effort of utting > in thr 10k RPM drives to try and speed that disc up. The obvious conclusion > is that somewhere there is some component common to both RAID drives which is > limiting the performance. > > The bottleneck cannot be the PCI bus to the card as the direct drive is > shifting 4 times the data on the same bus. It also cannot be the SCSI > bus to the drives by my reasoning - even assuming that the controller > aggregates the writes so that RAID-5 and RAID-1 are taking the same bandwidth > on the bus (which is necessary if they are to perform the same with the bus > being the bottleneck right?) then the bus is operating 4x slower than the > direct bus. The Compaq card supports 40MB/s bus speeds according to > the documentation - plus the bus is terminated correctly as plugging the array > into the SCSI card shows all the drives up as 40MB/s > > So I'm left with one of two conclusions > > a) This is a limitation in the processing power of the RAID card. This seems > very unlikely - the work needed to be done by the controller for RAID-1 > is far less than that which needs to be done for RAID-5 (it would take a > complete muppet to design a controller where this wasnt the case wouldnt > it ?) and this is one of Compaq's meatier controllers afer all. > > b) This is some strange limitation in the speed at which FreeBSD's device > driver for Compaq controllers can talk to the actual device. > > Its the fact that I have arrived at conclusion b) as a possibility that makes > me ask on here. Does anyone have any comments or thoughts on this ? I know > there are people around who can argue at great length about RAID performance > after all :-) > > -pcf. [puzzled] > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message