Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2007 14:42:55 -0500
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        "Steven Lowry" <steve@midden.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Very Poor Raid Card Performance
Message-ID:  <20070116144255.08f9f049.wmoran@collaborativefusion.com>
In-Reply-To: <65531.86.54.4.134.1168975434.squirrel@www.midden.org>
References:  <53186.86.54.4.134.1168964729.squirrel@www.midden.org> <20070116131357.1c8972eb.wmoran@collaborativefusion.com> <65531.86.54.4.134.1168975434.squirrel@www.midden.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to "Steven Lowry" <steve@midden.org>:
> 
> On Tue, January 16, 2007 18:13, Bill Moran wrote:
> > In response to "Steven Lowry" <steve@midden.org>:
> >>
> >> I have been very impressed with my FreeBSD 6.2 install, I have nearly
> >> everything working but there are a few things which I need help with.
> >>
> >> The main problem is my HD performance, it is approx 6x slower than in
> >> windows XP, hopefully there is a solution. I have an LSI Megaraid 8x
> >> with
> >> four drives in a raid 5 configuration, in windows I was getting up to
> >> 60MB/s
> >> transfer rates but in FBSD I am getting up to 9MB/s. I followed the
> >> instructions in the handbook for tuning disks and I have set dma on.
> >> Being new to unix, I have no idea what to try or get system information
> >> too continue troubleshooting.
> >> If anyone could point me in the right direction or to appropriate
> >> documentation
> >> it would be much appreciated.
> >
> > You should provide the details of how you arrived at those numbers.
> > Please provide details of your testing methodology.
> >
> > While it's impossible to compare apples to apples when pitting Windows
> > against FreeBSD, you at least want to be comparing two fruits -- not
> > apples and buffalo steaks or something like that.
> 
> Thanks for your reply,
> 
> I repeatedly copied a 700MB file from one harddrive to the Raid 5 Drive, a
> different file every time so caching won't be a large factor and consistantly
> got 8-9MB/s. Copying such large files is something I do on a daily basis.
> Hardly scientific, more of a real use scenario. Transfer was done via KDE.

And this translated in to MB/s how?  Timed with a stopwatch?

Keep in mind that by simply copying, you are testing the speed of the
OS cache, the speed of the filesystem, and the speed of the driver all
at once.  We're going to have to narrow it down to isolate the problem.
I can give you advice in FreeBSD, but I don't know how to do it in
Windows.

Additionally, if the first hard drive performs badly under FreeBSD for
some reason, that would color your results.

> Here is the dmesg output for the controller;
> 
> amr0: <LSILogic MegaRAID 1.53> mem
> 0xfa2f0000-0xfa2fffff,0xfe800000-0xfe8fffff irq 30 at device 14.0 on pci5
> amr0: delete logical drives supported by controller
> amr0: <LSILogic LSI MegaRAID SATA300-8X PCI-X> Firmware 814D, BIOS H431,
> 128MB RAM
> amrd0: <LSILogic MegaRAID logical drive> on amr0
> amrd0: 712392MB (1458978816 sectors) RAID 5 (optimal)
> 
> Not sure what is meant by the delete line.

It means the driver/hardware supports the optional "delete logical
drives" feature.

> Motherboard is an Iwill DK8N, Nforce3 Chipset, AMD 8131 PCI-X bridge.
> The nvidia raid is populated by two WD raptors in a raid 1, this holds FBSD,
> the LSI is for data storage.
> 
> Any other information I could supply?

-- 
Bill Moran
Collaborative Fusion Inc.



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