Scalus Winter School Storage Systems



Similar documents
Flash Memory. Jian-Jia Chen (Slides are based on Yuan-Hao Chang) TU Dortmund Informatik 12 Germany 2015 年 01 月 27 日. technische universität dortmund

Implementation and Challenging Issues of Flash-Memory Storage Systems

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

Important Differences Between Consumer and Enterprise Flash Architectures

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

In-Block Level Redundancy Management for Flash Storage System

Implementation of Buffer Cache Simulator for Hybrid Main Memory and Flash Memory Storages

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

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

90nm e-page Flash for Machine to Machine Applications

Solid State Drive (SSD) FAQ

Why are state-of-the-art flash-based multi-tiered storage systems performing poorly for HTTP video streaming?

Data Storage Framework on Flash Memory using Object-based Storage Model

Solid State Drive Technology

SLC vs. MLC: An Analysis of Flash Memory

Programming NAND devices

NAND Flash FAQ. Eureka Technology. apn5_87. NAND Flash FAQ

Nasir Memon Polytechnic Institute of NYU

Final Report: FTL Algorithms for NAND Flash Memory Devices

Linux flash file systems JFFS2 vs UBIFS

FLASH TECHNOLOGY DRAM/EPROM. Flash Year Source: Intel/ICE, "Memory 1996"

Yaffs NAND Flash Failure Mitigation

Handout 17. by Dr Sheikh Sharif Iqbal. Memory Unit and Read Only Memories

HybridLog: an Efficient Hybrid-Mapped Flash Translation Layer for Modern NAND Flash Memory

AN1837. Non-Volatile Memory Technology Overview By Stephen Ledford Non-Volatile Memory Technology Center Austin, Texas.

AN1819 APPLICATION NOTE Bad Block Management in Single Level Cell NAND Flash Memories

NAND Flash Architecture and Specification Trends

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

Flash Memory Basics for SSD Users

Empirical Inspection of IO subsystem for Flash Storage Device at the aspect of discard

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

Counting Problems in Flash Storage Design

A Data De-duplication Access Framework for Solid State Drives

p-oftl: An Object-based Semantic-aware Parallel Flash Translation Layer

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

Flash-Friendly File System (F2FS)

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

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

Choosing the Right NAND Flash Memory Technology

1. Memory technology & Hierarchy

Indexing on Solid State Drives based on Flash Memory

With respect to the way of data access we can classify memories as:

Don t Let RAID Raid the Lifetime of Your SSD Array

Flash Memory Technology and Flash Based File Systems

File Systems for Flash Memories. Marcela Zuluaga Sebastian Isaza Dante Rodriguez

2LGC: An Atomic-Unit Garbage Collection Scheme with a Two-Level List for NAND Flash Storage

FASS : A Flash-Aware Swap System

NAND Basics Understanding the Technology Behind Your SSD

File System Management

Flash Memories. João Pela (52270), João Santos (55295) December 22, 2008 IST

Implementing MLC NAND Flash for Cost-Effective, High-Capacity Memory

The Bleak Future of NAND Flash Memory

An Exploration of Hybrid Hard Disk Designs Using an Extensible Simulator

Buffer-Aware Garbage Collection for NAND Flash Memory-Based Storage Systems

UBIFS file system. Adrian Hunter (Адриан Хантер) Artem Bityutskiy (Битюцкий Артём)

Low-Power Error Correction for Mobile Storage

File System Reliability (part 2)

Solid State Drives Data Reliability and Lifetime. Abstract

NAND Flash & Storage Media

The Classical Architecture. Storage 1 / 36

Non-Volatile Memory. Non-Volatile Memory & its use in Enterprise Applications. Contents

NAND Flash Architecture and Specification Trends

Speeding Up Cloud/Server Applications Using Flash Memory

Memory Basics. SRAM/DRAM Basics

Programming Matters. MLC NAND Reliability and Best Practices for Data Retention. Data I/O Corporation. Anthony Ambrose President & CEO

Flash for Databases. September 22, 2015 Peter Zaitsev Percona

A multi-channel architecture for high-performance NAND flash-based storage system q

Trabajo Memorias flash

A PRAM and NAND Flash Hybrid Architecture for High-Performance Embedded Storage Subsystems

Liteon True Speed White Paper SPEED UP NETWORK STORAGE PERFORMANCE WITH LITEON TRUE SPEED TECHNOLOGY

RAM & ROM Based Digital Design. ECE 152A Winter 2012

