LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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-07-2006, 11:32 PM   #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-07-2006, 11:39 PM   #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



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

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

All times are GMT -5. The time now is 08:22 PM.

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