From owner-freebsd-bugs@FreeBSD.ORG Thu May 27 14:00:17 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B51651065676 for ; Thu, 27 May 2010 14:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8AB728FC29 for ; Thu, 27 May 2010 14:00:17 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4RE0HIG095402 for ; Thu, 27 May 2010 14:00:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4RE0HQW095400; Thu, 27 May 2010 14:00:17 GMT (envelope-from gnats) Date: Thu, 27 May 2010 14:00:17 GMT Message-Id: <201005271400.o4RE0HQW095400@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "ryan@ryanholt.net" Cc: Subject: Re: kern/147086: AHCI not being enabled on PC X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "ryan@ryanholt.net" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 May 2010 14:00:17 -0000 The following reply was made to PR kern/147086; it has been noted by GNATS. From: "ryan@ryanholt.net" To: Alexander Motin Cc: bug-followup@freebsd.org, Garrett Cooper Subject: Re: kern/147086: AHCI not being enabled on PC Date: Thu, 27 May 2010 09:55:56 -0400 (EDT) ------=_Part_64910_1088933982.1274968556941 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable OK I got mvs compiled and the drives are using it now. Tested hot swap; rem= oved and replaced drives while writing data to the ZFS pool sitting atop. One is= sue I noticed is that the glabels don't seem to be read once I insert the disk ba= ck into the server. Seems like I need to re-label the drive and then replace i= t back into the zpool using zpool replace. Would this be an issue with ZFS an= d not the mvs driver? =C2=A0 Additionally, this might be a cabling issue or an issue with my drive cage,= but when I place a disk in slot 0 (port 0 on AOC-SAT2-MV8) I get mvsch0 timeout errors and the whole box locks up requiring a hard reboot. Placing the driv= e in slot 4 and utilizing slots 2-5 instead of 1-4 allows the server to boot up = fine / run fine. =C2=A0 Also, the drive pool seems a bit slow. Using the command... =C2=A0 dd if=3D/dev/urandom (and /dev/zero) of=3D/tank/test.file bs=3D1024 count= =3D102400=C2=A0 =C2=A0 Seems to indicate that I get somwhere between 15MB/sec (urandom) and 30 mb/= sec (zero). This card is on a PCI bus and therefore will be somewhat restricted= , but should it be reasonable to expect better performance than this out of a 4 d= isk Hitachi 1TB 7200 RPM 32mb cache raidz1 pool? Are there any other recommende= d tests to benchmark performance? =C2=A0 Thanks again for all your help! Ryan =C2=A0 On May 26, 2010 at 7:20 PM Alexander Motin wrote: > ryan@ryanholt.net wrote: > > OK Great. Should I re-compile my kernel with mvs as a device option? > > As you wish. Module should also be fine. > > -- > Alexander Motin ------=_Part_64910_1088933982.1274968556941 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

OK I got mvs compiled and the drives are using it now. Tested hot swap; removed and replaced drives while writing data to the ZFS pool sitting atop. One issue I noticed is that the glabels don't seem to be read once I insert the disk back into the server. Seems like I need to re-label the drive and then replace it back into the zpool using zpool replace. Would this be an issue with ZFS and not the mvs driver?

 

Additionally, this might be a cabling issue or an issue with my drive cage, but when I place a disk in slot 0 (port 0 on AOC-SAT2-MV8) I get mvsch0 timeout errors and the whole box locks up requiring a hard reboot. Placing the drive in slot 4 and utilizing slots 2-5 instead of 1-4 allows the server to boot up fine / run fine.

 

Also, the drive pool seems a bit slow. Using the command...

 

dd if=/dev/urandom (and /dev/zero) of=/tank/test.file bs=1024 count=102400 

 

Seems to indicate that I get somwhere between 15MB/sec (urandom) and 30 mb/sec (zero). This card is on a PCI bus and therefore will be somewhat restricted, but should it be reasonable to expect better performance than this out of a 4 disk Hitachi 1TB 7200 RPM 32mb cache raidz1 pool? Are there any other recommended tests to benchmark performance?

 

Thanks again for all your help!

Ryan

 

On May 26, 2010 at 7:20 PM Alexander Motin <mav@FreeBSD.org> wrote:

> ryan@ryanholt.net wrote:
> > OK Great. Should I re-compile my kernel with mvs as a device option?
>
> As you wish. Module should also be fine.
>
> --
> Alexander Motin
------=_Part_64910_1088933982.1274968556941--