Flash Memory Overview. Steven Swanson

Similar documents
An Overview of Flash Storage for Databases

Solid State Technology What s New?

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

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

Important Differences Between Consumer and Enterprise Flash Architectures

How it can benefit your enterprise. Dejan Kocic Netapp

Solid State Drive Technology

In-Block Level Redundancy Management for Flash Storage System

Solid State Drive Architecture

Solid State Drive (SSD) FAQ

Price/performance Modern Memory Hierarchy

1 / 25. CS 137: File Systems. Persistent Solid-State Storage

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

Sistemas Operativos: Input/Output Disks

Flash Solid State. Are we there yet?

Providing Safe, User Space Access to Fast, Solid State Disks. Adrian Caulfield, Todor Mollov, Louis Eisner, Arup De, Joel Coburn, Steven Swanson

NAND Flash Architecture and Specification Trends

NAND Flash Architecture and Specification Trends

Flash 101. Violin Memory Switzerland. Violin Memory Inc. Proprietary 1

Flash for Databases. September 22, 2015 Peter Zaitsev Percona

SLC vs MLC: Proper Flash Selection for SSDs in Industrial, Military and Avionic Applications. A TCS Space & Component Technology White Paper

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

Indexing on Solid State Drives based on Flash Memory

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

SLC vs MLC: Which is best for high-reliability apps?

The Technologies & Architectures. President, Demartek

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

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

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

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

Flash Memory Basics for SSD Users

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

NAND Flash Memory Reliability in Embedded Computer Systems

NAND Basics Understanding the Technology Behind Your SSD

Storing Data: Disks and Files

1 Storage Devices Summary

A Flash Storage Technical. and. Economic Primer. and. By Mark May Storage Consultant, By James Green, vexpert Virtualization Consultant

CS 6290 I/O and Storage. Milos Prvulovic

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

Introduction to I/O and Disk Management

File System Management

SLC vs MLC NAND and The Impact of Technology Scaling. White paper CTWP010

Managing the evolution of Flash : beyond memory to storage

Caching Mechanisms for Mobile and IOT Devices

DELL SOLID STATE DISK (SSD) DRIVES

Comparison of NAND Flash Technologies Used in Solid- State Storage

An Analysis Of Flash And HDD Technology Trends

Flash-optimized Data Progression

The What, Why and How of the Pure Storage Enterprise Flash Array

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

WP001 - Flash Management A detailed overview of flash management techniques

CS161: Operating Systems

Don t Let RAID Raid the Lifetime of Your SSD Array

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

Impact of Stripe Unit Size on Performance and Endurance of SSD-Based RAID Arrays

How To Write On A Flash Memory Flash Memory (Mlc) On A Solid State Drive (Samsung)

Yaffs NAND Flash Failure Mitigation

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

A Study of Application Performance with Non-Volatile Main Memory

Understanding endurance and performance characteristics of HP solid state drives

Addressing Fatal Flash Flaws That Plague All Flash Storage Arrays

Industrial Flash Storage Module

Nasir Memon Polytechnic Institute of NYU

Flash Fabric Architecture

RAID Performance Analysis

WEBTECH EDUCATIONAL SERIES

September 25, Maya Gokhale Georgia Institute of Technology

Why Hybrid Storage Strategies Give the Best Bang for the Buck

QuickSpecs. PCIe Solid State Drives for HP Workstations

The Bleak Future of NAND Flash Memory

How To Improve Performance On A Single Chip Computer

Understanding Flash SSD Performance

SOLID STATE DRIVES AND PARALLEL STORAGE

Choosing the Right NAND Flash Memory Technology

White Paper. Avoiding premature failure of NAND Flash memory. Inhalt

Testing SSD s vs. HDD s. The Same But Different. August 11, 2009 Santa Clara, CA Anthony Lavia President & CEO

Samsung emmc. FBGA QDP Package. Managed NAND Flash memory solution supports mobile applications BROCHURE

Technologies Supporting Evolution of SSDs

Distribution One Server Requirements

HARD DRIVE CHARACTERISTICS REFRESHER

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

OPTIMIZING VIDEO STORAGE AT THE EDGE OF THE NETWORK

Data Retention in MLC NAND Flash Memory: Characterization, Optimization, and Recovery

HP Smart Array Controllers and basic RAID performance factors

PIONEER RESEARCH & DEVELOPMENT GROUP

QuickSpecs. HP Z Turbo Drive

Case for storage. Outline. Magnetic disks. CS2410: Computer Architecture. Storage systems. Sangyeun Cho

Linux flash file systems JFFS2 vs UBIFS

SSDs tend to be more rugged than hard drives with respect to shock and vibration because SSDs have no moving parts.

Algorithms and Methods for Distributed Storage Networks 3. Solid State Disks Christian Schindelhauer

What is RAID? data reliability with performance

SSD Write Performance IOPS Confusion Due to Poor Benchmarking Techniques

Speeding Up Cloud/Server Applications Using Flash Memory

Server drive technology

The Evolving NAND Flash Business Model for SSD. Steffen Hellmold VP BD, SandForce

QuickSpecs. HP Solid State Drives (SSDs) for Workstations. Overview

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

Bringing Greater Efficiency to the Enterprise Arena

Charge-Trapping (CT) Flash and 3D NAND Flash Hang-Ting Lue

Transcription:

Flash Memory Overview Steven Swanson

Humanity processed 9 Zettabytes in 2008* Welcome to the Data Age! *http://hmi.ucsd.edu 2

