Price/performance Modern Memory Hierarchy

Similar documents
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

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

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

Lecture 36: Chapter 6

CS 6290 I/O and Storage. Milos Prvulovic

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

1 Storage Devices Summary

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

Introduction to I/O and Disk Management

Sistemas Operativos: Input/Output Disks

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

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

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

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

Solid State Drive Architecture

Storing Data: Disks and Files

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

Reliability and Fault Tolerance in Storage

Data Storage - II: Efficient Usage & Errors

CS 464/564 Introduction to Database Management System Instructor: Abdullah Mueen

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

William Stallings Computer Organization and Architecture 7 th Edition. Chapter 6 External Memory

Chapter 9: Peripheral Devices: Magnetic Disks

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

How To Improve Performance On A Single Chip Computer

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

Chapter 10: Mass-Storage Systems

William Stallings Computer Organization and Architecture 8 th Edition. External Memory

Communicating with devices

Lecture 16: Storage Devices

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

Data Storage II. Prof. Ing. Pavel Tvrdík CSc. Ing. Jiří Kašpar

Outline. CS 245: Database System Principles. Notes 02: Hardware. Hardware DBMS Data Storage

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

CS161: Operating Systems

HP Smart Array Controllers and basic RAID performance factors

Storing Data: Disks and Files. Disks and Files. Why Not Store Everything in Main Memory? Chapter 7

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

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

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

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture

Lecture 23: Multiprocessors

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

CS420: Operating Systems

Flash for Databases. September 22, 2015 Peter Zaitsev Percona

Q & A From Hitachi Data Systems WebTech Presentation:

HARD DRIVE CHARACTERISTICS REFRESHER

CS 153 Design of Operating Systems Spring 2015

Taking Linux File and Storage Systems into the Future. Ric Wheeler Director Kernel File and Storage Team Red Hat, Incorporated

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

Data Storage - I: Memory Hierarchies & Disks

Database Management Systems

Intel RAID Controllers

Chapter 2 - Computer Organization

technology brief RAID Levels March 1997 Introduction Characteristics of RAID Levels

Chapter 12: Mass-Storage Systems

High-Performance SSD-Based RAID Storage. Madhukar Gunjan Chakhaiyar Product Test Architect

Devices and Device Controllers

RAID Performance Analysis

Computer Systems Structure Main Memory Organization

Hard Disk Drives and RAID

How To Create A Multi Disk Raid

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

Data Storage and Backup. Sanjay Goel School of Business University at Albany, SUNY

Indexing on Solid State Drives based on Flash Memory

QuickSpecs. HP Smart Array 5312 Controller. Overview

Data Distribution Algorithms for Reliable. Reliable Parallel Storage on Flash Memories

IBM ^ xseries ServeRAID Technology

Distribution One Server Requirements

What is RAID--BASICS? Mylex RAID Primer. A simple guide to understanding RAID

Platter. Track. Index Mark. Disk Storage. PHY 406F - Microprocessor Interfacing Techniques

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

Outline. Principles of Database Management Systems. Memory Hierarchy: Capacities and access times. CPU vs. Disk Speed

Version : 1.0. SR3620-2S-SB2 User Manual. SOHORAID Series

RAID Technology Overview

DELL TM PowerEdge TM T Mailbox Resiliency Exchange 2010 Storage Solution

760 Veterans Circle, Warminster, PA Technical Proposal. Submitted by: ACT/Technico 760 Veterans Circle Warminster, PA

Mass Storage Structure

Architecting High-Speed Data Streaming Systems. Sujit Basu

Definition of RAID Levels

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

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

Best Practices RAID Implementations for Snap Servers and JBOD Expansion

RAID Levels and Components Explained Page 1 of 23

Lecture 9: Memory and Storage Technologies

HP Smart Array 5i Plus Controller and Battery Backed Write Cache (BBWC) Enabler

California Software Labs