3D NAND Technology Implications to Enterprise Storage Applications

Non-Volatile Memory and Its Use in Enterprise Applications

Integrating Flash-based SSDs into the Storage Stack

Offline Deduplication for Solid State Disk Using a Lightweight Hash Algorithm

Advantages of e-mmc 4.4 based Embedded Memory Architectures

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

The Pitfalls of Deploying Solid-State Drive RAIDs

RFLRU: A Buffer Cache Management Algorithm for Solid State Drive to Improve the Write Performance on Mixed Workload

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

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

NAND Flash Memories. Using Linux MTD compatible mode. on ELNEC Universal Device Programmers. (Quick Guide)

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

Two Flash Technologies Compared: NOR vs NAND

Lecture 16: Storage Devices

Decimal Number (base 10) Binary Number (base 2)

Transcription:

Scalus Winter School Storage Systems Flash Memory André Brinkmann

Flash Memory Floa:ng gate of a flash cell is electrically isolated Applying high voltages between source and drain accelerates electrons and improves probability that they float through isolator (in case of posi:ve gate source voltage) Fowler- Nordheim tunneling effect Bits are persistently stored on the floa:ng gate It is only possible to write 0 High nega:ve voltage enables informa:on erasure Erasure harms isolator max. of 1 Mio. erasure cycles Slide based on www.wikipedia.de

NOR- Flash Developed as a replacement for EPROMs and ROMs Addressing done via standard memory address bus No Glue Logic between controller and flash Can be used to store code Bytes can be individually wriven (Transfer from 1 è 0 ) Only complete blocks can be erased (Reset all bits to 1 ) Block site between 64 Kbyte and 256 KByte Slow wri:ng data Capacity smaller 1 GBit Slide based on www.wikipedia.de

NAND- Flash NAND flash works page and block oriented Page has to be read sequen:ally and resembles NAND gates Page size between 512 Byte and 4 Kbyte Addi:onally 12 to 16 bytes of checksum data Pages are combined into blocks Pages can only be wriven once without flashing the complete block Higher density than for NOR flash Slide based on www.wikipedia.de

Slide based on a technology survey from Toshiba 2010 Comparison NOR/NAND

Challenges Good Performance Limited Cost per Unit Strong Demands in Reliability Access Frequencies Tight Coupling with Other Components Low Compa:bility among Vendors Slide based on lecture Flash-Memory Storage Systems by Tei-Wei Kuo

Issues Architecture AP AP AP AP File System Layer Block Device Layer (FTL- Emula:on) MTD- Drivers FTL: Flash Translation Layer MTD: Memory Technology Device Flash Memory Slide based on lecture Flash-Memory Storage Systems by Tei-Wei Kuo

Write- Once Issues: Flash Characteris:cs No wri:ng on the same page unless its residing block is erased Pages are classified into valid, invalid, and free pages Bulk- Erasing Pages are erased in a block unit to recycle used but invalid pages Wear- Leveling Each block has a limited life:me in erasing counts Slide based on lecture Flash-Memory Storage Systems by Tei-Wei Kuo

Issues: Flash Characteris:cs Example: out- of- place update A B C D Live Pages Free Pages Assume that we want to update pages A and B Slide based on lecture Flash-Memory Storage Systems by Tei-Wei Kuo

Issues: Flash Characteris:cs Example: out- of- place update A B C D A B Dead Pages Slide based on lecture Flash-Memory Storage Systems by Tei-Wei Kuo

Issues: Flash Characteris:cs Example 2: Garbage Collec:on L D D L D D L D Recycle First Block L L D L L L F D L F L L L L D F L D Live Block Dead Block F L L F L L F D F Free Block Slide based on lecture Flash-Memory Storage Systems by Tei-Wei Kuo

Issues: Flash Characteris:cs Example 2: Garbage Collec:on D D D D D D D D Copy Live Data somewhere else L L D L L L L D L L L L L L D F F L L L L L F D Slide based on lecture Flash-Memory Storage Systems by Tei-Wei Kuo

Issues: Flash Characteris:cs Example 2: Garbage Collec:on F F F F F F F F L L D L L L L D L L L L L L D F Erase Data Block Overhead: - Copying of Live Data - Block Erasing F L L L L L F D Slide based on lecture Flash-Memory Storage Systems by Tei-Wei Kuo