Solid State Memories NAND flash Ubiquitous, cheap Sort of slow, idiosyncratic Phase change, Spin torque MRAMs, etc. On the horizon DRAM-like speed DRAM or flash-like density 3

Bandwidth Relative to disk 100000 10000 1000 5917x 2.4x/yr PCIe-PCM (2010) PCIe-Flash (2012) DDR Fast NVM (2016?) 100 10 1 PCIe-PCM (2013?) Hard Drives (2006) PCIe-Flash (2007) 7200x 2.4x/yr 1 10 100 1000 10000 100000 1000000 100000 1/Latency Relative To Disk 4

Disk Density 1 Tb/sqare inch 5 5

Hard drive Cost Today at newegg.com: $0.04 GB ($0.00004/MB) Desktop, 2 TB 6 6

Why Are Disks Slow? They have moving parts :-( The disk itself and the a head/arm The head can only read at one spot. High end disks spin at 15,000 RPM Data is, on average, 1/2 an revolution away: 2ms Power consumption limits spindle speed Why not run it in a vacuum? The head has to position itself over the right track Currently about 150,000 tracks per inch. Positioning must be accurate with about 175nm Takes 3-13ms 7 7

Making Disks Faster Caching Everyone tries to cache disk accesses! The OS The disk controller The disk itself. Access scheduling Reordering accesses can reduce both rotational and seek latencies 8 8

RAID! Redundant Array of Independent (Inexpensive) Disks If one disk is not fast enough, use many Multiplicative increase in bandwidth Multiplicative increase in Ops/Sec Not much help for latency. If one disk is not reliable enough, use many. Replicate data across the disks If one of the disks dies, use the replica data to continue running and re-populate a new drive. Historical foot note: RAID was invented by one of the text book authors (Patterson) 9 9

RAID Levels There are several ways of ganging together a bunch of disks to form a RAID array. They are called levels Regardless of the RAID level, the array appears to the system as a sequence of disk blocks. The levels differ in how the logical blocks are arranged physically and how the replication occurs. 10 1

RAID 0 Double the bandwidth. For an n-disk array, the n- th block lives on the n-th disk. Worse for reliability If one of your drives dies, all your data is corrupt-- you have lost every nth block. 11 1

RAID 1 Mirror your data 1/2 the capacity But, you can tolerate a disk failure. Double the bandwidth for reads Same bandwidth for writes. 12 1

Stripe your data across a bunch of disks Use one bit to hold parity information The number of 1 s at corresponding locations across the drives is always even. If you lose on drive, you can reconstruct it from the others. Read and write all the disks in parallel. 13 1

The Flash Juggernaut

Flash is Fast! Hard Drives PCIe-Flash 2007 Lat.: 7.1ms BW: 2.6MB/s 1x 1x 68us 250MB/s 104x 96x Random 4KB Reads from user space

Floating Gate Flash Operations Read 0V 1V 5V 0V 20V Program 20V Erase 0V 0V

Organizing Flash Cells into Chips

Organizing Flash Cells into Chips ~16K blocks/chip ~16-64Gbits/chip

Flash Operations Page: 0 1 2 3 4 n-4 n-3 n-2 n-1 n Block 0 SLC: Single Level Cell Block 1 == 1 bit Block 2 Block n Erase Blocks Program Pages MLC: Multi Level Cell == 2 bits TLC: Triple Level Cell == 3 bits

Single-Level Cell Endurance: 100,000 Cycles Data retention: 10 years Read Latency: 25us Program Latency: 100-200us == 1 bit

Multi-Level Cell (2 bits) Endurance: 5000-10,000 Cycles Data retention: 3-10 years Read Latency: 25-37us Program Latency: 600-1800us == 2 bits

Triple-level Cell (3bits) Endurance: ~500-1000 Cycles Data retention: 3 years Read Time: 60-120us Program Time: 500-6500us == 3 bits

3D Nand SLC, MLC, and TLC NAND cells are 4F 2 devices. 1.33 4F 2 per bit Higher densities require 3D designs Samsung has demonstrated 24 layers 2-4x density boost http://bcove.me/xz2o1af5

Flash Failure Mechanisms Program/Erase (PE) Wear Permanent damaged to the gate oxide at each flash cell Caused by high program/erase voltages Damage causes charge to leak off the floating gate Program disturb Data corruption caused by interference from programming adjacent cells. No permanent damage

Making Disks out Flash Chips Read Pages Write Pages Erase Blocks Hierarchical addresses PE Wear Read Write Flat address space No wear limitations

Writing Data SSD Maintain a map between virtual logical block addresses and physical flash locations.

Writing more data When you overwrite data, it goes to a new location.

Flash Translation Layer (FTL) Software FTL Flash User Logical Block Address Flash Write pages in order Erase/Write granularity Wears out FTL Logical Physical map Wear leveling Power cycle recovery

Centralized FTL State Map Write Point LBA Physical Page Address 0 Block 5 Page 7 2k Block 27 Page 0 4k Block 10 Page 2 Block Info Table 101001011010001 010100100101011 101010110101001 111111111111111 111111111111111 111111111111111 Next Sequence Number: 12 Block Erased Erase Count Valid Page Count Sequence Number Bad Block Indicator 0 False 3 15 5 False 1 True 7 0 - False 2 False 0 4 9 False

Read Software 1. Read Data at LBA 2k 2. Map FTL Flash LBA Physical Page Address 0 Block 5 Page 7 2k Block 27 Page 0 4k Block 10 Page 2 3. Flash Operation