Flash s Role in Big Data, Past Present, and Future OBJECTIVE ANALYSIS. Jim Handy

Enterprise-class versus Desktopclass

COMP 7970 Storage Systems

Chapter 7 Types of Storage. Discovering Computers Your Interactive Guide to the Digital World

RAID: Redundant Arrays of Independent Disks

Secondary Storage. Any modern computer system will incorporate (at least) two levels of storage: magnetic disk/optical devices/tape systems

RAID 5 rebuild performance in ProLiant

Accelerating I/O- Intensive Applications in IT Infrastructure with Innodisk FlexiArray Flash Appliance. Alex Ho, Product Manager Innodisk Corporation

Transcription:

Lecture 21: Storage Administration Take QUIZ 15 over P&H 6.1-4, 6.8-9 before 11:59pm today Project: Cache Simulator, Due April 29, 2010 NEW OFFICE HOUR TIME: Tuesday 1-2, McKinley Last Time Exam discussion Today Reliable and Available Storage Memory technology Disk Flash UTCS 352, Lecture 21 1 CPU Chip Chips Mechanical Price/performance Modern Memory Hierarchy CPU Year: 2010 Registers Level 1 Cache Level 2 Cache DRAM Disk Tape SRAM Cache access time: 0.5-2.5ns cost: ~$5000 per GB DRAM Memory access time: 50-70ns cost: ~$20-75 per GB Flash Memory access time: 70-150ns cost: ~$4-12 per GB Magnetic Disk access time: 5-20ms cost: ~$0.02-2.0 per GB UTCS 352, Lecture 21 2 1

1000.00 Historical Perspective on Processor/Memory Gap 100.00 0.75 0.96 1.6 2.6 4 10 23 45 88 nanoseconds 10.00 1.00 Processor Memory 0.10 1970 1975 1980 1985 1990 1995 2000 2005 UTCS 352, Lecture 21 3 How do disks & other I/O devices fit in to the system architecture? Disk & other I/O device characteristics Behavior: input, output, storage Partner: human or machine Data rate: bytes/sec, transfers/sec UTCS 352, Lecture 21 4 2

Disk Storage Nonvolatile, rotating magnetic storage UTCS 352, Lecture 21 5 What do we want from disk storage? Reliability! Down time is a pain, but permanent data loss is a disaster Analogy: oil change versus a car crash Performance! Latency (response time) Throughput (bandwidth) UTCS 352, Lecture 21 6 3

Reliability Service accomplishment Service delivered as specified Fault: component failure May or may not lead to system failure Restoration Failure Service interruption Deviation from specified service UTCS 352, Lecture 21 7 We can measure availability Component Reliability: mean time to failure (MTTF) Service interruption: mean time to repair (MTTR) Mean time between failures MTBF = MTTF + MTTR Availability = MTTF / (MTTF + MTTR) Examples: MTTF = 1,000,000 hours (from vendor specs) Availability = 99.5% MTTF = 300,000 hours (Schroeder & Gibson 2007, Google) Availability = 98 to 87% UTCS 352, Lecture 21 8 4

Increase MTTF: fault avoidance fault tolerance Improving Availability Redundancy RAID: Redundant Arrays of Independent Disks fault forecasting Reduce MTTR: improved tools and processes for diagnosis and repair UTCS 352, Lecture 21 9 How Disk Storage Works Disk packs stack platters & use both sides of platters, except at the ends Each comb has 2 read/write assemblies on each arm Cylinders are matching sectors on each surface Disk operations are in radial coordinates (track, sector) 1. move arm to track (cylinder) 2. Select & transfer sector as it spins by UTCS 352, Lecture 21 10 5

