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 10-03-2008, 05:08 PM   #1
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Rep: Reputation: 85
Performance for raid


What would be a better idea? I've got two drives in raid 1 right now. I'd like to add a third drive, so I can have a performance boost. Would 2x drives in raid 0 and a third one not in raid for cron backups of /home copied to the the third drive or all 3 drives in raid 5? Also has anyone seen a good chart showing performance comparisons of the different raid types for example, a chart showing the performance speed of raid 0, 5, and 10 for easy comparison?
 
Old 10-03-2008, 06:13 PM   #2
watcher69b
Member
 
Registered: Nov 2007
Location: /home/watcher69b
Distribution: RH, Fedora & CentOS
Posts: 552

Rep: Reputation: 41
im not sure off the top of my head the speads but rule of thumb is

raid 0 is FAST
raid 1 is slower
raid 5 is ok


if you want the system up 24/7 then you need either RAID1 with a hot spare
or RAID 5
I like 5 b/c you get more space out of it.


http://en.wikipedia.org/wiki/RAID

Last edited by watcher69b; 10-03-2008 at 06:16 PM.
 
Old 10-03-2008, 06:41 PM   #3
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
To gain performance and/or additional redundancy the Standard RAID levels can be combined to create hybrid or Nested RAID levels.

RAID 1+0 or 10 = Performance + fault tolerance.
Min 4 HD's needed.


Dell animation, Learning about RAID



http://en.wikipedia.org/wiki/Standard_RAID_levels

http://en.wikipedia.org/wiki/Nested_RAID_levels

Last edited by farslayer; 10-03-2008 at 06:45 PM.
 
Old 10-03-2008, 10:01 PM   #4
fakie_flip
Senior Member
 
Registered: Feb 2005
Location: San Antonio, Texas
Distribution: Gentoo Hardened using OpenRC not Systemd
Posts: 1,495

Original Poster
Rep: Reputation: 85
Thanks for the replies, but those don't give me speed measurements.
 
Old 10-03-2008, 10:28 PM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You will probably want to search on google for benchmarks. For raid 5, you may have a performance boost for reads, but writes will be slower.
Whether you use a raid controller or software raid would also be a factor. Most controllers are fake raid and will involve the cpu to calculate the parity. 3ware and maybe adaptec raid controllers are true raid controllers. NAS servers might have a raid cache card installed as will with battery backup.

Be warned that going for the fastest drives, the constant acceleration of the heads consume a lot of power. One person posting on this site had a dual opteron desktop with a raid 5 subsystem populated with rapter drives. He doesn't need to turn up the thermostat for his apartment in the winter, and doesn't run it in the summer because his cooling bill would be too large if he did.
 
Old 10-03-2008, 10:32 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
if you read the performance sections it tells you which ones perform better for certain tasks..

Hard to give you graphs etc, when there are so many variables to configuring RAID.
the number of drives used,
The type of controller
etc..
etc..

RAID 0 - Fast Speed - all drive space used - NO FAULT TOLERANCE

RAID 1 - Fault Tolerant - You loose 50% of Drive Space - No performance Gains

RAID 5 - Fault Tolerance - Slow write speed - You loose the equivalent capacity of One drive

RAID 10 - SPEED and Fault Tolerance - loose 50% Drive space - Out performs RAID 5

If you read the pages the information is there
 
Old 10-04-2008, 02:29 AM   #7
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
You might want to look at the series of 'build a fast nas' articles over at smallnetworkbuilder.

e.g., and related articles
http://www.smallnetbuilder.com/content/view/27840/77/

I'm afraid that the bad news is that, at least in 'commodity' hardware, on this testing, above a certain level, the speed of the raid levels shows little sign of conforming to what you might think; my suspicion is that limited pci bandwidth is a serious factor here, but maybe that will be confirmed if the series progresses further.
 
  


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
software raid performance fakie_flip Linux - Hardware 1 10-11-2007 04:42 PM
Tweaking raid 0 performance jackj Linux - General 3 07-16-2006 11:25 AM
RAID 0 performance droped 25% Zvezda Fedora 0 05-30-2004 06:32 PM
Raid controller - performance Falieson Linux - Hardware 8 10-07-2003 10:24 PM
raid performance issue anoop_chandran Linux - General 1 06-06-2003 04:04 AM

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

All times are GMT -5. The time now is 09:06 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