SlideShare ist ein Scribd-Unternehmen logo
1 von 19
RAID Overview

    91.560




                1
The Motivation for RAID
 Computing speeds double every 3 years
 Disk speeds can’t keep up
 Data needs higher MTBF than any
  component in system
       IO Performance and Availability
  Issues!




                                     2
RAID to the Rescue!
   PERFORMANCE
     Parallelism
     Load   Balancing
   AVAILABILITY
     Redundancy:    Mirroring, or Striping with
     Parity
   FLEXIBILITY
     Selectable   Performance/Availability/Cost


                                               3
What is RAID Technology?
   Redundant Array of Independent Disks
    (a.k.a. “Disk Array”)
     Multiple   drives, single host disk unit
   Provides opportunity to increase:
     Performance via Parallelism
     Data Availability via Redundancy

   Cheap cost via commodity disks



                                                 4
Performance: Disk Striping
   Chunk size tuneable for BW vs Thruput tradeoffs
    Large Chunk       High Throughput (IO/sec)
    Small Chunk       High Bandwidth (MB/sec)

    Drive       Drive        Drive       Drive             Drive

     1           2            3            4                5
Chunk 0        Chunk 1     Chunk 2      Chunk 3           Chunk 4
Chunk 5         Parity
               Chunk 6     Chunk 7      Chunk 8           Chunk 9
Chunk 10      Chunk 11     Chunk 12     Chunk 13      Chunk 14
Chunk 15      Chunk 16     Chunk 17     Chunk 18      Chunk 19
Chunk 20      Chunk 21     Chunk 22     Chunk 23      Chunk 24



                                                      5
Availability: Redundancy
                                                   Single Host Unit

Mirroring
Same data written to both disks.




Striping with Parity
 Data Stream, OR IO Stream, can be multiplexed
 across multiple disks, depending on BW vs
 Thruput. Parity data is also stored on disk.




  > Add XOR’d parity for increased availability.


                                                      6
Parity Redundancy
   Parity = XOR of data from every disk in the
    RAID unit


    DATA
     0                     - Any single disk’s
     1                     data can be recovered
     1                     by XOR’ing the data
                           of the surviving disks.
     0
     0 parity
                                           7
RAID Levels
 Many to choose from
 Each offers unique tradeoffs
     Performance
     Availability
     Costs

   We offer levels 0, 1, 3, 5, 10




                                     8
RAID 0
              Disk Striping with No Redundancy

    • High Performance; Low Availability
    • Data Striped on Multiple Disks
    • Multi-threaded Access



Data Stream, OR IO Stream, can be Striped
across multiple disks (BW vs Thruput).




                                                 9
RAID 0 Striping
 Chunk size tuneable for BW or Thruput
   No redundancy




    Drive       Drive         Drive        Drive           Drive

     1              2          3             4              5
Chunk 0        Chunk 1      Chunk 2       Chunk 3         Chunk 4
Chunk 5         Parity
               Chunk 6      Chunk 7       Chunk 8         Chunk 9
Chunk 10      Chunk 11      Chunk 12      Chunk 13    Chunk 14
Chunk 15      Chunk 16      Chunk 17      Chunk 18    Chunk 19
Chunk 20      Chunk 21      Chunk 22      Chunk 23    Chunk 24



                                                     10
RAID 1
                            Disk Mirroring

    Single-disk Performance; Expensive
    Availability
    Data 100% duplicated across both spindles.
    Single-threaded access

                                             Single Host Unit
SAME data written to BOTH disks -- no
segmenting.




                                              11
RAID 1/0
                            Striped Mirrors
    • Highest Performance; Most Expensive
      Availability
    • Multi-threaded Access
                                              Single Host Unit


Data Stream, OR IO Stream, can be Striped
across multiple disks (BW vs Thruput).




                                                12
RAID 3
        Disk Striping with dedicated parity drive

   • High  BW Performance; Cheap Availability
   • Sector-granular data striping
   • Single-threaded Access



Data Stream is Striped across N-1 disks for
high bandwidth.




                                XOR Parity Data


                                                  13
