LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 06-14-2003, 11:51 PM   #1
Falieson
Member
 
Registered: Jun 2003
Location: Michigan
Distribution: Gentoo AMD64
Posts: 30

Rep: Reputation: 15
Arrow Raid controller - performance


I have a 3Ware 6000 series RAID controller connected to four 80G HDs [Raid 5] and two 40G HDs [mirror raid] and I am booting FreeBSD off of a small 8gig Hard drive (inside 8gig is root swap var tmp & usr).

The question/problem is, when dd-ing 'verybigfile' (1400M file) from /usr to the Raid 5 or the Mirror Raid I am only getting 35M/s

yes this is still a great speed. But when I use the same controller on another server I am working on, four 160G HDs. I do not want to have the same problem, as these drives will be hammered all the time.

What is causing this lack of performance? My 'verybigfile' is supposed to be going close to 80M/s no?
 
Old 06-15-2003, 03:28 AM   #2
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
What's the hdparm, or really... whatever FreeBSD uses to detect drive speed off of the 8Gb drive. Unless that's a nuclear fast 8Gb drive its read is going to be ATA33 or ATA66, which makes sense for a read of 30Mb/sec, actually that's still a little high... it should start to hork out around 20, especially with a dd!! A byte for byte copy is a pretty mean thing to do...

Cheers,

Finegan
 
Old 06-15-2003, 10:44 PM   #3
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Hi..

Please consider the followings.

1. What is pci bus speed in the two servers ? 33Mhz/66Mhz/100 ????

2. Any other devices sharing the same bus ?

3. Any change in the HDDs rpms ?


Thanks and Regards

Siddiqu.T
 
Old 06-16-2003, 09:35 AM   #4
Falieson
Member
 
Registered: Jun 2003
Location: Michigan
Distribution: Gentoo AMD64
Posts: 30

Original Poster
Rep: Reputation: 15
I feel I need to correct some statements I have made. The 8 gig is not an 8gig but a 40gig. And the raid was writing information to its self at 35MB/s a second, and reading only a bit faster than that.

Shouldn't the raid be getting much faster results? Something near 80MB/s ?

Could it be the raid controller its self?
 
Old 06-16-2003, 02:16 PM   #5
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Yeah, this makes more sense now, I was wondering how you were getting 35M/sec sustained pull off of an 8Gb. The 40 runs at what? ATA66, 100, either way... that's the bottleneck in the transfer, the raid array is just limited to the data read off of the 40Gig.

Cheers,

Finegan
 
Old 06-17-2003, 01:34 PM   #6
Falieson
Member
 
Registered: Jun 2003
Location: Michigan
Distribution: Gentoo AMD64
Posts: 30

Original Poster
Rep: Reputation: 15
When we do a CAT straight from a file to /dev/null we get 35/36 MB/s on reads, when we write, we get just about 7MB/s on the 3Ware 6000 serise card, to a Raid 5 stripe of 4 80G 5400RPMs
 
Old 06-17-2003, 05:15 PM   #7
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
There are many things that effect storage bandwidth:
1) The length of cable and type of cable. For IDE the maximum length is 15 inches. 80 pin cable gives you better data integrity. Also round cable has less cross talk for higher data throughput.
2) Is the hard drives getting enough power. Check to make sure all hard drives are getting 12 volts and 5 volts. Use a multimeter with 40 Megaohm or more. If the voltages are lower, you need to get a beefy power supply.
3) Is there any devices that is giving your computer trouble. Check for driver updates.
4) Whats the temperature of the hard drives. Is it within specs. A change in tempature affects throughput.
5) What manufacture and model of the hard drives. Manufactures like Maxtrox, Western Digital, Seagate uses some CPU time to control them even though you set it to DMA. IBM has the least CPU time.
6) What filesystem are you using ext3, JFS, XFS, etc.
7) What block are using for RAID. Is it 4K 8K 16K 32K. You have to experiment with it.
8) What bus are you using 32-bit or 64-bit. Whats the speed of the bus. Does the bus speed varies.
9) The charactistics (platters, space between platters, RPM, accessing time, etc) of the hard drive affects through

Keep in mind of your network. 100Mbit ethernet can not transfer more than 10 megabytes per second. 1000Mbit ethernet can transfer about 119 megabytes per second but only if you are using 64-bit PCI or INTEL's CSA bus.

You can use mplayer for testing but it tests for continous file transfer. In the server world you need to test for random transfer. Random transfer is much lower.
 
Old 06-19-2003, 11:52 AM   #8
Falieson
Member
 
Registered: Jun 2003
Location: Michigan
Distribution: Gentoo AMD64
Posts: 30

Original Poster
Rep: Reputation: 15
Thank you very much for the help electro. I will write back on here if that helps.

thanks again.
 
Old 10-07-2003, 10:24 PM   #9
sboddy
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: SuSE 8.2/9.0 Pro, IPCop, looking at others as time allows
Posts: 18

Rep: Reputation: 0
Falieson,

I've been doing some research into potential RAID controllers, and here's what I can tell you about the performance you're seeing. (Although please don't ask me for URL's or benchies )

Nearly every IDE "hardware" RAID controller is based on a bit of tricky bios magic. However the CPU still accesses the actual drive directly to do transfers and writes. The 3Ware cards are apparently quite unique. They have a special ASIC which handles the disk I/O, providing real hardware RAID. Great! What's not so great is that the cards have only 1 or 2 MB of zero latency SRAM (not SDRAM) for the ASIC to use. From what I've read this has caused problems with RAID 5 because the XOR that produces the parity is bottlenecked by this low amount of memory, thus reducing throughput.

Supposedly sustained/serial writes don't suffer too much, but lots of random writes are fairly poor. Perhaps your filesystem choice is impacting the way in which the file is being written, and causing the poor performance. At the end of the day it all evens out, as the 3Ware has superb read performance, and all the server grade (Web, Database etc) tests based on real disk usage patterns show it holding it's own against the comparable cards.

Two things I do suggest though.
1. Update your firmware. 3Ware can effectively upgrade your hardware because of the way it's designed. One guy saw a significant improvement going from 7.53 to 7.6 (I thinik).
2. Consider using RAID 10. This way the card does not need to perform the expensive XOR's.

Hope this helps. I found all this out by googling . It's tricky finding it, but it's there.

Regards
Steve

P.S. I'm currently favouring this card in my own buying decision over all the others even with the comparitively slow RAID 5!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fedora Core 3]Poor write performance with raid controller TomG22 Linux - Hardware 1 09-22-2005 09:25 AM
RAID controller card override onboard RAID controller? Dr. Psy Linux - Enterprise 1 05-30-2005 10:35 AM
RAID controller Bodyweb Linux - Hardware 3 02-16-2005 07:30 AM
Sata RAID with onboard raid controller SourCreamAndOni Linux - Hardware 1 05-21-2004 12:51 AM
ABIT KR7A133-RAID MB - HPT372 RAID Controller jeb Linux - Hardware 3 05-07-2002 01:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration