From owner-freebsd-geom@FreeBSD.ORG Mon Apr 7 21:06:41 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4431E106566B for ; Mon, 7 Apr 2008 21:06:41 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id F0AF28FC15 for ; Mon, 7 Apr 2008 21:06:40 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id AEEAC19E027; Mon, 7 Apr 2008 23:06:39 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 3ED5719E023; Mon, 7 Apr 2008 23:06:37 +0200 (CEST) Message-ID: <47FA8CF2.6090700@quip.cz> Date: Mon, 07 Apr 2008 23:06:58 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Ferruccio Zamuner References: <47F92BD9.1060207@diff.org> <47F9489C.7040602@quip.cz> <47FA6C65.1010007@diff.org> In-Reply-To: <47FA6C65.1010007@diff.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: gmirror on a very slow but new HP architecture X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Apr 2008 21:06:41 -0000 Ferruccio Zamuner wrote: > Miroslav Lachman ha scritto: > >> Did you tried the same dd test with another OS (with some bootable >> live CD of Linux)? >> >> It may be caused by bad disk controller / bad cables. >> >> Miroslav Lachman > > With Ubuntu kernel 2.6.20 it transfer 6-7 Mb/s, still very slow for a sata. > > Then I've drop the HP LSI Logic SATA/RAID controller and I've connected > hds on the mainboard controller > and on a Promise TX2 SATA300 that finally it's supported by FreeBSD 7. [...] > Any idea? > > More info from dmesg: > > atapci0: port > 0x4400-0x447f,0x4000-0x40ff mem 0xefa20000-0xefa20fff,0xefa00000-0xefa > 1ffff irq 18 at device 1.0 on pci10 > atapci0: [ITHREAD] > atapci0: [ITHREAD] > ata2: on atapci0 > ata2: [ITHREAD] > ata3: on atapci0 > ata3: [ITHREAD] > ata4: on atapci0 > ata4: [ITHREAD] > [..] > atapci2: port > 0x30c8-0x30cf,0x30bc-0x30bf,0x30c0-0x30c7,0x30b8-0x30bb,0x3090-0x309f > mem 0xefd00400-0xefd007ff irq 19 at device 31.2 on pci0 > atapci2: [ITHREAD] > ata5: on atapci2 > ata5: [ITHREAD] > ata6: on atapci2 > ata6: [ITHREAD] > [..] > ad6: 238475MB at ata3-master SATA150 > ad10: 238475MB at ata5-master SATA150 > ad12: 238475MB at ata6-master SATA150 As you can see - both controllers are SATA300 capable and AFAIK the drivers too. So you can try to switch of the jumper on the drive or change settings in hdd firmware to allow SATA300 instead of SATA150. Maybe it will help. For drives on SATA300 I will expect speed about 70MB/s for reading and not less then 50MB/s for writing for single drive. Can you test single drive not in gmirror? (dd if=/dev/zero of=/dev/ad10 bs=1m count=1000) Miroslav Lachman