From owner-freebsd-hardware Mon Sep 4 12:19:59 2000 Delivered-To: freebsd-hardware@freebsd.org Received: from mass.osd.bsdi.com (adsl-63-202-177-115.dsl.snfc21.pacbell.net [63.202.177.115]) by hub.freebsd.org (Postfix) with ESMTP id 7D41537B422 for ; Mon, 4 Sep 2000 12:19:57 -0700 (PDT) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.9.3/8.9.3) with ESMTP id MAA05065; Mon, 4 Sep 2000 12:34:34 -0700 (PDT) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200009041934.MAA05065@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Brandon S. DeYoung" Cc: "Mike Tancsa" , "FreeBSDHW" Subject: Re: Problems installing 4.1 on 3ware RAID 5200 & 6200 In-reply-to: Your message of "Mon, 04 Sep 2000 08:37:27 CDT." <005301c01675$4575b2e0$9e0e1b18@austin.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 04 Sep 2000 12:34:34 -0700 From: Mike Smith Sender: owner-freebsd-hardware@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > Mike Tancsa wrote: > > > Does it work in RAID0 ? I have had problems with RAID1 in FreeBSD, mostly > > incredibly slow performance, but no errors like you are getting. > > > > ---Mike > > I haven't tried RAID 0. The only other configuration I tried was installing > to a single drive (not in an array, but still connected to the 3Ware > controller). That worked just fine which is why I haven't shipped the card > back yet.Yes, doing newfs on a 30 GB partition takes upwards of an hour. The newfs issue tends to be misleading; it's not representative of the performance of the controller at all. If you newfs a redundant array that's background-initialising, it's slow. (Slower than it really should be, IMO.) However the real killer is that newfs uses the physio interface, and that runs into this issue from the twe(4) manpage: BUGS ... The controller cannot handle I/O transfers that are not aligned to a 512-byte boundary. In order to support raw device access from user- space, the driver will perform alignment fixup on non-aligned data. This process is inefficient, and thus in order to obtain best performance us- er-space applications accessing the device should do so with aligned buffers. Newfs doesn't use aligned buffers... -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hardware" in the body of the message