Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Sep 2000 12:34:34 -0700
From:      Mike Smith <msmith@freebsd.org>
To:        "Brandon S. DeYoung" <brandon@schoolpeople.net>
Cc:        "Mike Tancsa" <mike@sentex.net>, "FreeBSDHW" <freebsd-hardware@FreeBSD.ORG>
Subject:   Re: Problems installing 4.1 on 3ware RAID 5200 & 6200 
Message-ID:  <200009041934.MAA05065@mass.osd.bsdi.com>
In-Reply-To: Your message of "Mon, 04 Sep 2000 08:37:27 CDT." <005301c01675$4575b2e0$9e0e1b18@austin.rr.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> Mike Tancsa <mike@sentex.net> 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




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