RAID. RAID 0 No redundancy ( AID?) Just stripe data over multiple disks But it does improve performance. Chapter 6 Storage and Other I/O Topics 29



Similar documents
1 Storage Devices Summary

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

Disk Storage & Dependability

Price/performance Modern Memory Hierarchy

Lecture 36: Chapter 6

Input / Ouput devices. I/O Chapter 8. Goals & Constraints. Measures of Performance. Anatomy of a Disk Drive. Introduction - 8.1

CS 6290 I/O and Storage. Milos Prvulovic

RAID Performance Analysis

Big Picture. IC220 Set #11: Storage and I/O I/O. Outline. Important but neglected

Operating Systems. RAID Redundant Array of Independent Disks. Submitted by Ankur Niyogi 2003EE20367

File System & Device Drive. Overview of Mass Storage Structure. Moving head Disk Mechanism. HDD Pictures 11/13/2014. CS341: Operating System

SSDs and RAID: What s the right strategy. Paul Goodwin VP Product Development Avant Technology

RAID: Redundant Arrays of Independent Disks

Storing Data: Disks and Files

Data Storage - II: Efficient Usage & Errors

Reliability and Fault Tolerance in Storage

Chapter 10: Mass-Storage Systems

Lecture 23: Multiprocessors

Input/output (I/O) I/O devices. Performance aspects. CS/COE1541: Intro. to Computer Architecture. Input/output subsystem.

Sistemas Operativos: Input/Output Disks

Quiz for Chapter 6 Storage and Other I/O Topics 3.10

Storage. The text highlighted in green in these slides contain external hyperlinks. 1 / 14

CS 61C: Great Ideas in Computer Architecture. Dependability: Parity, RAID, ECC

CPS104 Computer Organization and Programming Lecture 18: Input-Output. Robert Wagner

Communicating with devices

Agenda. Enterprise Application Performance Factors. Current form of Enterprise Applications. Factors to Application Performance.

HP Smart Array Controllers and basic RAID performance factors

Introduction to I/O and Disk Management

System Architecture. CS143: Disks and Files. Magnetic disk vs SSD. Structure of a Platter CPU. Disk Controller...

Introduction Disks RAID Tertiary storage. Mass Storage. CMSC 412, University of Maryland. Guest lecturer: David Hovemeyer.

Disks and RAID. Profs. Bracy and Van Renesse. based on slides by Prof. Sirer

technology brief RAID Levels March 1997 Introduction Characteristics of RAID Levels

Why disk arrays? CPUs speeds increase faster than disks. - Time won t really help workloads where disk in bottleneck

Cloud Storage. Parallels. Performance Benchmark Results. White Paper.

Fault Tolerance & Reliability CDA Chapter 3 RAID & Sample Commercial FT Systems

How To Improve Performance On A Single Chip Computer

IBM ^ xseries ServeRAID Technology

Database Management Systems

Chapter 12: Mass-Storage Systems

Architecting High-Speed Data Streaming Systems. Sujit Basu

Dependable Systems. 9. Redundant arrays of. Prof. Dr. Miroslaw Malek. Wintersemester 2004/05

Chapter 9: Peripheral Devices: Magnetic Disks