RAID 3 Striping
 Chunk size = single sector (pure RAID 3 would be single byte)
   All parity data on same spindle




    Drive         Drive          Drive        Drive            Drive

     1             2              3            4                5
Chunk 0          Chunk 1        Chunk 2     Chunk 3            Parity
Chunk 4           Parity
                 Chunk 5        Chunk 6     Chunk 7            Parity
Chunk 8          Chunk 9       Chunk 10     Chunk 11           Parity
Chunk 12        Chunk 13       Chunk 14     Chunk 15           Parity
Chunk 16        Chunk 17       Chunk 18     Chunk 19           Parity



                                                          14
RAID 5
            Disk Striping with rotating parity drive
    High Read Performance, expensive Write
    performance; Cheap Availability
    Tuneable Stripe granularity
    Optimized for multi-thread access
IO Stream is Striped across N-1 disks for high
IOs per second (thruput).




                                XOR Parity Data


                                                  15
RAID 5 Striping
 Chunk size is tuned such that typical IO aligns on single disk.
   Parity rotates amongst disks to avoid write bottleneck




    Drive         Drive          Drive          Drive              Drive

     1             2              3              4                  5
Chunk 0          Chunk 1        Chunk 2        Chunk 3             Parity
Chunk 4           Parity
                 Chunk 5        Chunk 6         Parity            Chunk 7
Chunk 8          Chunk 9         Parity       Chunk 10        Chunk 11
Chunk 12          Parity       Chunk 13       Chunk 14        Chunk 15
    Parity      Chunk 16       Chunk 17       Chunk 18        Chunk 19



                                                             16
RAID 5 - Write Operation

1. Read old 2. Write                 3. XOR old and       4. Read       5. Xor old parity with
data.             new data           new data to create   old parity    partial product, writing
                                     “Partial Product”.   data.         out result as new parity.


        Old        New
                                     }       P. P.           Old P.
                                                                            }         New P.

                                     XOR                                    XOR




         Drive               Drive            Drive             Drive               Drive

          1                   2                 3                4                   5
        Chunk 0          Chunk 1             Chunk 2          Chunk 3               Parity


                                                                               17
RAID Level Review
   RAID 0 - Data striping, Non-redundant.
      High Performance, Low Availability
   RAID 1 - Mirroring
      Moderate Performance, Expensive High Availability
   RAID 1/0 - Striping and Mirroring
      High Performance, Expensively High Availability
   RAID 3 - Striping, single parity disk.
      High Bandwidth Performance, Cheap Availability
   RAID 5 - Striping, rotating parity disk.
      High Thruput Performance, Cheap Availability



                                                  18
Summary
 Increasing performance gap between CPU
  and IO
 Data availability a priority
 RAID meets the IO challenge:
     Performance   via parallelism
     Data Availability via redundancy
     Flexibility via multiple RAID levels, each offer
      unique performance/availability/cost tradeoffs


                                              19

Weitere ähnliche Inhalte

Was ist angesagt?

Raid- Redundant Array of Inexpensive Disks
Raid- Redundant Array of Inexpensive DisksRaid- Redundant Array of Inexpensive Disks
Raid- Redundant Array of Inexpensive DisksMudit Mishra
 
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...Jason Augustine
 
Raid : Redundant Array of Inexpensive Disks
Raid : Redundant Array of Inexpensive DisksRaid : Redundant Array of Inexpensive Disks
Raid : Redundant Array of Inexpensive DisksCloudbells.com
 
Performance evolution of raid
Performance evolution of raidPerformance evolution of raid
Performance evolution of raidZubair Sami
 
Presentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) BasicsPresentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) BasicsKuber Chandra
 
Raid (Redundant Array of Inexpensive Disks) in Computer Architecture
Raid (Redundant Array of Inexpensive Disks) in Computer ArchitectureRaid (Redundant Array of Inexpensive Disks) in Computer Architecture
Raid (Redundant Array of Inexpensive Disks) in Computer ArchitectureAiman Hafeez
 
RAID and Storage Arrays
RAID and Storage ArraysRAID and Storage Arrays
RAID and Storage ArraysChris Pierce
 

Was ist angesagt? (19)

