Re: Very Poor Raid Card Performance - Solved

2007-01-17 Thread Steven Lowry
Problem solved, I believe.

Here is the results from Bonnie++ with the raid card set to writethru
which writes
directly to disk.

Version 1.93c   --Sequential Output-- --Sequential Input-
--Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP 
/sec %CP
Mort 2G   322  99 17482   4 20280   7   683  99 581645  99 
2261  65
Latency 25812us 260ms1049ms 137ms 627us 100ms

I then set the card to writeback and got this.

Version 1.93c   --Sequential Output-- --Sequential Input-
--Random-
-Per Chr- --Block-- -Rewrite- -Per Chr- --Block--
--Seeks--
MachineSize K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP 
/sec %CP
Mort 2G   318  98 100299  37 96431  41   676  99 414514  99 
9853 425
Latency 79085us 250ms 263ms 127ms 651us   97392us

Looks like write caching was not enabled, don't know why it worked in
windows XP though.
Thankfully I have a good UPS, wouldn't want to lose data because of a
power loss.

A big thanks to everyone for your advice.

Steve...
-- 
[EMAIL PROTECTED] http://folding.stanford.edu/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Very Poor Raid Card Performance

2007-01-16 Thread Steven Lowry
Hello,

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 upto 60MB/s
transfer rates but in FBSD I am getting upto 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.

Steve...
-- 
[EMAIL PROTECTED] http://folding.stanford.edu/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Very Poor Raid Card Performance

2007-01-16 Thread Steven Lowry

On Tue, January 16, 2007 18:13, Bill Moran wrote:
 In response to Steven Lowry [EMAIL PROTECTED]:

 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.

Here is the dmesg output for the controller;

amr0: LSILogic MegaRAID 1.53 mem
0xfa2f-0xfa2f,0xfe80-0xfe8f 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.
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?

Steve...
-- 
[EMAIL PROTECTED] http://folding.stanford.edu/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]