Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Apr 2008 23:06:58 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Ferruccio Zamuner <nonsolosoft@diff.org>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: gmirror on a very slow but new HP architecture
Message-ID:  <47FA8CF2.6090700@quip.cz>
In-Reply-To: <47FA6C65.1010007@diff.org>
References:  <47F92BD9.1060207@diff.org> <47F9489C.7040602@quip.cz> <47FA6C65.1010007@diff.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Promise PDC40775 SATA300 controller> port 
> 0x4400-0x447f,0x4000-0x40ff mem 0xefa20000-0xefa20fff,0xefa00000-0xefa
> 1ffff irq 18 at device 1.0 on pci10
> atapci0: [ITHREAD]
> atapci0: [ITHREAD]
> ata2: <ATA channel 0> on atapci0
> ata2: [ITHREAD]
> ata3: <ATA channel 1> on atapci0
> ata3: [ITHREAD]
> ata4: <ATA channel 2> on atapci0
> ata4: [ITHREAD]
> [..]
> atapci2: <Intel ICH7 SATA300 controller> 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: <ATA channel 0> on atapci2
> ata5: [ITHREAD]
> ata6: <ATA channel 1> on atapci2
> ata6: [ITHREAD]
> [..]
> ad6: 238475MB <WDC WD2500YS-70SHB1 20.06C06> at ata3-master SATA150
> ad10: 238475MB <WDC WD2500YS-70SHB1 20.06C06> at ata5-master SATA150
> ad12: 238475MB <WDC WD2500YS-70SHB1 20.06C06> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47FA8CF2.6090700>