Raid
RaidRaid
Raid
 
Raid- Redundant Array of Inexpensive Disks
Raid- Redundant Array of Inexpensive DisksRaid- Redundant Array of Inexpensive Disks
Raid- Redundant Array of Inexpensive Disks
 
Raid and its levels
Raid and its levelsRaid and its levels
Raid and its levels
 
RAID
RAIDRAID
RAID
 
Raid
RaidRaid
Raid
 
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
 
Raid Levels
Raid LevelsRaid Levels
Raid Levels
 
RAID seminar
RAID seminarRAID seminar
RAID seminar
 
Raid 5
Raid 5Raid 5
Raid 5
 
Raid : Redundant Array of Inexpensive Disks
Raid : Redundant Array of Inexpensive DisksRaid : Redundant Array of Inexpensive Disks
Raid : Redundant Array of Inexpensive Disks
 
Raid
Raid Raid
Raid
 
Raid Technology
Raid TechnologyRaid Technology
Raid Technology
 
Performance evolution of raid
Performance evolution of raidPerformance evolution of raid
Performance evolution of raid
 
Raid intro
Raid introRaid intro
Raid intro
 
Raid
RaidRaid
Raid
 
Presentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) BasicsPresentation On RAID(Redundant Array Of Independent Disks) Basics
Presentation On RAID(Redundant Array Of Independent Disks) Basics
 
Raid level
Raid levelRaid level
Raid level
 
Raid (Redundant Array of Inexpensive Disks) in Computer Architecture
Raid (Redundant Array of Inexpensive Disks) in Computer ArchitectureRaid (Redundant Array of Inexpensive Disks) in Computer Architecture
Raid (Redundant Array of Inexpensive Disks) in Computer Architecture
 
RAID and Storage Arrays
RAID and Storage ArraysRAID and Storage Arrays
RAID and Storage Arrays
 

Andere mochten auch

Raid(redundant array of independent disks).
Raid(redundant array of independent disks).Raid(redundant array of independent disks).
Raid(redundant array of independent disks).ali torabi
 
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)Raid Data Recovery
 
Raid level 0, 1, 3, 5 an...tage, disadvantage, use
Raid level 0, 1, 3, 5 an...tage, disadvantage, useRaid level 0, 1, 3, 5 an...tage, disadvantage, use
Raid level 0, 1, 3, 5 an...tage, disadvantage, useShital Shinde
 
Présentation du stockage RAID
Présentation du stockage RAIDPrésentation du stockage RAID
Présentation du stockage RAIDEmmanuel Florac
 
RAID 테스트
RAID 테스트RAID 테스트
RAID 테스트ajj007
 
Logical Volume Manager. An Introduction
Logical Volume Manager. An IntroductionLogical Volume Manager. An Introduction
Logical Volume Manager. An IntroductionJuan A. Suárez Romero
 
Byte Rotation Algorithm
Byte Rotation AlgorithmByte Rotation Algorithm
Byte Rotation AlgorithmEngr0918
 
Cryptography by Epul
Cryptography by EpulCryptography by Epul
Cryptography by EpulAgate Studio
 
Volatile memory
Volatile memoryVolatile memory
Volatile memorySimon Paul
 

Andere mochten auch (20)

RAID CONCEPT
RAID CONCEPTRAID CONCEPT
RAID CONCEPT
 
Raid(redundant array of independent disks).
Raid(redundant array of independent disks).Raid(redundant array of independent disks).
Raid(redundant array of independent disks).
 
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
 
Système RAID
Système RAIDSystème RAID
Système RAID
 
Raid
RaidRaid
Raid
 
Raid
RaidRaid
Raid
 
Raid level 0, 1, 3, 5 an...tage, disadvantage, use
Raid level 0, 1, 3, 5 an...tage, disadvantage, useRaid level 0, 1, 3, 5 an...tage, disadvantage, use
Raid level 0, 1, 3, 5 an...tage, disadvantage, use
 
raid technology
raid technologyraid technology
raid technology
 
Présentation du stockage RAID
Présentation du stockage RAIDPrésentation du stockage RAID
Présentation du stockage RAID
 
