Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.

Slides:



Advertisements
Similar presentations
Disk Arrays COEN 180. Large Storage Systems Collection of disks to store large amount of data. Performance advantage: Each drive can satisfy only so many.
Advertisements

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.
CS224 Spring 2011 Computer Organization CS224 Chapter 6A: Disk Systems With thanks to M.J. Irwin, D. Patterson, and J. Hennessy for some lecture slide.
Faculty of Information Technology Department of Computer Science Computer Organization Chapter 7 External Memory Mohammad Sharaf.
RAID Redundant Array of Independent Disks
CSCE430/830 Computer Architecture
“Redundant Array of Inexpensive Disks”. CONTENTS Storage devices. Optical drives. Floppy disk. Hard disk. Components of Hard disks. RAID technology. Levels.
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)
CSE 486/586 CSE 486/586 Distributed Systems Case Study: Facebook f4 Steve Ko Computer Sciences and Engineering University at Buffalo.
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)
CSCE 212 Chapter 8 Storage, Networks, and Other Peripherals Instructor: Jason D. Bakos.
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.
CS 430 – Computer Architecture Disks
Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,
Computer ArchitectureFall 2007 © November 28, 2007 Karem A. Sakallah Lecture 24 Disk IO and RAID CS : Computer Architecture.
Other Disk Details. 2 Disk Formatting After manufacturing disk has no information –Is stack of platters coated with magnetizable metal oxide Before use,
First magnetic disks, the IBM 305 RAMAC (2 units shown) introduced in One platter shown top right. A RAMAC stored 5 million characters on inch.
CS61C L40 I/O: Disks (1) Garcia, Fall 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine Structures.
Computer ArchitectureFall 2008 © November 12, 2007 Nael Abu-Ghazaleh Lecture 24 Disk IO.
Disk Technologies. Magnetic Disks Purpose: – Long-term, nonvolatile, inexpensive storage for files – Large, inexpensive, slow level in the memory hierarchy.
S.1 Review: Major Components of a Computer Processor Control Datapath Memory Devices Input Output Cache Main Memory Secondary Memory (Disk)
CS 61C L41 I/O Disks (1) Garcia, Spring 2004 © UCB Lecturer PSOE Dan Garcia inst.eecs.berkeley.edu/~cs61c CS61C : Machine.
Today: External Memory Thurs: Computer Busses Final Exam Discussion Don’t Forget to clean up your Breadboard Recall: Technology Access Time Cost/GB SRAM.
RAID Systems CS Introduction to Operating Systems.
Servers Redundant Array of Inexpensive Disks (RAID) –A group of hard disks is called a disk array FIGURE Server with redundant NICs.
CS 61C: Great Ideas in Computer Architecture (Machine Structures) Lecture 39: IO Disks Instructor: Dan Garcia 1.
Lecture 11: Storage Systems Disk, RAID, Dependability Kai Bu
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.
Computer Organization CS224 Fall 2012 Lesson 51. Measuring I/O Performance  I/O performance depends on l Hardware: CPU, memory, controllers, buses l.
Lecture 11: Storage Systems Disk, RAID, Dependability Kai Bu
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 Shuli Han COSC 573 Presentation.
Storage & Peripherals Disks, Networks, and Other Devices.
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.
CSE 321b Computer Organization (2) تنظيم الحاسب (2) 3 rd year, Computer Engineering Winter 2015 Lecture #4 Dr. Hazem Ibrahim Shehata Dept. of Computer.
RAID Storage EEL4768, Fall 2009 Dr. Jun Wang Slides Prepared based on D&P Computer Architecture textbook, etc.
Redundant Array of Independent Disks
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.
CSE431 Chapter 6A.1Irwin, PSU, 2008 CSE 431 Computer Architecture Fall 2008 Chapter 6A: Disk Systems Mary Jane Irwin ( )
CSE431 Chapter 6A.1Irwin, PSU, 2008 Chapter 6A: Disk Systems Mary Jane Irwin ( ) [Adapted from Computer Organization.
I/O – Chapter 8 Introduction Disk Storage and Dependability – 8.2 Buses and other connectors – 8.4 I/O performance measures – 8.6.
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.
Redundant Array of Inexpensive Disks aka Redundant Array of Independent Disks (RAID) Modified from CCT slides.
RAID REDUNDANT ARRAY OF INEXPENSIVE DISKS. Why RAID?
Storage. 10/20/20152 Case for Storage Shift in focus from computation to communication and storage of information –E.g., Cray Research/Thinking Machines.
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.
CS 136, Advanced Architecture Storage. CS136 2 Case for Storage Shift in focus from computation to communication and storage of information –E.g., Cray.
Disk Storage SystemsCSCE430/830 Disk Storage Systems CSCE430/830 Computer Architecture Lecturer: Prof. Hong Jiang Courtesy of Yifeng Zhu (U. Maine) Fall,
1 Lecture 27: Disks Today’s topics:  Disk basics  RAID  Research topics.
Lecture 11: Storage Systems Disk, RAID, Dependability Kai Bu
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
CMPE Database Systems Workshop June 16 Class Meeting
A Case for Redundant Arrays of Inexpensive Disks (RAID)
Multiple Platters.
Vladimir Stojanovic & Nicholas Weaver
IT 251 Computer Organization and Architecture
ICOM 6005 – Database Management Systems Design
Mark Zbikowski and Gary Kimura
CSE 451: Operating Systems Winter 2007 Module 18 Redundant Arrays of Inexpensive Disks (RAID) Ed Lazowska Allen Center 570.
RAID RAID Mukesh N Tekwani April 23, 2019
IT 344: Operating Systems Winter 2007 Module 18 Redundant Arrays of Inexpensive Disks (RAID) Chia-Chi Teng CTB
Presentation transcript:

Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department Computer System Architecture ESGD2204 Saturday, 23 rd April 2010 Chapter 8 Lecture 14

Chapter 7 Storage Systems

Outline Magnetic Disks RAID Advanced Dependability/Reliability/Availability I/O Benchmarks, Performance and Dependability Conclusion

Storage Hierarchy Third Level - I/O (Disks)

I/O (Disk) Performance

Disk Parameters

Disk Performance

Disk Performance Example

Disk Performance: Queuing Theory

Extensions to Conventional Disks

More Extensions to Conventional Disks

Disk Figure of Merit: Areal Density Bits recorded along a track –Metric is Bits Per Inch (BPI) Number of tracks per surface –Metric is Tracks Per Inch (TPI) Disk Designs Brag about bit density per unit area –Metric is Bits Per Square Inch: Areal Density = BPI x TPI B i t s / s q. i n.

Historical Perspective 1956 IBM Ramac IBM Dual CPU Disk - early 1970s Winchester –Developed for mainframe computers, proprietary interfaces, ‘63.25MB 50 in. platter –Steady shrink in form factor: 27 in. to 14 in. Form factor and capacity drives market more than performance 1970s developments –8 inch => 5.25 inch floppy disk form-factor (microcode into mainframe) –Emergence of industry standard disk interfaces Early 1980s: PCs and first generation workstations Mid 1980s: Client/server computing –Centralized storage on file server »accelerates hard disk downsizing: 8 inch to 5.25 inch –Mass market disk drives become a reality »industry standards: SCSI, IPI (Intelligent Peripheral Interface), IDE »5.25 inch to 3.5 inch drives for PCs, End of proprietary interfaces 1990s: Laptops => 2.5 inch drives 2000s: What new devices leading to new drives? (iPhones)

Case for Storage Shift in focus from computation to communication and storage of information –E.g., Cray Research/Thinking Machines vs. Google/Yahoo –“The Computing Revolution” (1960s to 1980s)  “The Information Age” (1990 to today) Storage emphasizes reliability and scalability as well as cost-performance What is “the software king” that determines which HW features actually used? –Operating System for storage –Compiler for processor Also has its own performance theory—queuing theory—balances throughput vs. response time

Use Arrays of Small Disks? 14” 10”5.25”3.5” Disk Array: 1 disk design Conventional: 4 disk designs Low End High End Randy Katz and Dave Patterson in 1987: Can smaller disks be used to close gap in performance between disks and CPUs?

Replace Small Number of Large Disks with Large Number of Small Disks! (1988 Disks) Capacity Volume Power Data Rate I/O Rate MTTF Cost IBM 3390K 20 GBytes 97 cu. ft. 3 KW 15 MB/s 600 I/Os/s 250 KHrs $250K IBM 3.5" MBytes 0.1 cu. ft. 11 W 1.5 MB/s 55 I/Os/s 50 KHrs $2K x70=>RAID 23 GBytes 11 cu. ft. 1 KW 120 MB/s 3900 IOs/s ??? Hrs $150K Disk Arrays have potential for large data and I/O rates, high MB per cu. ft., high MB per KW, but what about reliability? 9X 3X 8X 6X 1.7X

Array Reliability Reliability of N disks = Reliability of 1 Disk ÷ N 50,000 Hours ÷ 70 disks = 700 hours (~9K hrs/yr) Disk system MTTF: Drops from 6 years to 1 month! Arrays (without redundancy) too unreliable to be useful! Hot spares support reconstruction in parallel with access: very high media availability can be achieved Hot spares support reconstruction in parallel with access: very high media availability can be achieved

R edundant A rrays of I nexpensive D isks Newer RAID Slides F09 Files are "striped" across multiple disks Redundancy yields high data availability –Availability: service still provided to user, even if some components have failed Disks will still fail Contents reconstructed from data redundantly stored in the array  Capacity penalty to store redundant info  Bandwidth penalty to update redundant info

RAIDs: Disk Arrays  Arrays of small and inexpensive disks - Increase potential throughput by having many disk drives -Data is spread over multiple disk -Multiple accesses are made to several disks at a time  Reliability is lower than a single disk  But availability can be improved by adding redundant disks (RAID) l Lost information can be reconstructed from redundant information l MTTR: mean time to repair is in the order of hours l MTTF: mean time to failure of disks is tens of years Redundant Array of Inexpensive Disks

RAID: Level 0 (No Redundancy; Striping)  Multiple smaller disks as opposed to one big disk l Spreading the sector over multiple disks – striping – means that multiple blocks can be accessed in parallel increasing the performance -A 4 disk system gives four times the throughput of a 1 disk system l Same cost as one big disk – assuming 4 small disks cost the same as one big disk  No redundancy, so what if one disk fails? l Failure of one or more disks is more likely as the number of disks in the system increases sec1sec3sec2sec4 sec1,b0sec1,b2sec1,b1sec1,b3

RAID: Level 1 (Redundancy via Mirroring)  Uses twice as many disks as RAID 0 (e.g., 8 smaller disks with the second set of 4 duplicating the first set) so there are always two copies of the data l # redundant disks = # of data disks so twice the cost of one big disk -writes have to be made to both sets of disks, so writes will be only 1/2 the performance of a RAID 0  What if one disk fails? l If a disk fails, the system just goes to the “mirror” for the data redundant (check) data sec1sec3sec2sec4sec1sec3sec2sec4

RAID: Level 0+1 (Striping with Mirroring)  Combines the best of RAID 0 and RAID 1, data is striped across four disks and mirrored to four disks, called “a mirror of stripes” or RAID 01, but may be marketed as “RAID 10” l + Four times the throughput (due to striping) l - # redundant disks = # of data disks, so 2X the cost of one big disk l - writes have to be made to both sets of disks, so writes will be only 1/2 the performance of RAID 0  What if one disk fails? l + If a disk fails, the system just goes to the “mirror” for the data sec1blk3blk2blk4blk1blk2blk3blk4 redundant (check) data sec1,b0sec1,b2sec1,b1sec1,b3sec1,b0sec1,b2sec1,b1sec1,b3

RAID: Level 2 (Redundancy via Hamming ECC)  ECC (Hamming Error Correcting Code) disks contain the even-parity of data on a set of distinct overlapping disks l # ECC redundant disks = log 2 (total # of data + ECC disks) so almost twice the cost of one big disk if small # of data disks used. -writes require computing parity to write to “half” the ECC disks -reads require reading “half” the ECC disks and confirming parity  Can tolerate limited disk failure, since the data can be reconstructed; first correction method; no longer used. sec1,b0sec1,b2sec1,b1sec1,b3 Checks 4,5,6,7 Checks 2,3,6,7 Checks 1,3,5, ECC disks ECC disks 4 and 2 point to either data disk 6 or 7 as being bad, but ECC disk 1 says disk 7 is okay, so disk 6 must be in error ECC: 421 Why it works. 0 error

RAID: Level 3 (Bit-Interleaved Parity)  Cost of higher availability is reduced to 1/N where N is the number of disks in a protection group l # redundant disks = 1 × # of protection groups -writes require writing the new data to the data disk as well as computing the parity, meaning reading the other disks, so that the parity disk can be updated  Can tolerate limited (single) disk failure, since the data can be reconstructed -reads require reading all the operational data disks as well as the parity disk to calculate the missing data that was stored on the failed disk sec1,b0sec1,b2sec1,b1sec1,b (odd) bit parity disk 

RAID: Level 3 (Bit-Interleaved Parity)  Cost of higher availability is reduced to 1/N where N is the number of disks in a protection group l # redundant disks = 1 × # of protection groups -writes require writing the new data to the data disk as well as computing the parity, meaning reading the other disks, so that the parity disk can be updated  Can tolerate limited (single) disk failure, since the data can be reconstructed -reads require reading all the operational data disks as well as the parity disk to calculate the missing data that was stored on the failed disk sec1,b0sec1,b2sec1,b1sec1,b (odd) bit parity disk disk fails 1  0

RAID: Level 4 (Block-Interleaved Parity)  Cost of higher availability still only 1/N but the parity is stored as blocks associated with sets of data blocks l Four times the throughput (striping) l # redundant disks = 1 × # of protection groups l Supports “small reads” and “small writes” (reads and writes that go to just one (or a few) data disk in a protection group) -by watching which bits change when writing new information, need only to change the corresponding bits on the parity disk -the parity disk must be updated on every write, so it is a bottleneck for back-to-back writes  Can tolerate limited (single) disk failure, since the data can be reconstructed block parity disk sec1sec2sec3sec4

Small Writes  RAID 3 writes New D1 data D1D2D3D4P D1D2D3D4P  3 reads and 2 writes involving all the disks  RAID 4 small writes New D1 data D1D2D3D4P D1D2D3D4P 2 reads and 2 writes involving just two disks  

RAID: Level 5 (Distributed Block-Interleaved Parity)  Cost of higher availability still only 1/N but any single parity block may be located on any of the disks so there is no single bottleneck for writes l Still four times the throughput (striping) l # redundant disks = 1 × # of protection groups l Supports “small reads” and “small writes” (reads and writes that go to just one (or a few) data disk in a protection group) l Allows multiple simultaneous writes as long as the accompanying parity blocks are not located on the same disk  Can tolerate limited (single) disk failure, since the data can be reconstructed one of these assigned as the block parity disk

Distributing Parity Blocks  By distributing parity blocks to all disks, some small writes can be performed in parallel using RAID P P P P3 RAID 4RAID P P P P Time Can be done in parallel Bottle- neck