LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-23-2009, 02:09 PM   #1
jadeddog
LQ Newbie
 
Registered: Jun 2008
Posts: 26

Rep: Reputation: 15
software implemented raid6 hardware requirments


i'm toying with the idea of doing a software implemented RAID6 setup, as a means of avoiding the $500+ cost of a RAID controller... it will be an 8 drive setup, more than likely 1 TB drives, so 6 usuable drives with 2 parity bit drives... this is for personal use, so money is a factor and speed really isn't ... its entire function is to stream movies/TV to my popcorn hour media player, so any read speed greater than about 2 MB/sec is fine by me, so pretty dam slow in other words... i could care less about write speed, but again it should be more than fine

so my main question is what type of hardware should i be looking at to run a RAID6 software setup? i have an old box with a P4 3.2GHz in it, would this be enough processor for the job? i have 1.5GB RAM in it right now i believe, but i can get some more if need be (although i would imagine software RAID is heavy on the CPU and not so heavy on the RAM)

if there is anybody out there who has setup a similar system, i would love to hear your feedback

Last edited by jadeddog; 02-23-2009 at 02:11 PM.
 
Old 02-25-2009, 10:53 AM   #2
Pearlseattle
Member
 
Registered: Aug 2007
Location: Zurich, Switzerland
Distribution: Gentoo
Posts: 999

Rep: Reputation: 142Reputation: 142
Hi
Unluckily I don't have a RAID6 - only RAID5. Here are some informations about it, hoping they might be useful.

PC 1)
4 sata drives, all 2.5 7200 rpm, all four connected to the onboard ICH10 controller, using SW-RAID5, 32k chunksize and ext3 filesystem.
An Intel 6420 doublecore CPU, 2.13Ghz, throttled down to 1.6Ghz, 4GB RAM.
Writing an 8GB file with "dd if=/dev/zero of=2delete.data bs=64k count=131072 && sync", speed between 70 and 90 MB/s with 12% CPU usage.
Doing a "cat file.data > /dev/null" ran with 10% CPU usage reading 130 to 150MB/s.

PC 2)
4 500GB sata drives, all 3.5 7200 rpm, all four connected to a Promise sata 300 TX4 controller (full SW-controller - using kernel drivers), 64k chunksize, XFS filesystem.
Intel Q6600 quad core, 2.4GHZ throttled down to 1.6Ghz, 4GB RAM.
Writing same as above consumed ~14%CPU, with speed of 80MB/s.
Reading same as above at 110MB/s using 7%CPU.
Free space on this drive is highly fragmented (I am writing and deleting all the time a lot of small files) - this together with the different filesystem and chunksize might explain the low speed.

As you said a SW-RAID 6 will put for sure more load on the CPU, and having 8 drives even more, but I think that your system will be able to handle it well.
SW-Raid itself doesn't almost use Memory - it's up to you how much RAM you want the OS to use for caching - can be configured somewhere in /proc (or /sys?). I use the default settings which are 5 - 10% of the total RAM.
Greetings.
 
  


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
raid6 questions/implementation jadeddog Linux - Hardware 6 11-25-2008 07:10 PM
RAID6 Setup Questions carlosinfl Linux - Hardware 3 05-22-2007 09:44 AM
shaping and hardware requirments. hugle Linux - Networking 0 08-20-2004 07:08 AM

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

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