How Disk Storage Works Disk surface Track/ Cylinder head Sectors Disk is always spinning (like a CD) Tracks are concentric rings on disk with bits laid out serially on tracks Bits are evenly spaced, thus there are more bits on outer tracks Each track is split into sectors or blocks, the minimum unit of transfer from the disk Sector size: 512 bytes Biggest: 1.5 TB Internal hard drive (June 2009) High End Desk Top (~$5,000): 4096 GB! (April 2010) Low End Desk Top (<$1000): 160 GB Iphone ($100-300): 4GB-32GB UTCS 352, Lecture 21 11 How Disk Storage Works Disk surface Track/ Cylinder head To read or write a disk block: Overhead time to start & schedule disk operation Sectors Seek (latency) time to position head over track/cylinder. How fast does the hardware move the arm? Rotational delay (latency) time for sector to rotate under head Transfer (bandwidth) time to move bytes from disk to memory I/O time = overhead + seek + rotational delay + transfer UTCS 352, Lecture 21 12 6

Disk Access Example Given disk spec: 512B sector 15,000 rpm 4ms average seek time, 100MB/s transfer rate, 0.2ms milliseconds controller overhead for idle disk Average read time = 4ms seek time + ½ / (15,000/60) = 2ms rotational latency + 512 / 100MB/s = 0.005ms transfer time + 0.2ms controller delay = 6.2ms If actual average seek time is 1ms Average read time = 3.2ms UTCS 352, Lecture 21 13 Disk Performance Issues Manufacturers quote average seek time Based on all possible seeks Locality and OS scheduling lead to smaller actual average seek times Smart disk controller allocate physical sectors on disk Present logical sector interface to host SCSI, ATA, SATA Disk drives include caches Prefetch sectors in anticipation of access Avoid seek and rotational delay OS/disk drive scheduler increases locality UTCS 352, Lecture 21 14 7

Flash Storage Nonvolatile semiconductor storage 100 1000 faster than disk Smaller, lower power, more robust But more $/GB (between disk and DRAM) UTCS 352, Lecture 21 15 Flash Types NOR flash: bit cell like a NOR gate Random read/write access Used for instruction memory in embedded systems NAND flash: bit cell like a NAND gate Denser (bits/area) block-at-a-time access Cheaper per GB Used for USB keys, media storage, Flash bits wears out after 1000 s of accesses Not suitable for direct RAM or disk replacement Wear leveling: remap data to less used blocks UTCS 352, Lecture 21 16 8

RAID: Disk Error Tolerance Redundant Array of Independent Disks Use multiple smaller disks (c.f. one large disk) Parallelism improves performance Use extra disk(s) for redundant data storage Provides fault tolerance Especially if failed disks can be hot swapped RAID 0 No redundancy ( AID?) Stripe data over multiple disks Improves performance UTCS 352, Lecture 21 17 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 Disk Disk Disk Disk Disk Disk m 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 UTCS 352, Lecture 21 18 9

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 parity Disk Disk Disk Disk UTCS 352, Lecture 21 19 RAID 4: Block-Interleaved Parity N + 1 disks Data striped across N disks at block level (vs bytes in RAID 3) Redundant disk stores parity for a group of blocks Read access Read only the disk holding the required block Write access 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 parity Disk Disk Disk Disk UTCS 352, Lecture 21 20 10

RAID 3 vs RAID 4 UTCS 352, Lecture 21 21 RAID 5: Distributed Parity N + 1 disks Like RAID 4, but parity blocks distributed across disks Avoids parity disk being a bottleneck Widely used UTCS 352, Lecture 21 22 11

RAID 6: P + Q Redundancy N + 2 disks Like RAID 5, but store parity bits twice Greater fault tolerance through more redundancy Multiple RAID More advanced systems give similar fault tolerance with better performance UTCS 352, Lecture 21 23 RAID Summary RAID can improve performance and availability High availability requires hot swapping Assumes independent disk failures Too bad if the building burns down! UTCS 352, Lecture 21 24 12

Summary Disk storage Reliable, Available, Error tolerant MTTF Performance RAID for performance and reliability Next Time Interconnects & I/O Reading: P&H 6.6-10, 6.12-14 UTCS 352, Lecture 21 25 13