Linux booting process
Linux booting processLinux booting process
Linux booting process
 
Disk
DiskDisk
Disk
 
Uml examen
Uml  examenUml  examen
Uml examen
 
RAID 테스트
RAID 테스트RAID 테스트
RAID 테스트
 
Logical Volume Manager. An Introduction
Logical Volume Manager. An IntroductionLogical Volume Manager. An Introduction
Logical Volume Manager. An Introduction
 
DAS RAID NAS SAN
DAS RAID NAS SANDAS RAID NAS SAN
DAS RAID NAS SAN
 
Byte Rotation Algorithm
Byte Rotation AlgorithmByte Rotation Algorithm
Byte Rotation Algorithm
 
Cryptography by Epul
Cryptography by EpulCryptography by Epul
Cryptography by Epul
 
Cryptography
Cryptography Cryptography
Cryptography
 
Volatile memory
Volatile memoryVolatile memory
Volatile memory
 
Forensic imaging tools
Forensic imaging tools Forensic imaging tools
Forensic imaging tools
 

Ähnlich wie Raid_intro.ppt

Case Study Raid Utility Guideline
Case Study Raid Utility GuidelineCase Study Raid Utility Guideline
Case Study Raid Utility GuidelineSelinasalvationdata
 
Raid designs in Qsan Storage
Raid designs in Qsan StorageRaid designs in Qsan Storage
Raid designs in Qsan Storageqsantechnology
 
Ceph Day NYC: Ceph Performance & Benchmarking
Ceph Day NYC: Ceph Performance & BenchmarkingCeph Day NYC: Ceph Performance & Benchmarking
Ceph Day NYC: Ceph Performance & BenchmarkingCeph Community
 
Overview of Redundant Disk Arrays
Overview of Redundant Disk ArraysOverview of Redundant Disk Arrays
Overview of Redundant Disk ArraysAndrew Robinson
 
Ceph Day Santa Clara: Ceph Performance & Benchmarking
Ceph Day Santa Clara: Ceph Performance & Benchmarking Ceph Day Santa Clara: Ceph Performance & Benchmarking
Ceph Day Santa Clara: Ceph Performance & Benchmarking Ceph Community
 
Chapter 5 memory external
Chapter 5 memory externalChapter 5 memory external
Chapter 5 memory externalwawankoerniawan
 
RAID--16112022-093218am-16022024-061222pm.pdf
RAID--16112022-093218am-16022024-061222pm.pdfRAID--16112022-093218am-16022024-061222pm.pdf
RAID--16112022-093218am-16022024-061222pm.pdfzainm7032
 
Castle enhanced Cassandra
Castle enhanced CassandraCastle enhanced Cassandra
Castle enhanced CassandraEric Evans
 
Demystifying Storage
Demystifying  StorageDemystifying  Storage
Demystifying Storagebhavintu79
 
GeoVision : CCTV Solutions : RAID vs Non-RAID System for Storing Surveillance...
GeoVision : CCTV Solutions : RAID vs Non-RAID System for Storing Surveillance...GeoVision : CCTV Solutions : RAID vs Non-RAID System for Storing Surveillance...
GeoVision : CCTV Solutions : RAID vs Non-RAID System for Storing Surveillance...TSOLUTIONS
 
Your Disk Array Is Slower Than It Should Be
Your Disk Array Is Slower Than It Should BeYour Disk Array Is Slower Than It Should Be
Your Disk Array Is Slower Than It Should BePerconaPerformance
 

Ähnlich wie Raid_intro.ppt (20)

Case Study Raid Utility Guideline
Case Study Raid Utility GuidelineCase Study Raid Utility Guideline
Case Study Raid Utility Guideline
 
Raid+controllers
Raid+controllersRaid+controllers
Raid+controllers
 
Raid designs in Qsan Storage
Raid designs in Qsan StorageRaid designs in Qsan Storage
Raid designs in Qsan Storage
 
Firebird and RAID
Firebird and RAIDFirebird and RAID
Firebird and RAID
 
Raid level 4
Raid level 4Raid level 4
Raid level 4
 