COS 318: Operating Systems. Storage Devices. Kai Li Computer Science Department Princeton University. (

How To Create A Multi Disk Raid

2009 Oracle Corporation 1

RAID HARDWARE. On board SATA RAID controller. RAID drive caddy (hot swappable) SATA RAID controller card. Anne Watson 1

Definition of RAID Levels

Benchmarking Cassandra on Violin

RAID 5 rebuild performance in ProLiant

Why disk arrays? CPUs improving faster than disks

COS 318: Operating Systems. Storage Devices. Kai Li and Andy Bavier Computer Science Department Princeton University

Q & A From Hitachi Data Systems WebTech Presentation:

How To Write A Disk Array

An Introduction to RAID. Giovanni Stracquadanio

Best Practices for Optimizing SQL Server Database Performance with the LSI WarpDrive Acceleration Card

DELL TM PowerEdge TM T Mailbox Resiliency Exchange 2010 Storage Solution

TECHNOLOGY BRIEF. Compaq RAID on a Chip Technology EXECUTIVE SUMMARY CONTENTS

RAID technology and IBM TotalStorage NAS products

How SSDs Fit in Different Data Center Applications

DELL RAID PRIMER DELL PERC RAID CONTROLLERS. Joe H. Trickey III. Dell Storage RAID Product Marketing. John Seward. Dell Storage RAID Engineering

Chapter 6 External Memory. Dr. Mohamed H. Al-Meer

enabling Ultra-High Bandwidth Scalable SSDs with HLnand

Distribution One Server Requirements

Education. Servicing the IBM ServeRAID-8k Serial- Attached SCSI Controller. Study guide. XW5078 Release 1.00

Intel Solid- State Drive Data Center P3700 Series NVMe Hybrid Storage Performance

CS420: Operating Systems

Deep Dive: Maximizing EC2 & EBS Performance

Arrow ECS sp. z o.o. Oracle Partner Academy training environment with Oracle Virtualization. Oracle Partner HUB

Firebird and RAID. Choosing the right RAID configuration for Firebird. Paul Reeves IBPhoenix. mail:

Chapter 7. Disk subsystem

RAID Overview: Identifying What RAID Levels Best Meet Customer Needs. Diamond Series RAID Storage Array

OpenSPARC T1 Processor

VTrak SATA RAID Storage System

Summer Student Project Report

PIONEER RESEARCH & DEVELOPMENT GROUP

Oracle Exadata: The World s Fastest Database Machine Exadata Database Machine Architecture

Systems Infrastructure for Data Science. Web Science Group Uni Freiburg WS 2014/15

PCIe Over Cable Provides Greater Performance for Less Cost for High Performance Computing (HPC) Clusters. from One Stop Systems (OSS)

California Software Labs

CS161: Operating Systems

DIABLO TECHNOLOGIES MEMORY CHANNEL STORAGE AND VMWARE VIRTUAL SAN : VDI ACCELERATION

Maximizing SQL Server Virtualization Performance

COSC 6374 Parallel Computation. Parallel I/O (I) I/O basics. Concept of a clusters

Striped Set, Advantages and Disadvantages of Using RAID

Computer Architecture Prof. Mainak Chaudhuri Department of Computer Science and Engineering Indian Institute of Technology, Kanpur

Computer Systems Structure Input/Output

EMC XtremSF: Delivering Next Generation Performance for Oracle Database

OBJECTIVE ANALYSIS WHITE PAPER MATCH FLASH. TO THE PROCESSOR Why Multithreading Requires Parallelized Flash ATCHING

CS 153 Design of Operating Systems Spring 2015

RAID Storage, Network File Systems, and DropBox

Windows Server Performance Monitoring

LS DYNA Performance Benchmarks and Profiling. January 2009

Converged storage architecture for Oracle RAC based on NVMe SSDs and standard x86 servers

PARALLELS CLOUD STORAGE

Best Practices RAID Implementations for Snap Servers and JBOD Expansion

Transcription:

RAID Redundant Array of Inexpensive (Independent) Disks Use multiple smaller disks (c.f. one large disk) Parallelism improves performance Plus extra disk(s) for redundant data storage Provides fault tolerant storage system Especially if failed disks can be hot swapped RAID 0 No redundancy ( AID?) Just stripe data over multiple disks But it does improve performance Chapter 6 Storage and Other I/O Topics 29

RAID 1 & 2 RAID 1: Mirroring N + N disks, replicate data Write data to both data disk and mirror disk On disk failure, read from mirror RAID 2: Error correcting code (ECC) N + E disks (e.g., 10 + 4) Split data at bit level across N disks Generate E-bit ECC Too complex, not used in practice Chapter 6 Storage and Other I/O Topics 30

RAID 3: Bit-Interleaved Parity N + 1 disks Data striped across N disks at byte level Redundant disk stores parity Read access Read all disks Write access Generate new parity and update all disks On failure Use parity to reconstruct missing data Not widely used Chapter 6 Storage and Other I/O Topics 31

RAID 4: Block-Interleaved Parity N + 1 disks Data striped across N disks at block level Redundant disk stores parity for a group of blocks Read access Read only the disk holding the required block Write access Just read disk containing modified block, and parity disk Calculate new parity, update data disk and parity disk On failure Use parity to reconstruct missing data Not widely used Chapter 6 Storage and Other I/O Topics 32

RAID 3 vs RAID 4 Chapter 6 Storage and Other I/O Topics 33

RAID 5: Distributed Parity N + 1 disks Like RAID 4, but parity blocks distributed across disks Avoids parity disk being a bottleneck Widely used Chapter 6 Storage and Other I/O Topics 34

RAID 6: P + Q Redundancy N + 2 disks Like RAID 5, but two lots of parity Greater fault tolerance through more redundancy Multiple RAID More advanced systems give similar fault tolerance with better performance Chapter 6 Storage and Other I/O Topics 35

RAID Summary RAID can improve performance and availability High availability requires hot swapping Assumes independent disk failures Too bad if the building burns down! See Hard Disk Performance, Quality and Reliability http://www.pcguide.com/ref/hdd/perf/index.htm Chapter 6 Storage and Other I/O Topics 36

I/O System Design Satisfying latency requirements For time-critical operations If system is unloaded Add up latency of components Maximizing throughput Find weakest link (lowest-bandwidth component) Configure to operate at its maximum bandwidth Balance remaining components in the system If system is loaded, simple analysis is insufficient Need to use queuing models or simulation 6.8 Designing and I/O System Chapter 6 Storage and Other I/O Topics 37

Server Computers Applications are increasingly run on servers Web search, office apps, virtual worlds, Requires large data center servers Multiple processors, networks connections, massive storage Space and power constraints Server equipment built for 19 racks Multiples of 1.75 (1U) high 6.10 Real Stuff: Sun Fire x4150 Server Chapter 6 Storage and Other I/O Topics 38

Rack-Mounted Servers Sun Fire x4150 1U server Chapter 6 Storage and Other I/O Topics 39

Sun Fire x4150 1U server 4 cores each 16 x 4GB = 64GB DRAM Chapter 6 Storage and Other I/O Topics 40

I/O System Design Example Given a Sun Fire x4150 system with Workload: 64KB disk reads Each I/O op requires 200,000 user-code instructions and 100,000 OS instructions Each CPU: 10 9 instructions/sec FSB: 10.6 GB/sec peak DRAM DDR2 667MHz: 5.336 GB/sec PCI-E 8 bus: 8 250MB/sec = 2GB/sec Disks: 15,000 rpm, 2.9ms avg. seek time, 112MB/sec transfer rate What I/O rate can be sustained? For random reads, and for sequential reads Chapter 6 Storage and Other I/O Topics 41

Design Example (cont) I/O rate for CPUs Per core: 10 9 /(100,000 + 200,000) = 3,333 8 cores: 26,667 ops/sec Random reads, I/O rate for disks Assume actual seek time is average/4 Time/op = seek + latency + transfer = 2.9ms/4 + 4ms/2 + 64KB/(112MB/s) = 3.3ms 303 ops/sec per disk, 2424 ops/sec for 8 disks Sequential reads 112MB/s / 64KB = 1750 ops/sec per disk 14,000 ops/sec for 8 disks Chapter 6 Storage and Other I/O Topics 42

Design Example (cont) PCI-E I/O rate 2GB/sec / 64KB = 31,250 ops/sec DRAM I/O rate 5.336 GB/sec / 64KB = 83,375 ops/sec FSB I/O rate Assume we can sustain half the peak rate 5.3 GB/sec / 64KB = 81,540 ops/sec per FSB 163,080 ops/sec for 2 FSBs Weakest link: disks 2424 ops/sec random, 14,000 ops/sec sequential Other components have ample headroom to accommodate these rates Chapter 6 Storage and Other I/O Topics 43

Fallacy: Disk Dependability If a disk manufacturer quotes MTTF as 1,200,000hr (140yr) A disk will work that long Wrong: this is the mean time to failure What is the distribution of failures? What if you have 1000 disks How many will fail per year? 6.12 Fallacies and Pitfalls 1000 disks 8760 hrs/disk Annual Failure Rate (AFR) = = 1200000 hrs/failure 0.73% Chapter 6 Storage and Other I/O Topics 44

Fallacies Disk failure rates are as specified Studies of failure rates in the field Schroeder and Gibson: 2% to 4% vs. 0.6% to 0.8% Pinheiro, et al.: 1.7% (first year) to 8.6% (third year) vs. 1.5% Why? A 1GB/s interconnect transfers 1GB in one sec But what s a GB? For bandwidth, use 1GB = 10 9 B For storage, use 1GB = 2 30 B = 1.075 10 9 B So 1GB/sec is 0.93GB in one second About 7% error Chapter 6 Storage and Other I/O Topics 45

Pitfall: Offloading to I/O Processors Overhead of managing I/O processor request may dominate Quicker to do small operation on the CPU But I/O architecture may prevent that I/O processor may be slower Since it s supposed to be simpler Making it faster makes it into a major system component Might need its own coprocessors! Chapter 6 Storage and Other I/O Topics 46

Pitfall: Backing Up to Tape Magnetic tape used to have advantages Removable, high capacity Advantages eroded by disk technology developments Makes better sense to replicate data E.g, RAID, remote mirroring Chapter 6 Storage and Other I/O Topics 47

Fallacy: Disk Scheduling Best to let the OS schedule disk accesses But modern drives deal with logical block addresses Map to physical track, cylinder, sector locations Also, blocks are cached by the drive OS is unaware of physical locations Reordering can reduce performance Depending on placement and caching Chapter 6 Storage and Other I/O Topics 48

Pitfall: Peak Performance Peak I/O rates are nearly impossible to achieve Usually, some other system component limits performance E.g., transfers to memory over a bus Collision with DRAM refresh Arbitration contention with other bus masters E.g., PCI bus: peak bandwidth ~133 MB/sec In practice, max 80MB/sec sustainable Chapter 6 Storage and Other I/O Topics 49

Concluding Remarks I/O performance measures Throughput, response time Dependability and cost also important Buses used to connect CPU, memory, I/O controllers Polling, interrupts, DMA I/O benchmarks TPC, SPECSFS, SPECWeb RAID Improves performance and dependability 6.13 Concluding Remarks Chapter 6 Storage and Other I/O Topics 50