Example 3: Wear- Leveling Issues: Flash Characteris:cs 100 10 20 L D D L D D L D L L D L L L F D L F L L L L D F 15 F L L F L L F D Erase Counter Slide based on lecture Flash-Memory Storage Systems by Tei-Wei Kuo

Hot data usually comes from metadata of file- systems Hot Data vs. Cold Data Small. A piece of hot data is usually 2 sectors. structured (or indexed) user files, etc. Cold data usually comes from read- only (or WORM) files E.g., bulk and sequen:al files that ohen have a number of sectors

Efficient Hot- Data Iden:fica:on Why Important? Wear- Leveling Pages that contain hot data could turn into dead pages very quickly Blocks with dead pages are usually chosen for erasing Hot data should be wri0en to blocks with smaller erase counts Erase Efficiency (i.e., effec:ve free pages reclaimed from garbage collec:on.) Mixture of hot data and non- hot data in blocks might deteriorate the efficiency of erase opera=ons

Flash Transla:on Layer (FTL) A sohware layer that allows the flash memory to look like a HDD Address mapping: logical to physical Garbage collec:on & power- off recovery Wear- leveling & bad block management Popular FTL algorithms FMAX, BAST, FAST, Super block, LAST DFTL, DAC, etc... Slide based on presentation FASTerFTL for Enterprise-Class Flash Memory SSDs by Lim, Lee und Moon

Flash Transla:on Layer (FTL) Page- mapping FTL can map a logical page to any physical page Block- mapping FTL can only map a logical page to a fixed offset of a block Hybrid FTL includes log blocks Slide based on presentation Achieving Page-Mapping FTL Performance at Block-Mapping FTL Cost by Hiding Address Translations by Hu et. al

Slide based on lecture Flash-Memory Storage Systems by Tei-Wei Kuo System Architecture

Observa:ons Write throughput drops significantly aher garbage collec:on starts The capacity of flash- memory storage systems increases very quickly such that also memory space requirements for address transla:on growth quickly Reliability becomes more and more cri:cal when the manufacturing capacity increases Significant increment of flash- memory access numbers Slide based on lecture Flash-Memory Storage Systems by Tei-Wei Kuo

Slide based on presentation STORAGE RESEARCH@ HP Labs by J. Wylie 3 passive linear circuit elements

Chua generalizes circuit theory to nonlinear systems L. O. Chua, Memristor - the missing circuit element, IEEE Trans. Circuit Theory 18, 507 519 (1971) L. O. Chua and S. M. Kang, "Memris:ve devices and systems," Proc. IEEE, 64 (2), 209-23 (1976) Memristor "remembers" changes in the current passing through it by changing its resistance D. Strukov, G. Snider, D. Stewart & S. Williams: The missing memristor found. In: Nature. 453, 2008, S. 80-83 Slide based on presentation STORAGE RESEARCH@ HP Labs by J. Wylie

Advantages Memristors Fast, cheap, dense, & low energy Can be fabbed with CMOS logic & 3D layers on single die Challenges Understand wear out Moving from the lab to the fab Slide based on presentation STORAGE RESEARCH@ HP Labs by J. Wylie

Phase- change memory (PRAM) PRAM based on unique behavior of chalcogenide glass Each memory cell contains a material that has two phases with very different electrical proper:es An amorphous phase exhibits high resis:vity, while a crystalline phase has much lower resis:vity Reading the bit value stored in a cell consists of sensing its resis:vity (a fast, low- power opera:on) Slide based on the presentation A Content-Aware Block Placement Algorithm for Reducing PRAM Storage Bit Writes by B. Wongchaowart and Wikipedia

PRAM Individual PRAM cells can be programmed independently of other cells When overwri:ng data stored in PRAM, only cells whose current value differs from the new value to be wriven need to be updated Degrades much more slowly than Flash Challenges: requirement of high programming current density long- term resistance and threshold voltage drih Slide based on the presentation A Content-Aware Block Placement Algorithm for Reducing PRAM Storage Bit Writes by B. Wongchaowart and Wikipedia

PRAM In order to change the bit value stored in a PRAM cell, the phase- change material must be brought into a different phase by hea:ng Hea:ng the phase- change material to its crystalliza:on temperature for a sufficiently long period of :me causes it to get into its crystalline state Hea:ng it to a yet higher temperature for a short period of :me makes the material amorphous Both of these opera:ons require high- power current pulses (rela:ve to the read opera:on) Slide based on the presentation A Content-Aware Block Placement Algorithm for Reducing PRAM Storage Bit Writes by B. Wongchaowart and Wikipedia