Ceph Day NYC: Ceph Performance & Benchmarking
Ceph Day NYC: Ceph Performance & BenchmarkingCeph Day NYC: Ceph Performance & Benchmarking
Ceph Day NYC: Ceph Performance & Benchmarking
 
Overview of Redundant Disk Arrays
Overview of Redundant Disk ArraysOverview of Redundant Disk Arrays
Overview of Redundant Disk Arrays
 
Ceph Day Santa Clara: Ceph Performance & Benchmarking
Ceph Day Santa Clara: Ceph Performance & Benchmarking Ceph Day Santa Clara: Ceph Performance & Benchmarking
Ceph Day Santa Clara: Ceph Performance & Benchmarking
 
Raid
RaidRaid
Raid
 
Chapter 5 memory external
Chapter 5 memory externalChapter 5 memory external
Chapter 5 memory external
 
Understanding RAID Controller
Understanding RAID ControllerUnderstanding RAID Controller
Understanding RAID Controller
 
RAID--16112022-093218am-16022024-061222pm.pdf
RAID--16112022-093218am-16022024-061222pm.pdfRAID--16112022-093218am-16022024-061222pm.pdf
RAID--16112022-093218am-16022024-061222pm.pdf
 
Raid 1 3
Raid 1 3Raid 1 3
Raid 1 3
 
Storage memory
Storage memoryStorage memory
Storage memory
 
Castle enhanced Cassandra
Castle enhanced CassandraCastle enhanced Cassandra
Castle enhanced Cassandra
 
Demystifying Storage
Demystifying  StorageDemystifying  Storage
Demystifying Storage
 
GeoVision : CCTV Solutions : RAID vs Non-RAID System for Storing Surveillance...
GeoVision : CCTV Solutions : RAID vs Non-RAID System for Storing Surveillance...GeoVision : CCTV Solutions : RAID vs Non-RAID System for Storing Surveillance...
GeoVision : CCTV Solutions : RAID vs Non-RAID System for Storing Surveillance...
 
Your Disk Array Is Slower Than It Should Be
Your Disk Array Is Slower Than It Should BeYour Disk Array Is Slower Than It Should Be
Your Disk Array Is Slower Than It Should Be
 
Introduction to RAID
Introduction to RAIDIntroduction to RAID
Introduction to RAID
 
Raid
RaidRaid
Raid
 

Mehr von webhostingguy

Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Frameworkwebhostingguy
 
MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guidewebhostingguy
 
Novell® iChain® 2.3
Novell® iChain® 2.3Novell® iChain® 2.3
Novell® iChain® 2.3webhostingguy
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serverswebhostingguy
 
SQL Server 2008 Consolidation
SQL Server 2008 ConsolidationSQL Server 2008 Consolidation
SQL Server 2008 Consolidationwebhostingguy
 
Master Service Agreement
Master Service AgreementMaster Service Agreement
Master Service Agreementwebhostingguy
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...webhostingguy
 
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...webhostingguy
 
Managing Diverse IT Infrastructure
Managing Diverse IT InfrastructureManaging Diverse IT Infrastructure
Managing Diverse IT Infrastructurewebhostingguy
 
Web design for business.ppt
Web design for business.pptWeb design for business.ppt
Web design for business.pptwebhostingguy
 
IT Power Management Strategy
IT Power Management Strategy IT Power Management Strategy
IT Power Management Strategy webhostingguy
 
Excel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for MerchandisersExcel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for Merchandiserswebhostingguy
 
Parallels Hosting Products
Parallels Hosting ProductsParallels Hosting Products
Parallels Hosting Productswebhostingguy
 
Microsoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 MbMicrosoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 Mbwebhostingguy
 

Mehr von webhostingguy (20)

File Upload
File UploadFile Upload
File Upload
 
Running and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test FrameworkRunning and Developing Tests with the Apache::Test Framework
Running and Developing Tests with the Apache::Test Framework
 
MySQL and memcached Guide
MySQL and memcached GuideMySQL and memcached Guide
MySQL and memcached Guide
 
Novell® iChain® 2.3
Novell® iChain® 2.3Novell® iChain® 2.3
Novell® iChain® 2.3
 
Load-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web serversLoad-balancing web servers Load-balancing web servers
Load-balancing web servers Load-balancing web servers
 
SQL Server 2008 Consolidation
SQL Server 2008 ConsolidationSQL Server 2008 Consolidation
SQL Server 2008 Consolidation
 
What is mod_perl?
What is mod_perl?What is mod_perl?
What is mod_perl?
 
What is mod_perl?
What is mod_perl?What is mod_perl?
What is mod_perl?
 
Master Service Agreement
Master Service AgreementMaster Service Agreement
Master Service Agreement
 
Notes8
Notes8Notes8
Notes8
 
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...PHP and MySQL PHP Written as a set of CGI binaries in C in ...
PHP and MySQL PHP Written as a set of CGI binaries in C in ...
 
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...Dell Reference Architecture Guide Deploying Microsoft® SQL ...
Dell Reference Architecture Guide Deploying Microsoft® SQL ...
 
Managing Diverse IT Infrastructure
Managing Diverse IT InfrastructureManaging Diverse IT Infrastructure
Managing Diverse IT Infrastructure
 
Web design for business.ppt
Web design for business.pptWeb design for business.ppt
Web design for business.ppt
 
IT Power Management Strategy
IT Power Management Strategy IT Power Management Strategy
IT Power Management Strategy
 
Excel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for MerchandisersExcel and SQL Quick Tricks for Merchandisers
Excel and SQL Quick Tricks for Merchandisers
 
OLUG_xen.ppt
OLUG_xen.pptOLUG_xen.ppt
OLUG_xen.ppt
 
Parallels Hosting Products
Parallels Hosting ProductsParallels Hosting Products
Parallels Hosting Products
 
Microsoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 MbMicrosoft PowerPoint presentation 2.175 Mb
Microsoft PowerPoint presentation 2.175 Mb
 
Reseller's Guide
Reseller's GuideReseller's Guide
Reseller's Guide
 

