CSCE430/830 Computer Architecture

Slides:



Advertisements
Similar presentations
A Case for Redundant Arrays Of Inexpensive Disks Paper By David A Patterson Garth Gibson Randy H Katz University of California Berkeley.
Advertisements

RAID Redundant Arrays of Independent Disks Courtesy of Satya, Fall 99.
Redundant Array of Independent Disks (RAID) Striping of data across multiple media for expansion, performance and reliability.
A CASE FOR REDUNDANT ARRAYS OF INEXPENSIVE DISKS (RAID) D. A. Patterson, G. A. Gibson, R. H. Katz University of California, Berkeley.
What is RAID Redundant Array of Independent Disks.
1 Lecture 18: RAID n I/O bottleneck n JBOD and SLED n striping and mirroring n classic RAID levels: 1 – 5 n additional RAID levels: 6, 0+1, 10 n RAID usage.
RAID (Redundant Arrays of Independent Disks). Disk organization technique that manages a large number of disks, providing a view of a single disk of High.
Triple-Parity RAID and Beyond Hai Lu. RAID RAID, an acronym for redundant array of independent disks or also known as redundant array of inexpensive disks,
RAID Oh yes Whats RAID? Redundant Array (of) Independent Disks. A scheme involving multiple disks which replicates data across multiple drives. Methods.
RAID Redundant Array of Independent Disks
Raid dr. Patrick De Causmaecker What is RAID Redundant Array of Independent (Inexpensive) Disks A set of disk stations treated as one.
RAID- Redundant Array of Inexpensive Drives. Purpose Provide faster data access and larger storage Provide data redundancy.
R.A.I.D. Copyright © 2005 by James Hug Redundant Array of Independent (or Inexpensive) Disks.
CSE521: Introduction to Computer Architecture Mazin Yousif I/O Subsystem RAID (Redundant Array of Independent Disks)
Lecture 36: Chapter 6 Today’s topic –RAID 1. RAID Redundant Array of Inexpensive (Independent) Disks –Use multiple smaller disks (c.f. one large disk)
Sean Traber CS-147 Fall  7.9 RAID  RAID Level 0  RAID Level 1  RAID Level 2  RAID Level 3  RAID Level 4 
RAID Technology. Use Arrays of Small Disks? 14” 10”5.25”3.5” Disk Array: 1 disk design Conventional: 4 disk designs Low End High End Katz and Patterson.
REDUNDANT ARRAY OF INEXPENSIVE DISCS RAID. What is RAID ? RAID is an acronym for Redundant Array of Independent Drives (or Disks), also known as Redundant.
RAID Technology CS350 Computer Organization Section 2 Larkin Young Rob Deaderick Amos Painter Josh Ellis.
EECC551 - Shaaban #1 Lec # 13 Winter Magnetic Disk CharacteristicsMagnetic Disk Characteristics I/O Connection StructureI/O Connection Structure.
1 Recap (RAID and Storage Architectures). 2 RAID To increase the availability and the performance (bandwidth) of a storage system, instead of a single.
Computer ArchitectureFall 2007 © November 28, 2007 Karem A. Sakallah Lecture 24 Disk IO and RAID CS : Computer Architecture.
CPSC-608 Database Systems Fall 2008 Instructor: Jianer Chen Office: HRBB 309B Phone: Notes #6.
1 Lecture 26: Storage Systems Topics: Storage Systems (Chapter 6), other innovations Final exam stats:  Highest: 95  Mean: 70, Median: 73  Toughest.
Computer ArchitectureFall 2008 © November 12, 2007 Nael Abu-Ghazaleh Lecture 24 Disk IO.
RAID Systems CS Introduction to Operating Systems.
Lecture 39: Review Session #1 Reminders –Final exam, Thursday 3:10pm Sloan 150 –Course evaluation (Blue Course Evaluation) Access through.
Servers Redundant Array of Inexpensive Disks (RAID) –A group of hard disks is called a disk array FIGURE Server with redundant NICs.
Redundant Array of Inexpensive Disks (RAID). Redundant Arrays of Disks Files are "striped" across multiple spindles Redundancy yields high data availability.
ICOM 6005 – Database Management Systems Design Dr. Manuel Rodríguez-Martínez Electrical and Computer Engineering Department Lecture 6 – RAID ©Manuel Rodriguez.
Chapter 6 RAID. Chapter 6 — Storage and Other I/O Topics — 2 RAID Redundant Array of Inexpensive (Independent) Disks Use multiple smaller disks (c.f.
RAID Ref: Stallings. Introduction The rate in improvement in secondary storage performance has been considerably less than the rate for processors and.
RAID Shuli Han COSC 573 Presentation.
Lecture 4 1 Reliability vs Availability Reliability: Is anything broken? Availability: Is the system still available to the user?
CS 352 : Computer Organization and Design University of Wisconsin-Eau Claire Dan Ernst Storage Systems.
1 Recitation 8 Disk & File System. 2 Disk Scheduling Disks are at least four orders of magnitude slower than main memory –The performance of disk I/O.
Redundant Array of Independent Disks
RAID: High-Performance, Reliable Secondary Storage Mei Qing & Chaoxia Liao Nov. 20, 2003.
Two or more disks Capacity is the same as the total capacity of the drives in the array No fault tolerance-risk of data loss is proportional to the number.
L/O/G/O External Memory Chapter 3 (C) CS.216 Computer Architecture and Organization.
N-Tier Client/Server Architectures Chapter 4 Server - RAID Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept RAID – Redundant Array.
1 Chapter 7: Storage Systems Introduction Magnetic disks Buses RAID: Redundant Arrays of Inexpensive Disks.
RAID COP 5611 Advanced Operating Systems Adapted from Andy Wang’s slides at FSU.
Lecture 9 of Advanced Databases Storage and File Structure (Part II) Instructor: Mr.Ahmed Al Astal.
Parity Logging O vercoming the Small Write Problem in Redundant Disk Arrays Daniel Stodolsky Garth Gibson Mark Holland.
Redundant Array of Inexpensive Disks aka Redundant Array of Independent Disks (RAID) Modified from CCT slides.
RAID REDUNDANT ARRAY OF INEXPENSIVE DISKS. Why RAID?
Disk Structure Disk drives are addressed as large one- dimensional arrays of logical blocks, where the logical block is the smallest unit of transfer.
CE Operating Systems Lecture 20 Disk I/O. Overview of lecture In this lecture we will look at: Disk Structure Disk Scheduling Disk Management Swap-Space.
RAID SECTION (2.3.5) ASHLEY BAILEY SEYEDFARAZ YASROBI GOKUL SHANKAR.
Redundant Array of Independent Disks.  Many systems today need to store many terabytes of data.  Don’t want to use single, large disk  too expensive.
Αρχιτεκτονική Υπολογιστών Ενότητα # 6: RAID Διδάσκων: Γεώργιος Κ. Πολύζος Τμήμα: Πληροφορικής.
1 Lecture 27: Disks Today’s topics:  Disk basics  RAID  Research topics.
Chapter 14: Mass-Storage Systems Disk Structure. Disk Scheduling. RAID.
Introduction to RAID Rogério Perino de Oliveira Neves Patrick De Causmaecker
RAID Technology By: Adarsha A,S 1BY08A03. Overview What is RAID Technology? What is RAID Technology? History of RAID History of RAID Techniques/Methods.
RAID TECHNOLOGY RASHMI ACHARYA CSE(A) RG NO
I/O Errors 1 Computer Organization II © McQuain RAID Redundant Array of Inexpensive (Independent) Disks – Use multiple smaller disks (c.f.
CS Introduction to Operating Systems
RAID Redundant Arrays of Independent Disks
Steve Ko Computer Sciences and Engineering University at Buffalo
Steve Ko Computer Sciences and Engineering University at Buffalo
Disks and RAID.
RAID Non-Redundant (RAID Level 0) has the lowest cost of any RAID
Vladimir Stojanovic & Nicholas Weaver
RAID RAID Mukesh N Tekwani
ICOM 6005 – Database Management Systems Design
TECHNICAL SEMINAR PRESENTATION
UNIT IV RAID.
RAID RAID Mukesh N Tekwani April 23, 2019
Presentation transcript:

CSCE430/830 Computer Architecture Disk Storage Systems: RAID Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall, 2006 Portions of these slides are derived from: Dave Patterson © UCB

Overview Introduction Overview of RAID Technologies RAID Levels

Why RAID? Performance gap between processors and disks RISC microprocessor: 50% per/yr increase Disk access time: 10% per/yr increase Disk transfer rate: 20% per/yr increase RAID: a natural solution to narrow the gap Stripping data across multiple disks to allow parallel I/O, thus improving performance What is the main problem if we organize dozens of disks together?

Array Reliability Reliability of N disks = Reliability of 1 Disk ÷N 50,000 Hours ÷ 70 disks = 700 hours Disk system MTTF: Drops from 6 years to 1 month! Arrays without redundancy too unreliable to be useful! RAID 5: MTTF(disk) 2 mean time between failures = ------------------------------ N*(G-1)*MTTR(disk) N - total number of disks in the system G - number of disks in the parity group

Overview of RAID Techniques Disk Mirroring, Shadowing 1 1 Each disk is fully duplicated onto its "shadow" Logical write = two physical writes 100% capacity overhead 1 1 1 1 Parity Data Bandwidth Array Parity computed horizontally Logically a single high data bw disk High I/O Rate Parity Array Interleaved parity blocks Independent reads and writes Logical write = 2 reads + 2 writes

Levels of RAID 6 levels of RAID (0-5) have been accepted by industry Other kinds have been proposed in literature, Level 6 (P+Q Redundancy), Level 10, etc. Level 2 and 4 are not commercially available, they are included for clarity

RAID 0: Nonredundant Best write performance file data block 1 block 0 Disk 1 Disk 0 Disk 2 Disk 3 Best write performance due to no updating redundancy information Not best read performance Redundancy schemes can schedule requests on the disks with shortest queue and disk seek time

RAID 1: Disk Mirroring/Shadowing recovery group Each disk is fully duplicated onto its "shadow" Very high availability can be achieved Bandwidth sacrifice on write: Logical write = two physical writes Reads may be optimized minimize the queue and disk search time Most expensive solution: 100% capacity overhead Targeted for high I/O rate , high availability environments

RAID 2: Memory-Style ECC f0(b) b2 b1 b0 b3 f1(b) P(b) Data Disks Multiple ECC Disks and a Parity Disk Multiple disks record the ECC information to determine which disk is in fault A parity disk is then used to reconstruct corrupted or lost data Needs log2(number of disks) redundancy disks

RAID 3: Bit Interleaved Parity 10010011 11001101 . . . Logical record 1 0 0 1 0 0 1 1 0 1 1 0 0 1 1 0 1 1 Striped physical records P Physical record Only need one parity disk Write/Read accesses all disks Only one request can be serviced at a time Provides high bandwidth but not high I/O rates Targeted for high bandwidth applications: Multimedia, Image Processing

RAID 4: Block Interleaved Parity Allow for parallel access by multiple I/O requests Doing multiple small reads is now faster than before. Large writes (full stripe), update the parity: P’ = d0’ + d1’ + d2’ + d3’; Small writes (eg. write on d0), update the parity: P = d0 + d1 + d2 + d3 P’ = d0’ + d1 + d2 + d3 = P + d0’ + d0; However, writes are still very slow since the parity disk is the bottleneck.

RAID 4: Small Writes Small Write Algorithm 1 Logical Write = 2 Physical Reads + 2 Physical Writes D0' D0 D1 D2 D3 P new data old data old parity (1. Read) (2. Read) + XOR + XOR (3. Write) (4. Write) D0' D1 D2 D3 P'

RAID 5: Block Interleaved Distributed-Parity Left Symmetric Distribution Parity disk = (block number/4) mod 5 Eliminate the parity disk bottleneck of RAID 4 Best small read, large read and large write performance Can correct any single self-identifying failure Small logical writes take two physical reads and two physical writes. Recovering needs reading all non-failed disks

Single disk failure tolerant array A RAID5 array: Rotated block interleaved parity (Left-Symmetric) P0-4 = D0  D1  D2  D3  D4 (definition) P0-4new = D1new  D1old  P0-4old (update) D0 = D1  D2  D3  D4  P0-4 (reconstruct)

Single disk failure tolerant array

RAID 6: P + Q Redundancy block 0 block 4 block 7 block 10 P(12-15) block 1 block 5 block 8 P(10-12) Q(1 5 8...) block 2 block 6 P(7-9) Q(2 6 13 ...) block 13 block 3 P(4-6) Q(3 11 14 ...) block 11 block 14 P(0-3) Q(9 12 15 ...) block 9 block 12 block 15 Q(0 4 7 ...) An extension to RAID 5 but with two-dimensional parity. Each row has P parity and each row has Q parity. (Reed-Solomon Codes) Has an extremely high data fault tolerance and can sustain multiple simultaneous drive failures Rarely implemented More information, please see the paper: A tutorial on Reed-Solomon Coding for Fault Tolerance in RAID-like Systems

Comparison of RAID Levels Throughput per Dollar Relative to RAID Level 0   Small Read Small Write Large Read Large Write Storage Efficiency RAID 0 1 RAID 1 1/2 RAID 3 1/G (G-1)/G RAID 5 max(1/G,1/4) Raid 6 (G-2)/G G refers to the number of disks in an error correction group.