From owner-freebsd-current@FreeBSD.ORG Mon Sep 13 09:24:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 143C916A4CF for ; Mon, 13 Sep 2004 09:24:20 +0000 (GMT) Received: from smtp1.powertech.no (smtp1.powertech.no [195.159.0.145]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2EF0F43D2F for ; Mon, 13 Sep 2004 09:24:19 +0000 (GMT) (envelope-from frode@nordahl.net) Received: from [195.159.6.24] (ws24.ns5.powertech.no [195.159.6.24]) by smtp1.powertech.no (Postfix) with ESMTP id 3DDDB8317; Mon, 13 Sep 2004 11:24:17 +0200 (CEST) In-Reply-To: <4142D833.4060802@DeepCore.dk> References: <4142D833.4060802@DeepCore.dk> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-Id: Content-Transfer-Encoding: quoted-printable From: Frode Nordahl Date: Mon, 13 Sep 2004 11:24:19 +0200 To: =?ISO-8859-1?Q?S=F8ren_Schmidt?= X-Mailer: Apple Mail (2.619) cc: current@freebsd.org Subject: Re: Promise PDC20267 ATA RAID, poor write performance X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2004 09:24:20 -0000 On Sep 11, 2004, at 12:49, S=F8ren Schmidt wrote: > OK I got this this setup now: > > atapci0: port=20 > 0xb000-0xb03f,0xb400-0xb403,0xb800-0xb807,0xd000-0xd003,0xd400-0xd407=20= > mem 0xfd000000-0xfd01ffff irq 16 at device 3.0 on pci0 > ad1: 14305MB [29065/16/63] at ata2-master=20 > UDMA100 > ad2: 14305MB [29065/16/63] at ata3-master=20 > UDMA100 > ar0: 14305MB [1823/255/63] status: READY subdisks: > > Controller the same, disks are an earlier verision of those "low=20 > profile" Maxtor disks, just somewhat slover than yours. > > pizzabox# dd if=3D/dev/zero of=3Dfill bs=3D1m count=3D2000 > 2000+0 records in > 2000+0 records out > 2097152000 bytes transferred in 122.908771 secs (17062672 bytes/sec) I have done some more test now, reseated cables, disabling other IDE=20 controllers etc. to no avail. I have tested both drives against the=20 ICH2 controller with very good results. After some fooling around I found the following: ar0: ATA RAID1 subdisks: ad4 ad6 status: READY # dd if=3D/dev/zero of=3Dfill bs=3D1m count=3D100 100+0 records in 100+0 records out 104857600 bytes transferred in 29.298259 secs (3578970 bytes/sec) # atacontrol detach ata2 # dd if=3D/dev/zero of=3Dfill bs=3D1m count=3D100 100+0 records in 100+0 records out 104857600 bytes transferred in 3.080246 secs (34041957 bytes/sec) (this also works when writing 2GB...) That is, whenever I run with a single disk or a degraded RAID transfer=20= speeds are ok. I have tried this both ways, so it is not one of the=20 disks / cables that is broken. As soon as I rebuild the RAID again,=20 write speeds drop to 3MB/s. Any ideas as of how to debug this? Mvh, Frode > -S=F8ren >