LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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-08-2006, 12:32 AM   #1
crazee64
LQ Newbie
 
Registered: Mar 2006
Location: Australia
Distribution: FC4 & FC5-Various Kernels & Vector Linux
Posts: 11

Rep: Reputation: 0
Unusual RAID50 / RAID5 performance with md


Not sure if this is going to turn out to be a hardware or a software issue, but since my config is the same for both raids here goes...

I have a 6 disk RAID50 set up from 2 x 3 disk RAID5's. Basically it looks like this:

md2:
->md0:
--->sdb1
--->sdc1
--->sdd1
->md1:
--->sde1
--->sdf1
--->sdg1

However sometimes I don't think it's as fast as it sounds. The Drives are 160GB SATA each.
I did a hdparm -t on /dev/md0, /dev/md1 and /dev/md2. Confusingly I get the following numbers:

md0: 108 MB/s
md1: 80 MB/s
md2: 66 MB/s

md2 should be the fast one, as it is the 6 disk raid50, the other two are only "sub-raids" of this. I thought they would be slower? Does anyone have an opinion on this? And most strangely of all - why would md0 be so much faster than md1? They are both software raid 5! The numbers are repeatable.
 
Old 06-08-2006, 12:39 AM   #2
crazee64
LQ Newbie
 
Registered: Mar 2006
Location: Australia
Distribution: FC4 & FC5-Various Kernels & Vector Linux
Posts: 11

Original Poster
Rep: Reputation: 0
Clarifications

Oops, forgot to mention:

This is with kernel 2.6.11-1.1369 (fc4).

cat /proc/mdstat shows:
md2 : active raid0 md0[0] md1[1]
639804288 blocks 64k chunks

md1 : active raid5 sdg1[2] sdf1[1] sde1[0]
319902208 blocks level 5, 128k chunk, algorithm 2 [3/3] [UUU]

md0 : active raid5 sdd1[2] sdc1[1] sdb1[0]
319902208 blocks level 5, 128k chunk, algorithm 2 [3/3] [UUU]

so that is fine.

The controllers are generic $20 sata cards.
Some of the drives are hanging directly off the motherboard. HANG ON! Could that be the answer? Anyone have any insight as to whether this could be a PCI bottleneck? I think i just answered my own question. However, this does not answer why the stripe set is so much slower than the individual components (md0 and md1).
 
  


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
Raid5 subho Linux - Newbie 1 03-24-2006 05:33 PM
JFS on Raid50 wont mount in FC4 crazee64 Linux - Software 3 03-08-2006 05:20 PM
Software RAID5 - poor write performance & freezing Nitrowolf Linux - Hardware 3 09-25-2005 10:49 PM
Unusual Ut2k4 performance. Royle Linux - Games 1 05-01-2005 03:54 PM
Raid5 IwantLINUX Linux - Newbie 2 03-17-2005 04:33 PM


All times are GMT -5. The time now is 03:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration