g.skill

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14

Thread: Raid Guide for beginners

  1. #1
    Alsenior's Avatar
    Alsenior is offline Yellin' in my ear
    • Alsenior's System Specs  
      • CPU:
      • 2X Opteron 875
      • Motherboard:
      • Asus k8n-dl
      • RAM:
      • 4 x 1gb ecc ddr
      • Power Supply:
      • 700w Fsp
      • Graphics Card:
      • 8800gt
      • Hard Drives:
      • Samsung spinpoint sc250c
      • Cooling:
      • 2x arctic cooling freezer 64
      • Sound:
      • Audigy 2 zs (daniel k drivers)
      • Case:
      • Akasa eclipse62
      • Monitor:
      • Dell e196fp
      • O/S And Misc Stuff:
      • Vista 64
      • Overclock:
      • None The damn thing won't
    Join Date
    Oct 2007
    Posts
    11
    Thanks
    0
    Thanked 1 Time in 1 Post

    Raid Guide for beginners

    I've been meaning to post this for a while. and i figure this is as good a time as ever.

    A Beginners guide to raid

    Part 1 :What is raid?

    Raid stands for Redundant Array of Inexpensive Disks. It is a system that allows multiple hard drives to be recognized as one, allowing for greater storage capacity, increased performance, data redundancy, or a mix of these three.
    It used to be the case that RAID was only for servers and high end workstation. But today almost all southbridges have some sort of integrated raid.

    Part 2 :RAID types or levels

    Most common RAID levels.

    These are the most common raid levels

    Raid 0
    Raid 1
    Raid 5

    Raid 0

    Raid 0 isn't really a level of raid at all, it's not redundant hence it has level 0 redundancy i.e. None. Raid 0 Stripes the data across disks like this.





    If one drive fails : Array and data destroyed
    If two drives fail: Array and data Destroyed

    Read performance:
    Theoretical : Number or Drives x speed of the slowest disk
    Reality : about 75% of theoretical at best

    Write Performance:
    Theoretical : Number or Drives x speed of the slowest disk
    Reality : about 75% of theoretical at best.

    Advantages:
    Faster than one drive
    Cheaper than one large drive usually i.e. 2X 500gb are cheaper than one 1tb drives
    can reach larger capacity's than one drive can. i.e. 2 1TB drives can create a 2TB array.

    Disadvantages
    No redundancy
    Higher chance of array failure than one disk

    Good usage scenario: Web servers, read only file servers, video editing page files and temp storage.

    Raid 1

    Raid 1 is the first of the real Raid levels. It has level 1 redundancy. Raid 1 works by mirroring the data over 2 drives. This is called mirroring.






    If one disk fails: Data is still safe but array runs degraded
    If two disks fails: data is lost. Fatal array failure occurs

    Read performance:

    Theoretical:Around 150% of single disk performance if a good controller is used.
    Reality: just over 100% of slowest disk.
    Write performance:

    Theoretical: Around the same as a single disk.
    Reality: Just under is software controller is used.

    Advantages:

    All data is kept intact after a failure
    No real performance hit as there is no parity data to be worked out.

    Disadvantages

    inefficient use of space.
    can still run the risk of failure as chance of dual disk failure is quite high.

    Good usage scenario :general file servers

    Raid 5

    I must admit that i have a soft spot for raid 5. it is my favorite raid level. It has saved my butt on a number of occasions involving may gig's of data including my As ICT project the day before it had to be in. so i must say that i am slightly biased towards it.

    raid 5 uses a similar level of striping to what raid 0 uses but where raid 5 differs is that it uses distributed parity to spread parity bit across the drives.

    [ INSERT SENTENCE ABOUT CRC / PARITY BITS HERE]


    Raid 5 needs at least 3 drives to work.(A two disk Raid 5 set is possible on some controllers but is not ofter implemented used it negates a lot of the benefits of raid 5.)



    If one drive Fails: Array runs in degraded mode. All disk space still available.
    If two drives fail: Array fails

    Read performance:
    Theoretical: Roughly the same speed as Raid 0 unless a block fails a CRC check. then data is read from parity. causing a slight dip in performance.
    Reality:if a good hardware controller is used the performance is much the same as theoretical

    Write performance:
    Theoretical:If large amount of small changes are made data can become backed up and performance can take a hit. if large files are written performance can be very good.

    Reality:Very similar to the theoretical sample but is very dependent on the controller.

    Good usage scenario: Database servers,gaming desktops, critical file servers
    Nested raid levels

    With nested raid levels there can be many different raid levels. almost too many. And I'm not going to cover them in much detail.
    the most common nested Raid levels are:

    Raid 10
    raid 0+1
    Raid 100
    Raid 50
    Raid 60

    For more information go to:
    Nested RAID levels - Wikipedia, the free encyclopedia

    Non standard raid levels

    There are a few non standard raid levels that you might come across. These are detailed below. They are not usually given a number like raid 5 or raid 1 they have names given to them by marketing types.

    Non standard raid levels

    Intel Matrix raid
    Intel matrix raid is a system of raid that combines raid onto to of more disk without having a separate set of disks for each raid level.
    The below diagram uses a raid 1 and a raid 0 set:




    Additionally you can use a raid 5 set over 3 disks as below:
    Array
    |-------------------------------||---------------------------|
    Disk 1 Disk 2 Disk 3
    A1 A2 A3 Raid 0
    A4 A5 A6 Part
    A7 A8 A9
    B1 B2 P1 Raid 5
    B3 P2 B4 Part
    P3 B5 B6
    Part 3:Controllers

    there are three distinct type of Raid controller available today these are

    1.Hardware
    2.Software
    3.Hybrid

    Hardware controllers

    Hardware controllers are expensive but they give you the best performance available. these controllers have a hardware processor the usually has accompanying ram and flash storage. these can be thought of as a whole extra computer inside your computer.
    Hardware controllers are usually powered by Intel/free scale made IOX processors although some have proprietary raid engines like 3ware and Areca cards. Hardware controllers are made to be completely independent and invisible to the system and only to be visible to the end user by the raid BIOS and monitoring utilities although most operating systems need drivers to see the card. luckily though if you are after a cheap fully hardware raid card you do not have to look far. The Revo card made by XFX is a fully hardware card and supports raid 3 at the time of writing the card is available for around £30 - £40 and has the bonus of 64mb of cache on-board. Also there are cheap hardware raid card's on e Bay almost constantly.

    Characteristics of a hardware raid card:

    Expensive
    Big (some cards such as IBM's serve raid cards can be 14 inches long)
    Dedicated on-board I/O processor
    usually has on-board cache( either as a Replaceable and upgradeable DIMM or soldered on the the board)


    Software controller

    almost every motherboard shipped today has some for of software raid controller on the motherboard. these software raid chips are usually integrated into the chip sets such as Intel south bridges ending in R (i.e. ICH5R , ICH6R ,ICH7R ,ICH8R AND ICH9R) and almost all Nvidia N force chip sets.

    software controllers are usually in the form of cheap controller cards that offer raid functionality. The cards themselves offer very little in the way of raid on the chip itself. this is usually provided by the driver witch off loads all of the processing to the CPU this is not necessarily a bad thing but large writes can tax the processor and if you use you computer for gaming a large write can slow your game to a slide show in the worst cases.

    software chip sets are dependent on a driver to be written for the intended operating system. this has in the past hindered there introduction onto new platforms.newer chip sets from manufacturers such as adaptec and highpoint all usually have native drivers for the platform. it is best to check before you buy to see if a has raid drivers for your chosen operating system.

    one of the better software chip sets that i have come across and are still available is the silicon image sil3114 chip set. this was one of the first native sata chip sets and also have very good read and write performance and a very matured driver. it is only rated to sata 150 but you are usually limited by the PCI bus before you reach the limit of this card. Cards based on this chip set can be bought for around £20 on e Bay and are a recommended buy.

    Hybrid controllers

    Hybrid controllers are a rarity these days and generally hark back to the days of Pentium 2's. These card offer most of the advantages of hardware raid cards such as cache and speed but use the systems processor to do raid calculations .
    These controllers are not available today for a good reason. they are very poor performers. because the processor usually has to access the cards cache over the PCI bus, something the pci bus is not made nor designed for. another reason hybrid controllers died out is due the the fact that they were only marginally cheaper that full blown hardware cards.
    The bulk raid cards cost used to be licensing for patents. so the cost of losing the on-board processor was marginal but had a big effect on performance. if you really want a hybrid card you could always look on ebay Compaq smart 431's go for as little as a fiver-I got one for free once.

    Part 4: Stripe sizes

    On most controllers you have the ability to chose your stripe size. This may look confusing but it really is not. all you really need to know is what the different sizes are good for. There is a general rule of thumbs that the stripe size should be twice that of of the file systems block size. this is not necessarily true, because when dealing with NTFS the block size is 4k ,so the stripe size would be 8k and this would mean poor performance with large files. ideally the best point for general usage is around 64k. but having a large stripe size would not effect storage space adversely.

    These are the typical stripe sizes found today:

    4k
    8k
    16k
    32k
    64k
    128k
    256k
    512k
    1024k


    The extremities of this is only useful in very specialist cases. For the most part 64k would be the most useful to most people. This assumes that you have choose to use raid 5. for raid 0 you would do just fine using around the 8k mark.


    Produced by:
    Alistair Senior

    With thanks to:
    Supershanks: For pointing out a another way of using matrix raid.
    TiG : For giving me the idea to put i usage scenario's
    Streetster: Spelling, punctuation and layout fixing.
    and me mam: For not getting annoyed at finding hard drives scattered around the house.
    Svg images are taken form the wikipedia pages
    Questions,comments,suggestions and hate mail to:
    al[at]alsenior.co.uk or
    PM 'alsenior' on here.

    All trademarks are properties of the respective owners.

    This work is licensed under the Creative Commons Attribution-Noncommercial-Share Alike 2.0 UK: England & Wales License. To view a copy of this license, visit Creative Commons Attribution-Noncommercial-Share Alike 2.0 UK: England & Wales or send a letter to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

    Still available from : http://www.alsenior.me.uk/files/raid...idguide1.2.zip

  2. Thanked By:

    GeoffScratcher (14-03-2010)

  3. #2
    Kelainefes's Avatar
    Kelainefes is offline Blaaaah
    • Kelainefes's System Specs  
      • CPU:
      • Intel C2D E8600
      • Motherboard:
      • DFI Lanparty LT X48 T2R - DFI BI P45
      • RAM:
      • 4x2GB DDR2-1066 OCZ Platinum XTC Low voltage - Daily 1080@5-5-5-18 Max 1200@5-5-5-18
      • Power Supply:
      • OCZ ModXStream 600W
      • Graphics Card:
      • Powercolor HD4870 PCS+ 512 MB GDDR5 @800/1000
      • Hard Drives:
      • 2xWD 320GB RE3 RAID0, 1xWD Caviar Black 1 TB
      • Cooling:
      • SilenX IXC-120HA2/Coolink PWM 120x25mm fan;TR HR09U Type2; TR T-Rad²/2xSilenX 92x25mm+HR11
      • Sound:
      • Asus Xonar Essence STX/ Sony HR7506 studio monitor headphones
      • Case:
      • XClio Wind Tunnel, SilenX 120mm front exhaust/SilenX 120mm rear exhaust
      • Monitor:
      • Samsung 226CW 22" 1680x1050
      • O/S And Misc Stuff:
      • Vista Ultimate x64
      • Overclock:
      • Daily 4050MHz 450x9 Max 4500MHz 500x9
    Join Date
    Feb 2008
    Location
    Italy, Sardinia
    Posts
    4,791
    Thanks
    360
    Thanked 379 Times in 361 Posts
    Thanks for taking your time to write and post this, it will be useful to a lot of people i think.

  4. #3
    SiM's Avatar
    SiM
    SiM is offline Member
    • SiM's System Specs  
      • CPU:
      • Q6600 G0
      • Motherboard:
      • P5k Premium
      • RAM:
      • 2GB Geil Black Dragon @ 800mhz 4-4-4-12
      • Power Supply:
      • Corsair TX650W
      • Graphics Card:
      • PNY 9800GTX
      • Hard Drives:
      • 3x320GB Samsung in RAID0
      • Cooling:
      • TRUE
      • Case:
      • Antec 1200
      • Monitor:
      • Dell 2407-HC
      • O/S And Misc Stuff:
      • Vista x64
      • Overclock:
      • 3.6ghz
    Join Date
    Dec 2007
    Posts
    80
    Thanks
    5
    Thanked 1 Time in 1 Post
    Thanks, good guide. For further reading Wikipedia is a good place to start
    Soon I am going to embark on a single platter 3 drive (software) raid project. I might play around with raid 0 for a little while, but eventually, I will move to raid 5
    If anyone is interested I can post some comparisons in a new thread...

  5. #4
    Kidda!'s Avatar
    Kidda! is offline Leave My Avatar Alone ***** !
    • Kidda!'s System Specs  
      • CPU:
      • i7 920
      • Motherboard:
      • Gigabyte X58 Extreme
      • RAM:
      • G Skill DDR3
      • Power Supply:
      • Toughpower 850w
      • Graphics Card:
      • Sapphire 5850
      • Hard Drives:
      • 4X320gb Raid 5 + 500 storage
      • Cooling:
      • Water
      • Sound:
      • Auzentech Xplosion
      • Case:
      • Mountain Mods
      • Monitor:
      • Samsung T260
      • O/S And Misc Stuff:
      • Win 7 Ultimate
      • Overclock:
      • 3570 (21 x multi)
    Join Date
    Sep 2007
    Posts
    346
    Thanks
    7
    Thanked 10 Times in 10 Posts
    great post , RAID is a bit intimidating to a new user

    a basic guide like this is invaluable to people looking at creating a RAID setup

  6. #5
    Anim8ion is offline Junior Member
    • Anim8ion's System Specs  
      • CPU:
      • Intel Core i7-920 Bloomfield
      • Motherboard:
      • EVGA X58 SLI
      • RAM:
      • 3x2GB OCZ PC3-12800
      • Power Supply:
      • Ultra 750W
      • Graphics Card:
      • BFG Tech GeForce GTX 280 OC
      • Hard Drives:
      • Western Digital 1TB Sata
      • Cooling:
      • Air - Titan Fenrir
      • Sound:
      • on-board
      • Case:
      • Antec Nine Hundred
      • Monitor:
      • 2x Westinghouse LCM-22w2
      • O/S And Misc Stuff:
      • Windows 7 Ultimate X64
      • Overclock:
      • That's why I'm here...
    Join Date
    Mar 2010
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nice guide. Very helpful.
    Thanks!

  7. #6
    IGMOTO is offline Gamer!!! cod series less cod5
    • IGMOTO's System Specs  
      • CPU:
      • C2D e8500 3.16Ghz
      • Motherboard:
      • EP45-UD3R
      • RAM:
      • 4GB OCZ Reaper 1066mhz
      • Power Supply:
      • Corsair TX-750 watts
      • Graphics Card:
      • Evga GTX 260 SSC
      • Hard Drives:
      • WD Caviar black 640GB
      • Cooling:
      • V8 CoolerMaster
      • Sound:
      • none
      • Case:
      • Antec 900 modded by me
      • Monitor:
      • AOC 17" OMG
      • O/S And Misc Stuff:
      • COD4 & MW2 Player!!
    Join Date
    Apr 2010
    Location
    Managua-Nicaragua
    Posts
    17
    Thanks
    2
    Thanked 3 Times in 3 Posts
    nice&usefull guide dude thank

    good job im a little noob on raid stuff

  8. #7
    Masterminded is offline Junior Member
    Join Date
    May 2010
    Posts
    15
    Thanks
    6
    Thanked 1 Time in 1 Post
    Is a Raid setup really viable for gaming? I understand that you suggested RAID 5 for this, but what I've read is that RAIDs have higher access times, which is detrimental to gameplay.
    ASUS P6X58D-E BIOS 0303
    Core i7 920 D0 cooled by Xigmatek Dark Knight S1283
    21x172 3.6GHz @ 1.18125v 1.25v QPI
    Corsair XMS TR3X6G1600C8 G 6GB 8-8-8-24 1600 @ 8-8-8-24 1379
    EVGA GTX 470
    WD 750GB Black
    CORSAIR CMPSU-850TX PSU
    SAMSUNG DVD Burner SH-S223L
    Windows 7 Home Premium 64

  9. #8
    affiliate13's Avatar
    affiliate13 is offline Even a bust clock tells the right time twice a day.
    • affiliate13's System Specs  
      • CPU:
      • Intel i7 920 D0
      • Motherboard:
      • ASUS Rampage II Extreme
      • RAM:
      • 3x2GB OCZ Reaper 14440 C8
      • Power Supply:
      • BeQuiet Dark Power Pro 1200w
      • Graphics Card:
      • Sapphire HD 5970 2x1Ghz
      • Hard Drives:
      • Dual X25-M R0 + 500GB Seagate 32MB
      • Cooling:
      • EK Supreme Lt/2x18w/Res Top/GTX480 + TFC Monsta
      • Sound:
      • X-Fi
      • Case:
      • Lian Li V2110
      • Monitor:
      • Iiyama Prolite E2607WS
      • O/S And Misc Stuff:
      • Win7 x64
      • Overclock:
      • Depends
    Join Date
    Nov 2007
    Location
    Belfast
    Posts
    4,946
    Thanks
    386
    Thanked 441 Times in 385 Posts
    Use RAID10?
    RAID5 has its downsides, but http://www.miracleas.com/BAARF/RAID5_versus_RAID10.txt
    If i had 4 SSDs this is what i would be doing now.
    PC:
    ASUS RIIE // Intel i7 920 D0 4.4Ghz 1.375v //
    OCZ Reaper 1800 C8 // Sapphire 5970 1Ghz x2 //
    Intel X25-M G2 80GB RAID0 // BeQuiet DPP 1200w //
    Seagate 500GB 32mb 7200 // LG BR //

    Cooling:
    TFC Monsta 6xSharkoon 1200rpm 140mm //
    HWL GTX480 4xScythe Ultra Kaze 2000rpm //
    EK Supreme LT // EK FC-5970 // XSPC RS120 //
    Laing DDC1 3.2 x2 // XSPC Res-tops // KL QDCs

  10. #9
    Clunk's Avatar
    Clunk is offline Monkey Trousers
    • Clunk's System Specs  
      • CPU:
      • i7 920
      • Motherboard:
      • Asus P6X58D-E
      • RAM:
      • G.Skill PI 2000MHz 6-9-6
      • Power Supply:
      • Corsair HX750
      • Graphics Card:
      • HD5850 XXX Edition
      • Hard Drives:
      • Crucial C300 128GB
      • Cooling:
      • Air/Water
      • Sound:
      • Yes
      • Case:
      • Dimastech Easy Bench V2.5
      • Monitor:
      • 2407
      • O/S And Misc Stuff:
      • Win 7 Ultimate
      • Overclock:
      • Yeauss.
    Join Date
    Sep 2007
    Location
    Manchester, UK
    Posts
    13,181
    Thanks
    999
    Thanked 840 Times in 720 Posts
    I would say that RAID does not really give any benefits for desktop PC unless you specifically run some kind of software that makes good use of it, for example, video editing software. I very much doubt that you'd see much in the way of an increase in level loading times over a single SSD anyway.

  11. #10
    Masterminded is offline Junior Member
    Join Date
    May 2010
    Posts
    15
    Thanks
    6
    Thanked 1 Time in 1 Post
    What if I was using HDDs instead of SSDs? I'm waiting for the price of the latter to come close to parity with the former before I buy them. What impact would a RAID 10 have on performance doing normal computing (word processing, web browsing, etc.)? What about games? Will it suffer due to greater access times? If so, would a RAID 1 slow games and general load times while it mirrors the drive? If anything, it seems to be an easy means of backing up an HDD, which I need, as I do my academic research/writing on this PC as well.
    ASUS P6X58D-E BIOS 0303
    Core i7 920 D0 cooled by Xigmatek Dark Knight S1283
    21x172 3.6GHz @ 1.18125v 1.25v QPI
    Corsair XMS TR3X6G1600C8 G 6GB 8-8-8-24 1600 @ 8-8-8-24 1379
    EVGA GTX 470
    WD 750GB Black
    CORSAIR CMPSU-850TX PSU
    SAMSUNG DVD Burner SH-S223L
    Windows 7 Home Premium 64

+ Reply to Thread
Page 1 of 2 1 2 LastLast

LinkBacks (?)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts