From owner-freebsd-scsi Fri Sep 3 9: 5: 1 1999 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 5B52014C87 for ; Fri, 3 Sep 1999 09:04:56 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id KAA14523; Fri, 3 Sep 1999 10:04:20 -0600 (MDT) (envelope-from ken) Message-Id: <199909031604.KAA14523@panzer.kdm.org> Subject: Re: ccd peak performance In-Reply-To: <199909022105.XAA12981@gw0.boostworks.com> from Remy Nonnenmacher at "Sep 2, 1999 11:05:43 pm" To: remy@synx.com Date: Fri, 3 Sep 1999 10:04:20 -0600 (MDT) Cc: freebsd-scsi@FreeBSD.ORG From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Remy Nonnenmacher wrote... > > I ran in a strange 60MB/s barrier somewhere and would like to have some > highlight about it : > > I use a machine with 3 PCI buses, each bus with 3 U2W-LVD SCSI channels. > > All disks deliver a little more than 20MB/s (Quantum 18.2). > > Whatever CCD configuration I try, I get a 60MB/s peak read performance > per CCD. I tried 4,5 and 6 disks, on various channels, on various PCI > busses, etc...: Can't get more than 60MB/s. > > Using two CCD on same controller pull up perf to 72MB/s (which is near > the channel bandwidth). Using 3 CCD's on different channels takes me to > a little more than 160MB/s (and 2 CCD's on different channels give me > about 120MB/s. Peak perf with all disks active (direct read) is > 175MB/s). > > Any guess where does that 60MB/s/CCD limit comes from ? > > (Performance numbers with vinum also welcome). > > Additional Infos: > 3.2-STABLE, Intel C440GX+ SMP Bi-Xeon 500, 2x3950U2W (channel A used) + > Internal 7896 controller. If you have a C440GX, I think you've only got two PCI busses, not three. From Intel's specs, it looks like it has an onboard 7896, and then one 33MHz bus with 4 slots and one 66MHz bus with 2 slots. They don't indicate which bus the 7896 is on, but my guess is that it's on the 33MHz bus. (The chip can't do 66MHz.) The fact that you can get 175MB/sec out of all the disks simultaneously, without CCD, indicates that it is unlikely that you have a hardware problem. What sort of interleave factor are you using with CCD? You'll want to set the interleave large enough that the transactions are still reasonably sized once they hit the disk. When you're doing I/O benchmarks, you can try looking at the output of 'iostat -d 1'. iostat(8) will give you the average transaction size, and may help you debug your problem. My guess is that changing the interleave factor around might fix things. Also, what are you using to benchmark? I often use iozone for sequential I/O benchmarks... Ken -- Kenneth Merry ken@kdm.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message