Raid_intro.ppt

  • 1. RAID Overview 91.560 1
  • 2. The Motivation for RAID  Computing speeds double every 3 years  Disk speeds can’t keep up  Data needs higher MTBF than any component in system  IO Performance and Availability Issues! 2
  • 3. RAID to the Rescue!  PERFORMANCE  Parallelism  Load Balancing  AVAILABILITY  Redundancy: Mirroring, or Striping with Parity  FLEXIBILITY  Selectable Performance/Availability/Cost 3
  • 4. What is RAID Technology?  Redundant Array of Independent Disks (a.k.a. “Disk Array”)  Multiple drives, single host disk unit  Provides opportunity to increase:  Performance via Parallelism  Data Availability via Redundancy  Cheap cost via commodity disks 4
  • 5. Performance: Disk Striping  Chunk size tuneable for BW vs Thruput tradeoffs Large Chunk High Throughput (IO/sec) Small Chunk High Bandwidth (MB/sec) Drive Drive Drive Drive Drive 1 2 3 4 5 Chunk 0 Chunk 1 Chunk 2 Chunk 3 Chunk 4 Chunk 5 Parity Chunk 6 Chunk 7 Chunk 8 Chunk 9 Chunk 10 Chunk 11 Chunk 12 Chunk 13 Chunk 14 Chunk 15 Chunk 16 Chunk 17 Chunk 18 Chunk 19 Chunk 20 Chunk 21 Chunk 22 Chunk 23 Chunk 24 5
  • 6. Availability: Redundancy Single Host Unit Mirroring Same data written to both disks. Striping with Parity Data Stream, OR IO Stream, can be multiplexed across multiple disks, depending on BW vs Thruput. Parity data is also stored on disk. > Add XOR’d parity for increased availability. 6
  • 7. Parity Redundancy  Parity = XOR of data from every disk in the RAID unit DATA 0 - Any single disk’s 1 data can be recovered 1 by XOR’ing the data of the surviving disks. 0 0 parity 7
  • 8. RAID Levels  Many to choose from  Each offers unique tradeoffs  Performance  Availability  Costs  We offer levels 0, 1, 3, 5, 10 8
  • 9. RAID 0 Disk Striping with No Redundancy • High Performance; Low Availability • Data Striped on Multiple Disks • Multi-threaded Access Data Stream, OR IO Stream, can be Striped across multiple disks (BW vs Thruput). 9
  • 10. RAID 0 Striping  Chunk size tuneable for BW or Thruput  No redundancy Drive Drive Drive Drive Drive 1 2 3 4 5 Chunk 0 Chunk 1 Chunk 2 Chunk 3 Chunk 4 Chunk 5 Parity Chunk 6 Chunk 7 Chunk 8 Chunk 9 Chunk 10 Chunk 11 Chunk 12 Chunk 13 Chunk 14 Chunk 15 Chunk 16 Chunk 17 Chunk 18 Chunk 19 Chunk 20 Chunk 21 Chunk 22 Chunk 23 Chunk 24 10
  • 11. RAID 1 Disk Mirroring  Single-disk Performance; Expensive Availability  Data 100% duplicated across both spindles.  Single-threaded access Single Host Unit SAME data written to BOTH disks -- no segmenting. 11
  • 12. RAID 1/0 Striped Mirrors • Highest Performance; Most Expensive Availability • Multi-threaded Access Single Host Unit Data Stream, OR IO Stream, can be Striped across multiple disks (BW vs Thruput). 12
  • 13. RAID 3 Disk Striping with dedicated parity drive • High BW Performance; Cheap Availability • Sector-granular data striping • Single-threaded Access Data Stream is Striped across N-1 disks for high bandwidth. XOR Parity Data 13
  • 14. RAID 3 Striping  Chunk size = single sector (pure RAID 3 would be single byte)  All parity data on same spindle Drive Drive Drive Drive Drive 1 2 3 4 5 Chunk 0 Chunk 1 Chunk 2 Chunk 3 Parity Chunk 4 Parity Chunk 5 Chunk 6 Chunk 7 Parity Chunk 8 Chunk 9 Chunk 10 Chunk 11 Parity Chunk 12 Chunk 13 Chunk 14 Chunk 15 Parity Chunk 16 Chunk 17 Chunk 18 Chunk 19 Parity 14
  • 15. RAID 5 Disk Striping with rotating parity drive  High Read Performance, expensive Write performance; Cheap Availability  Tuneable Stripe granularity  Optimized for multi-thread access IO Stream is Striped across N-1 disks for high IOs per second (thruput). XOR Parity Data 15
  • 16. RAID 5 Striping  Chunk size is tuned such that typical IO aligns on single disk.  Parity rotates amongst disks to avoid write bottleneck Drive Drive Drive Drive Drive 1 2 3 4 5 Chunk 0 Chunk 1 Chunk 2 Chunk 3 Parity Chunk 4 Parity Chunk 5 Chunk 6 Parity Chunk 7 Chunk 8 Chunk 9 Parity Chunk 10 Chunk 11 Chunk 12 Parity Chunk 13 Chunk 14 Chunk 15 Parity Chunk 16 Chunk 17 Chunk 18 Chunk 19 16
  • 17. RAID 5 - Write Operation 1. Read old 2. Write 3. XOR old and 4. Read 5. Xor old parity with data. new data new data to create old parity partial product, writing “Partial Product”. data. out result as new parity. Old New } P. P. Old P. } New P. XOR XOR Drive Drive Drive Drive Drive 1 2 3 4 5 Chunk 0 Chunk 1 Chunk 2 Chunk 3 Parity 17
  • 18. RAID Level Review  RAID 0 - Data striping, Non-redundant.  High Performance, Low Availability  RAID 1 - Mirroring  Moderate Performance, Expensive High Availability  RAID 1/0 - Striping and Mirroring  High Performance, Expensively High Availability  RAID 3 - Striping, single parity disk.  High Bandwidth Performance, Cheap Availability  RAID 5 - Striping, rotating parity disk.  High Thruput Performance, Cheap Availability 18
  • 19. Summary  Increasing performance gap between CPU and IO  Data availability a priority  RAID meets the IO challenge:  Performance via parallelism  Data Availability via redundancy  Flexibility via multiple RAID levels, each offer unique performance/availability/cost tradeoffs 19