Shiqin Yan, Huaicheng Li, Mingzhe Hao, Michael Hao Tong, Swaminathan Sundararaman *, Andrew Chien, and Haryadi S. Gunawi

Size: px
Start display at page:

Download "Shiqin Yan, Huaicheng Li, Mingzhe Hao, Michael Hao Tong, Swaminathan Sundararaman *, Andrew Chien, and Haryadi S. Gunawi"

Transcription

1 Shiqin Yan, Huaicheng Li, Mingzhe Hao, Michael Hao Tong, Swaminathan Sundararaman *, Andrew Chien, and Haryadi S. Gunawi *

2 2 if your read is stuck behind an erase you may have wait 10s of milliseconds. That s a 100x increase in latency variance The Tail at Scale [CACM 13]

3 3 Convert to CDF NoGC 100% Reads + Writes Read Latency Percentile Clean/Empty SSD 0.3ms Time 80% 0.3ms Read Latency

4 4 Reads + Writes Read Latency 80 ms! NoGC Objective: cut tail 100% 3% 5 ms with GC Percentile Long tail! Aged/Full SSD 0.3ms Time 80% 0.3ms Read Latency 80ms

5 5 A fast Read A B delayed! B A GC moves tens of valid pages! which makes channel/chips busy for tens of ms! Channel Chip

6 6 Tail-tolerant techniques in distributed/storage systems: Leverage redundancy to cut tail! Full Stripe Read A B C C = XOR (A, B, P) fast tail! RAID: A B C P Slow / busy

7 7 Error rate increases à RAIN (Redundant Array of Independent NAND) Similarly, we leverage RAIN to cut tails! Full Stripe Read A B C fast slow! C = XOR (B, C, P) SSD: A B C P GC

8 8 New techniques: I. Plane-Blocking GC II. III. GC-Tolerant Read Rotating GC IV. GC-Tolerant Flush Current SSD technology: RAIN (Parity-based Redundancy)

9 9 NoGC 100% CDF (Percentile) +Rotating GC +GC-Tolerant Read +Plane-Blocking 95% 0.3ms Latency 80ms

10 10 100% Tiny tail! CDF (Percentile) 95% 0.3ms Overall results achieved: Between th percentiles: ttflash 1-3x slower than NoGC Base Latency5-138x slower 80ms than NoGC

11 11 q Introduction q Background q Tiny-Tail Flash Design q Evaluation, limitations, conclusion

12 12 C 0 C 1 C N Chip Die [0] Die [1] Plane[0] Plane[N] Chip

13 13 C 0 C 1 C N Block[0] Plane Block[N] Valid Page Chip Plane

14 14 for (1 # of valid pages): 1. read to controller (check with ECC) 2. write to another block SSD Controller 1 2 Old block blocked! Empty block GCed pages block the channel

15 15 SSD Controller 3. Erase the old block Old block Empty block Erase operation block the plane Erase!

16 16 blocked! A B C Channel blocking GC Base approach GCing plane

17 17 NoGC 100% CDF (Percentile) 95% 0.3ms Latency 80ms

18 18 q Introduction q Background q Tiny-Tail Flash Design Plane-Blocking GC GC-Tolerant Read Rotating GC GC-Tolerant Flush q Evaluation, limitations, conclusion

19 blocked! FAST 17 Base: Channel Blocking Plane Blocking 19 A B C Unblock the channel A B C Leverage intra-plane copyback support GCing plane GCing plane

20 Base GC Logic: FAST 17 for (every valid page) 1. flash read+write (over channel) Plane Blocking 2. wait GC Logic: for (every valid page) 1 flash read+write (inside plane) 2 serve other user I/Os Plane Blocking SSD Controller Read Page 2 A B C Old block 1 Empty block 20 Intra-plane copyback Overlap 1 intra-plane copyback with 2 channel usage for other non-gcing planes

21 21 3% of I/Os are blocked by GC NoGC 100% Only 1.5% +Plane-Blocking 95% 0.3ms Latency 80ms

22 22 q Issue 1: No ECC check for garbage-collected pages (will discuss later) q Issue 2: Read X X Read Y Y Read Z delayed! Z GC-ing plane still blocks

23 23 q Introduction q Background q Tiny-Tail Flash Design Plane-Blocking GC RAIN + GC-Tolerant Read Rotating GC GC-Tolerant Flush q Evaluation, limitations, conclusion

24 24 PG 0 PG 1 C 0 C 1 C P 0,1,2 3 4 P 3,4,5 5 C 3 LPN (Logical Page #) Static mapping: LPN0 à C[0]PG[0] LPN1 à C[1]PG[0] Add parity: PG 2 6 P 6,7,8 7 8 LPN 0, 1, 2 à P0,1,2 Rotating parity as RAID 5

25 25 RAIN enables GC-Tolerant Read Full Stripe Read fast tail 2 = XOR (0, 1, P 0,1,2 ) 1 Read in parallel + XOR cost ~0.01 ms P 0,1,2 GC vs. Wait for GC 2 to 10s of ms

26 26 GC-Tolerant Read Issue: partial stripe read Partial stripe read: slow! 2 2 = XOR (0, 1, P 0,1,2 ) Must generate extra N-1 reads! P 0,1,2 Add contention to other N -1 channels and planes Convert to full stripe if: T extra-reads < T GC

27 27 NoGC 100% CDF (Percentile) 0.5% +GC-Tolerant Read +Plane-Blocking 95% 0.3ms Latency 80ms

28 28 Issue: more than 1 GCs in a plane group? Full-stripe read tails! One parity à cut one tail Can t cut two tails! DOES NOT HELP! PG P 0,1,2 GC GC

29 29 q Introduction q Background q Tiny-Tail Flash Design Plane-Blocking GC GC-Tolerant Read Rotating GC GC-Tolerant Flush q Evaluation, limitations, conclusion

30 30 PG 0 Postpone! P 0,1,2 Rotating GC: Anytime, at most 1 plane per plane group can perform GC

31 31 Rotating! PG P 0,1,2 Rotating GC: Anytime, at most 1 plane per plane group can perform GC

32 32 PG 0 PG P 0,1,2 Rotating GC: Anytime, at most 1 plane per plane group can perform GC PG 2 Concurrent GCs in different PGs are permitted.

33 33 100% 0.5% +Rotating GC Tiny tail! Why still tiny tails? Small/partial-stripe read à Sometimes may be better to wait for GC than adding extra reads/ contentions! CDF (Percentile) 95% 0.3ms Latency 80ms

34 34 q Tiny-Tail Flash Design Plane-Blocking GC GC-Tolerant Read Rotating GC GC-Tolerant Flush (in paper) q Evaluation q Limitations q conclusion

35 35 q SSDsim (~2500 LOC) Device simulator q VSSIM (~900 LOC) QEMU/KVM-based Run Linux and applications q OpenSSD Many limitations of the simple programming model q Future: ttflash on OpenChannel SSD

36 36 q Simulator: SSDsim (verified against hardware) q Workload: 6 real-world traces from Microsoft Windows q Settings and SSD parameters: SSD size: 256GB, plane group width = 8 planes (1 parity, 7 data)

37 37 Developer Tools Release Server Trace NoGC 100% CDF (Percentile) +Rotating GC +GC-Tolerant Read +Plane-Blocking ttflash 99.99th Result: th percentile: ttflash 3x slower than NoGC Base 138x slower than NoGC 95% 0.3ms Latency 80ms

38 38 Evaluated on 6 windows workload traces with various characteristics Display Ads Server (DAPPS) Live Maps Server (LMBE) Dev. Tools Release (DTRS) MSN File Server (MSNFS) Exchange Server (Exch) TPC-C Reduced blocked I/Os (total) from 2 7% to % %: x slower for ttflash and x for Base

39 39 q Filebench on VSSIM+ttFlash ttflash achieves better average latency than base case q Vs. Preemptive GC ttflash is more stable than semi-preemptive GC - (If no idle time, preemptive GC will create GC backlogs, creating latency spikes) Avg Latency (ms) Latency (s) File Server Base +PB +GTR +RGC ttflash Preempt Network FS OLTP Varmail Video Server Elapsed time (s) 4522 Web Proxy ttflash stable

40 40 q ttflash depends on RAIN 1 parity for N parallel pages/channels We set N = 8, so we lose one channel out of 8 channels. Average latencies are x slower than NoGC, No-RAIN case q RAID à more writes (P/E cycles) ttflash increases P/E cycles by 15 18% for most of workloads Incur > 53% P/E cycles for TPCC, MSN (random write) q ECC is not checked during GC Suggest background scrubbing (read is fast & not as urgent as GC) Important note: in ttflash, foreground/user reads are still ECC checked

41 41 ttflash 55MB/s Latency CDF w/ Write Bursts 90% CDF (Percentile) 20% ttflash 64MB/s 0 Latency (ms) 80 ms Under write burst and at high watermark, ttflash must dynamitcally disable Rotating GC to ensure there is always enough number of free pages.

42 42 New techniques: I. Plane-Blocking GC II. III. IV. technology: GC-Tolerant Read Rotating GC GC-Tolerant Flush CDF (Percentile) Powerful Controller RAIN (parity-based redundancy) Capacitor-backed RAM ttflash Overall results achieved: GC-induced long tail Between th percentiles: ttflash 1-3x Latencyslower than NoGC Base 5-138x slower than NoGC

43 43

Tiny-Tail Flash: Near-Perfect Elimination of Garbage Collection Tail Latencies in NAND SSDs

Tiny-Tail Flash: Near-Perfect Elimination of Garbage Collection Tail Latencies in NAND SSDs Tiny-Tail Flash: Near-Perfect Elimination of Garbage Collection Tail Latencies in NAND SSDs SHIQIN YAN, HUAICHENG LI, MINGZHE HAO, and MICHAEL HAO TONG, University of Chicago SWAMINATHAN SUNDARARAMAN,

More information

Partitioned Real-Time NAND Flash Storage. Katherine Missimer and Rich West

Partitioned Real-Time NAND Flash Storage. Katherine Missimer and Rich West Partitioned Real-Time NAND Flash Storage Katherine Missimer and Rich West Introduction Eric Risberg AP CircuitsToday 2 Introduction Eric Risberg AP CircuitsToday Analytics Vidhya 3 Chesky_W Mapping Ignorance

More information

Delayed Partial Parity Scheme for Reliable and High-Performance Flash Memory SSD

Delayed Partial Parity Scheme for Reliable and High-Performance Flash Memory SSD Delayed Partial Parity Scheme for Reliable and High-Performance Flash Memory SSD Soojun Im School of ICE Sungkyunkwan University Suwon, Korea Email: lang33@skku.edu Dongkun Shin School of ICE Sungkyunkwan

More information

A Semi Preemptive Garbage Collector for Solid State Drives. Junghee Lee, Youngjae Kim, Galen M. Shipman, Sarp Oral, Feiyi Wang, and Jongman Kim

A Semi Preemptive Garbage Collector for Solid State Drives. Junghee Lee, Youngjae Kim, Galen M. Shipman, Sarp Oral, Feiyi Wang, and Jongman Kim A Semi Preemptive Garbage Collector for Solid State Drives Junghee Lee, Youngjae Kim, Galen M. Shipman, Sarp Oral, Feiyi Wang, and Jongman Kim Presented by Junghee Lee High Performance Storage Systems

More information

ParaFS: A Log-Structured File System to Exploit the Internal Parallelism of Flash Devices

ParaFS: A Log-Structured File System to Exploit the Internal Parallelism of Flash Devices ParaFS: A Log-Structured File System to Exploit the Internal Parallelism of Devices Jiacheng Zhang, Jiwu Shu, Youyou Lu Tsinghua University 1 Outline Background and Motivation ParaFS Design Evaluation

More information

Differential RAID: Rethinking RAID for SSD Reliability

Differential RAID: Rethinking RAID for SSD Reliability Differential RAID: Rethinking RAID for SSD Reliability Mahesh Balakrishnan Asim Kadav 1, Vijayan Prabhakaran, Dahlia Malkhi Microsoft Research Silicon Valley 1 The University of Wisconsin-Madison Solid

More information

Manylogs Improving CMR/SMR Disk Bandwidth & Latency. Tiratat Patana-anake, Vincentius Martin, Nora Sandler, Cheng Wu, and Haryadi S.

Manylogs Improving CMR/SMR Disk Bandwidth & Latency. Tiratat Patana-anake, Vincentius Martin, Nora Sandler, Cheng Wu, and Haryadi S. Manylogs Improving CMR/SMR Disk Bandwidth & Latency Tiratat Patana-anake, Vincentius Martin, Nora Sandler, Cheng Wu, and Haryadi S. Gunawi Manylogs @ M SST 1 6 2 Got 100% of the read bandwidth User 1 Big

More information

SHRD: Improving Spatial Locality in Flash Storage Accesses by Sequentializing in Host and Randomizing in Device

SHRD: Improving Spatial Locality in Flash Storage Accesses by Sequentializing in Host and Randomizing in Device SHRD: Improving Spatial Locality in Flash Storage Accesses by Sequentializing in Host and Randomizing in Device Hyukjoong Kim 1, Dongkun Shin 1, Yun Ho Jeong 2 and Kyung Ho Kim 2 1 Samsung Electronics

More information

Storage Systems : Disks and SSDs. Manu Awasthi CASS 2018

Storage Systems : Disks and SSDs. Manu Awasthi CASS 2018 Storage Systems : Disks and SSDs Manu Awasthi CASS 2018 Why study storage? Scalable High Performance Main Memory System Using Phase-Change Memory Technology, Qureshi et al, ISCA 2009 Trends Total amount

More information

Chapter 6. Storage and Other I/O Topics

Chapter 6. Storage and Other I/O Topics Chapter 6 Storage and Other I/O Topics Introduction I/O devices can be characterized by Behaviour: input, output, storage Partner: human or machine Data rate: bytes/sec, transfers/sec I/O bus connections

More information

Presented by: Nafiseh Mahmoudi Spring 2017

Presented by: Nafiseh Mahmoudi Spring 2017 Presented by: Nafiseh Mahmoudi Spring 2017 Authors: Publication: Type: ACM Transactions on Storage (TOS), 2016 Research Paper 2 High speed data processing demands high storage I/O performance. Flash memory

More information

Virtual Memory. Reading. Sections 5.4, 5.5, 5.6, 5.8, 5.10 (2) Lecture notes from MKP and S. Yalamanchili

Virtual Memory. Reading. Sections 5.4, 5.5, 5.6, 5.8, 5.10 (2) Lecture notes from MKP and S. Yalamanchili Virtual Memory Lecture notes from MKP and S. Yalamanchili Sections 5.4, 5.5, 5.6, 5.8, 5.10 Reading (2) 1 The Memory Hierarchy ALU registers Cache Memory Memory Memory Managed by the compiler Memory Managed

More information

SSD/Flash for Modern Databases. Peter Zaitsev, CEO, Percona October 08, 2014 Percona Technical Webinars

SSD/Flash for Modern Databases. Peter Zaitsev, CEO, Percona October 08, 2014 Percona Technical Webinars SSD/Flash for Modern Databases Peter Zaitsev, CEO, Percona October 08, 2014 Percona Technical Webinars In this Presentation Flash technology overview Review some of the available technology What does this

More information

NAND Interleaving & Performance

NAND Interleaving & Performance NAND Interleaving & Performance What You Need to Know Presented by: Keith Garvin Product Architect, Datalight August 2008 1 Overview What is interleaving, why do it? Bus Level Interleaving Interleaving

More information

MQSim: A Framework for Enabling Realistic Studies of Modern Multi-Queue SSD Devices

MQSim: A Framework for Enabling Realistic Studies of Modern Multi-Queue SSD Devices MQSim: A Framework for Enabling Realistic Studies of Modern Multi-Queue SSD Devices Arash Tavakkol, Juan Gómez-Luna, Mohammad Sadrosadati, Saugata Ghose, Onur Mutlu February 13, 2018 Executive Summary

More information

FlexECC: Partially Relaxing ECC of MLC SSD for Better Cache Performance

FlexECC: Partially Relaxing ECC of MLC SSD for Better Cache Performance FlexECC: Partially Relaxing ECC of MLC SSD for Better Cache Performance Ping Huang, Pradeep Subedi, Xubin He, Shuang He and Ke Zhou Department of Electrical and Computer Engineering, Virginia Commonwealth

More information

SSD/Flash for Modern Databases. Peter Zaitsev, CEO, Percona November 1, 2014 Highload Moscow,Russia

SSD/Flash for Modern Databases. Peter Zaitsev, CEO, Percona November 1, 2014 Highload Moscow,Russia SSD/Flash for Modern Databases Peter Zaitsev, CEO, Percona November 1, 2014 Highload++ 2014 Moscow,Russia Percona We love Open Source Software Percona Server Percona Xtrabackup Percona XtraDB Cluster Percona

More information

Random Access Memory (RAM)

Random Access Memory (RAM) Best known form of computer memory. "random access" because you can access any memory cell directly if you know the row and column that intersect at that cell. CS1111 CS5020 - Prof J.P. Morrison UCC 33

More information

Storage. Hwansoo Han

Storage. Hwansoo Han Storage Hwansoo Han I/O Devices I/O devices can be characterized by Behavior: input, out, storage Partner: human or machine Data rate: bytes/sec, transfers/sec I/O bus connections 2 I/O System Characteristics

More information

CSCI-GA Database Systems Lecture 8: Physical Schema: Storage

CSCI-GA Database Systems Lecture 8: Physical Schema: Storage CSCI-GA.2433-001 Database Systems Lecture 8: Physical Schema: Storage Mohamed Zahran (aka Z) mzahran@cs.nyu.edu http://www.mzahran.com View 1 View 2 View 3 Conceptual Schema Physical Schema 1. Create a

More information

Utilitarian Performance Isolation in Shared SSDs

Utilitarian Performance Isolation in Shared SSDs Utilitarian Performance Isolation in Shared SSDs Bryan S. Kim (Seoul National University, Korea) Flash storage landscape Exploit parallelism! Expose parallelism! Host system NVMe MQ blk IO (SYSTOR13) NVMeDirect

More information

A Flash Scheduling Strategy for Current Capping in Multi-Power-Mode SSDs

A Flash Scheduling Strategy for Current Capping in Multi-Power-Mode SSDs A Flash Scheduling Strategy for Current Capping in Multi-Power-Mode SSDs Li-Pin Chang, Chia-Hsiang Cheng, and Kai-Hsiang Lin Department of Computer Science National Chiao-Tung University, Taiwan Presented

More information

Computer Organization and Structure. Bing-Yu Chen National Taiwan University

Computer Organization and Structure. Bing-Yu Chen National Taiwan University Computer Organization and Structure Bing-Yu Chen National Taiwan University Storage and Other I/O Topics I/O Performance Measures Types and Characteristics of I/O Devices Buses Interfacing I/O Devices

More information

Haryadi S. Gunawi 1, Riza O. Suminto 1, Russell Sears 2, Casey Golliher 2, Swaminathan Sundararaman 3, Xing Lin 4, Tim Emami 4, Weiguang Sheng 5,

Haryadi S. Gunawi 1, Riza O. Suminto 1, Russell Sears 2, Casey Golliher 2, Swaminathan Sundararaman 3, Xing Lin 4, Tim Emami 4, Weiguang Sheng 5, Haryadi S. Gunawi 1, Riza O. Suminto 1, Russell Sears 2, Casey Golliher 2, Swaminathan Sundararaman 3, Xing Lin 4, Tim Emami 4, Weiguang Sheng 5, Nematollah Bidokhti 5, Caitie McCaffrey 6, Gary Grider

More information

Purity: building fast, highly-available enterprise flash storage from commodity components

Purity: building fast, highly-available enterprise flash storage from commodity components Purity: building fast, highly-available enterprise flash storage from commodity components J. Colgrove, J. Davis, J. Hayes, E. Miller, C. Sandvig, R. Sears, A. Tamches, N. Vachharajani, and F. Wang 0 Gala

More information

VSSIM: Virtual Machine based SSD Simulator

VSSIM: Virtual Machine based SSD Simulator 29 th IEEE Conference on Mass Storage Systems and Technologies (MSST) Long Beach, California, USA, May 6~10, 2013 VSSIM: Virtual Machine based SSD Simulator Jinsoo Yoo, Youjip Won, Joongwoo Hwang, Sooyong

More information

Mass-Storage Structure

Mass-Storage Structure Operating Systems (Fall/Winter 2018) Mass-Storage Structure Yajin Zhou (http://yajin.org) Zhejiang University Acknowledgement: some pages are based on the slides from Zhi Wang(fsu). Review On-disk structure

More information

Flash Trends: Challenges and Future

Flash Trends: Challenges and Future Flash Trends: Challenges and Future John D. Davis work done at Microsoft Researcher- Silicon Valley in collaboration with Laura Caulfield*, Steve Swanson*, UCSD* 1 My Research Areas of Interest Flash characteristics

More information

Secondary storage. CS 537 Lecture 11 Secondary Storage. Disk trends. Another trip down memory lane

Secondary storage. CS 537 Lecture 11 Secondary Storage. Disk trends. Another trip down memory lane Secondary storage CS 537 Lecture 11 Secondary Storage Michael Swift Secondary storage typically: is anything that is outside of primary memory does not permit direct execution of instructions or data retrieval

More information

Partitioned Real-Time NAND Flash Storage

Partitioned Real-Time NAND Flash Storage Partitioned Real-Time NAND Flash Storage Katherine Missimer Boston University kzhao@cs.bu.edu Richard West Boston University richwest@cs.bu.edu Abstract This paper addresses the problem of guaranteeing

More information

1110 IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. 33, NO. 7, JULY 2014

1110 IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. 33, NO. 7, JULY 2014 1110 IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. 33, NO. 7, JULY 2014 Adaptive Paired Page Prebackup Scheme for MLC NAND Flash Memory Jaeil Lee and Dongkun Shin,

More information

Getting Real: Lessons in Transitioning Research Simulations into Hardware Systems

Getting Real: Lessons in Transitioning Research Simulations into Hardware Systems Getting Real: Lessons in Transitioning Research Simulations into Hardware Systems Mohit Saxena, Yiying Zhang Michael Swift, Andrea Arpaci-Dusseau and Remzi Arpaci-Dusseau Flash Storage Stack Research SSD

More information

CBM: A Cooperative Buffer Management for SSD

CBM: A Cooperative Buffer Management for SSD 3 th International Conference on Massive Storage Systems and Technology (MSST 4) : A Cooperative Buffer Management for SSD Qingsong Wei, Cheng Chen, Jun Yang Data Storage Institute, A-STAR, Singapore June

More information

Replacing the FTL with Cooperative Flash Management

Replacing the FTL with Cooperative Flash Management Replacing the FTL with Cooperative Flash Management Mike Jadon Radian Memory Systems www.radianmemory.com Flash Memory Summit 2015 Santa Clara, CA 1 Data Center Primary Storage WORM General Purpose RDBMS

More information

Performance Modeling and Analysis of Flash based Storage Devices

Performance Modeling and Analysis of Flash based Storage Devices Performance Modeling and Analysis of Flash based Storage Devices H. Howie Huang, Shan Li George Washington University Alex Szalay, Andreas Terzis Johns Hopkins University MSST 11 May 26, 2011 NAND Flash

More information

COMP283-Lecture 3 Applied Database Management

COMP283-Lecture 3 Applied Database Management COMP283-Lecture 3 Applied Database Management Introduction DB Design Continued Disk Sizing Disk Types & Controllers DB Capacity 1 COMP283-Lecture 3 DB Storage: Linear Growth Disk space requirements increases

More information

80 IEEE TRANSACTIONS ON COMPUTERS, VOL. 60, NO. 1, JANUARY Flash-Aware RAID Techniques for Dependable and High-Performance Flash Memory SSD

80 IEEE TRANSACTIONS ON COMPUTERS, VOL. 60, NO. 1, JANUARY Flash-Aware RAID Techniques for Dependable and High-Performance Flash Memory SSD 80 IEEE TRANSACTIONS ON COMPUTERS, VOL. 60, NO. 1, JANUARY 2011 Flash-Aware RAID Techniques for Dependable and High-Performance Flash Memory SSD Soojun Im and Dongkun Shin, Member, IEEE Abstract Solid-state

More information

Disks and RAID. CS 4410 Operating Systems. [R. Agarwal, L. Alvisi, A. Bracy, E. Sirer, R. Van Renesse]

Disks and RAID. CS 4410 Operating Systems. [R. Agarwal, L. Alvisi, A. Bracy, E. Sirer, R. Van Renesse] Disks and RAID CS 4410 Operating Systems [R. Agarwal, L. Alvisi, A. Bracy, E. Sirer, R. Van Renesse] Storage Devices Magnetic disks Storage that rarely becomes corrupted Large capacity at low cost Block

More information

LightNVM: The Linux Open-Channel SSD Subsystem

LightNVM: The Linux Open-Channel SSD Subsystem LightNVM: The Linux Open-Channel SSD Subsystem Matias Bjørling Javier González Philippe Bonnet CNEX Labs, Inc. IT University of Copenhagen Abstract As Solid-State Drives (SSDs) become commonplace in data-centers

More information

Lecture 18: Reliable Storage

Lecture 18: Reliable Storage CS 422/522 Design & Implementation of Operating Systems Lecture 18: Reliable Storage Zhong Shao Dept. of Computer Science Yale University Acknowledgement: some slides are taken from previous versions of

More information

UCS Invicta: A New Generation of Storage Performance. Mazen Abou Najm DC Consulting Systems Engineer

UCS Invicta: A New Generation of Storage Performance. Mazen Abou Najm DC Consulting Systems Engineer UCS Invicta: A New Generation of Storage Performance Mazen Abou Najm DC Consulting Systems Engineer HDDs Aren t Designed For High Performance Disk 101 Can t spin faster (200 IOPS/Drive) Can t seek faster

More information

I/O Devices & SSD. Dongkun Shin, SKKU

I/O Devices & SSD. Dongkun Shin, SKKU I/O Devices & SSD 1 System Architecture Hierarchical approach Memory bus CPU and memory Fastest I/O bus e.g., PCI Graphics and higherperformance I/O devices Peripheral bus SCSI, SATA, or USB Connect many

More information

AOS: Adaptive Out-of-order Scheduling for Write-caused Interference Reduction in Solid State Disks

AOS: Adaptive Out-of-order Scheduling for Write-caused Interference Reduction in Solid State Disks , March 18-20, 2015, Hong Kong AOS: Adaptive Out-of-order Scheduling for Write-caused Interference Reduction in Solid State Disks Pingguo Li, Fei Wu*, You Zhou, Changsheng Xie, Jiang Yu Abstract The read/write

More information

I/O CANNOT BE IGNORED

I/O CANNOT BE IGNORED LECTURE 13 I/O I/O CANNOT BE IGNORED Assume a program requires 100 seconds, 90 seconds for main memory, 10 seconds for I/O. Assume main memory access improves by ~10% per year and I/O remains the same.

More information

Main Points. File System Reliability (part 2) Last Time: File System Reliability. Reliability Approach #1: Careful Ordering 11/26/12

Main Points. File System Reliability (part 2) Last Time: File System Reliability. Reliability Approach #1: Careful Ordering 11/26/12 Main Points File System Reliability (part 2) Approaches to reliability Careful sequencing of file system operacons Copy- on- write (WAFL, ZFS) Journalling (NTFS, linux ext4) Log structure (flash storage)

More information

Definition of RAID Levels

Definition of RAID Levels RAID The basic idea of RAID (Redundant Array of Independent Disks) is to combine multiple inexpensive disk drives into an array of disk drives to obtain performance, capacity and reliability that exceeds

More information

Random Access Memory (RAM)

Random Access Memory (RAM) Random Access Memory (RAM) best known form of computer memory. "random access" because you can access any memory cell directly if you know the row and column that intersect at that cell. 72 Magnetic-core

More information

Frequently asked questions from the previous class survey

Frequently asked questions from the previous class survey CS 370: OPERATING SYSTEMS [MASS STORAGE] Shrideep Pallickara Computer Science Colorado State University L29.1 Frequently asked questions from the previous class survey How does NTFS compare with UFS? L29.2

More information

Managing Array of SSDs When the Storage Device is No Longer the Performance Bottleneck

Managing Array of SSDs When the Storage Device is No Longer the Performance Bottleneck Managing Array of Ds When the torage Device is No Longer the Performance Bottleneck Byung. Kim, Jaeho Kim, am H. Noh UNIT (Ulsan National Institute of cience & Technology) Outline Motivation & Observation

More information

CS370: Operating Systems [Spring 2017] Dept. Of Computer Science, Colorado State University

CS370: Operating Systems [Spring 2017] Dept. Of Computer Science, Colorado State University Frequently asked questions from the previous class survey CS 370: OPERATING SYSTEMS [MASS STORAGE] How does the OS caching optimize disk performance? How does file compression work? Does the disk change

More information

CR5M: A Mirroring-Powered Channel-RAID5 Architecture for An SSD

CR5M: A Mirroring-Powered Channel-RAID5 Architecture for An SSD CR5M: A Mirroring-Powered Channel-RAID5 Architecture for An SSD Yu Wang 1, Wei Wang 2, Tao Xie 2, Wen Pan 1, Yanyan Gao 1, Yiming Ouyang 1, 1 Hefei University of Technology 2 San Diego State University

More information

NAND Flash-based Storage. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

NAND Flash-based Storage. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University NAND Flash-based Storage Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics NAND flash memory Flash Translation Layer (FTL) OS implications

More information

Computer System Architecture

Computer System Architecture CSC 203 1.5 Computer System Architecture Department of Statistics and Computer Science University of Sri Jayewardenepura Secondary Memory 2 Technologies Magnetic storage Floppy, Zip disk, Hard drives,

More information

Storage Systems : Disks and SSDs. Manu Awasthi July 6 th 2018 Computer Architecture Summer School 2018

Storage Systems : Disks and SSDs. Manu Awasthi July 6 th 2018 Computer Architecture Summer School 2018 Storage Systems : Disks and SSDs Manu Awasthi July 6 th 2018 Computer Architecture Summer School 2018 Why study storage? Scalable High Performance Main Memory System Using Phase-Change Memory Technology,

More information

Design Considerations for Using Flash Memory for Caching

Design Considerations for Using Flash Memory for Caching Design Considerations for Using Flash Memory for Caching Edi Shmueli, IBM XIV Storage Systems edi@il.ibm.com Santa Clara, CA August 2010 1 Solid-State Storage In a few decades solid-state storage will

More information

I/O CANNOT BE IGNORED

I/O CANNOT BE IGNORED LECTURE 13 I/O I/O CANNOT BE IGNORED Assume a program requires 100 seconds, 90 seconds for main memory, 10 seconds for I/O. Assume main memory access improves by ~10% per year and I/O remains the same.

More information

I/O Determinism and Its Impact on Data Centers and Hyperscale Applications

I/O Determinism and Its Impact on Data Centers and Hyperscale Applications I/O Determinism and Its Impact on Data Centers and Hyperscale Applications Bill Martin (Samsung) 1 This presentation and/or accompanying oral statements by Samsung representatives collectively, the Presentation

More information

TRANSACTIONAL FLASH CARSTEN WEINHOLD. Vijayan Prabhakaran, Thomas L. Rodeheffer, Lidong Zhou

TRANSACTIONAL FLASH CARSTEN WEINHOLD. Vijayan Prabhakaran, Thomas L. Rodeheffer, Lidong Zhou Department of Computer Science Institute for System Architecture, Operating Systems Group TRANSACTIONAL FLASH Vijayan Prabhakaran, Thomas L. Rodeheffer, Lidong Zhou CARSTEN WEINHOLD MOTIVATION Transactions

More information

Linux Kernel Abstractions for Open-Channel SSDs

Linux Kernel Abstractions for Open-Channel SSDs Linux Kernel Abstractions for Open-Channel SSDs Matias Bjørling Javier González, Jesper Madsen, and Philippe Bonnet 2015/03/01 1 Market Specific FTLs SSDs on the market with embedded FTLs targeted at specific

More information

Gecko: Contention-Oblivious Disk Arrays for Cloud Storage

Gecko: Contention-Oblivious Disk Arrays for Cloud Storage Gecko: Contention-Oblivious Disk Arrays for Cloud Storage Ji-Yong Shin Cornell University In collaboration with Mahesh Balakrishnan (MSR SVC), Tudor Marian (Google), and Hakim Weatherspoon (Cornell) FAST

More information

Chapter 6 - External Memory

Chapter 6 - External Memory Chapter 6 - External Memory Luis Tarrataca luis.tarrataca@gmail.com CEFET-RJ L. Tarrataca Chapter 6 - External Memory 1 / 66 Table of Contents I 1 Motivation 2 Magnetic Disks Write Mechanism Read Mechanism

More information

SFS: Random Write Considered Harmful in Solid State Drives

SFS: Random Write Considered Harmful in Solid State Drives SFS: Random Write Considered Harmful in Solid State Drives Changwoo Min 1, 2, Kangnyeon Kim 1, Hyunjin Cho 2, Sang-Won Lee 1, Young Ik Eom 1 1 Sungkyunkwan University, Korea 2 Samsung Electronics, Korea

More information

Using Transparent Compression to Improve SSD-based I/O Caches

Using Transparent Compression to Improve SSD-based I/O Caches Using Transparent Compression to Improve SSD-based I/O Caches Thanos Makatos, Yannis Klonatos, Manolis Marazakis, Michail D. Flouris, and Angelos Bilas {mcatos,klonatos,maraz,flouris,bilas}@ics.forth.gr

More information

CS24: INTRODUCTION TO COMPUTING SYSTEMS. Spring 2017 Lecture 13

CS24: INTRODUCTION TO COMPUTING SYSTEMS. Spring 2017 Lecture 13 CS24: INTRODUCTION TO COMPUTING SYSTEMS Spring 2017 Lecture 13 COMPUTER MEMORY So far, have viewed computer memory in a very simple way Two memory areas in our computer: The register file Small number

More information

NAND Flash-based Storage. Computer Systems Laboratory Sungkyunkwan University

NAND Flash-based Storage. Computer Systems Laboratory Sungkyunkwan University NAND Flash-based Storage Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics NAND flash memory Flash Translation Layer (FTL) OS implications

More information

Computer Architecture Computer Science & Engineering. Chapter 6. Storage and Other I/O Topics BK TP.HCM

Computer Architecture Computer Science & Engineering. Chapter 6. Storage and Other I/O Topics BK TP.HCM Computer Architecture Computer Science & Engineering Chapter 6 Storage and Other I/O Topics Introduction I/O devices can be characterized by Behaviour: input, output, storage Partner: human or machine

More information

Chapter 6. Storage and Other I/O Topics. ICE3003: Computer Architecture Spring 2014 Euiseong Seo

Chapter 6. Storage and Other I/O Topics. ICE3003: Computer Architecture Spring 2014 Euiseong Seo Chapter 6 Storage and Other I/O Topics 1 Introduction I/O devices can be characterized by Behaviour: input, output, storage Partner: human or machine Data rate: bytes/sec, transfers/sec I/O bus connections

More information

Workload-Aware Elastic Striping With Hot Data Identification for SSD RAID Arrays

Workload-Aware Elastic Striping With Hot Data Identification for SSD RAID Arrays IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, VOL. 36, NO. 5, MAY 2017 815 Workload-Aware Elastic Striping With Hot Data Identification for SSD RAID Arrays Yongkun Li,

More information

Design of Flash-Based DBMS: An In-Page Logging Approach

Design of Flash-Based DBMS: An In-Page Logging Approach SIGMOD 07 Design of Flash-Based DBMS: An In-Page Logging Approach Sang-Won Lee School of Info & Comm Eng Sungkyunkwan University Suwon,, Korea 440-746 wonlee@ece.skku.ac.kr Bongki Moon Department of Computer

More information

DURING the last two decades, tremendous development

DURING the last two decades, tremendous development IEEE TRANSACTIONS ON COMPUTERS, VOL. 62, NO. 6, JUNE 2013 1141 Exploring and Exploiting the Multilevel Parallelism Inside SSDs for Improved Performance and Endurance Yang Hu, Hong Jiang, Senior Member,

More information

Yiying Zhang, Leo Prasath Arulraj, Andrea C. Arpaci-Dusseau, and Remzi H. Arpaci-Dusseau. University of Wisconsin - Madison

Yiying Zhang, Leo Prasath Arulraj, Andrea C. Arpaci-Dusseau, and Remzi H. Arpaci-Dusseau. University of Wisconsin - Madison Yiying Zhang, Leo Prasath Arulraj, Andrea C. Arpaci-Dusseau, and Remzi H. Arpaci-Dusseau University of Wisconsin - Madison 1 Indirection Reference an object with a different name Flexible, simple, and

More information

NAND/MTD support under Linux

NAND/MTD support under Linux 12 July 2012 NAND Features 1 Flash is everywhere NAND Features non-volatile computer storage chip that can be electrically erased and reprogrammed usb flash drives memory cards solid-state drives Flash

More information

A Novel Buffer Management Scheme for SSD

A Novel Buffer Management Scheme for SSD A Novel Buffer Management Scheme for SSD Qingsong Wei Data Storage Institute, A-STAR Singapore WEI_Qingsong@dsi.a-star.edu.sg Bozhao Gong National University of Singapore Singapore bzgong@nus.edu.sg Cheng

More information

Strata: A Cross Media File System. Youngjin Kwon, Henrique Fingler, Tyler Hunt, Simon Peter, Emmett Witchel, Thomas Anderson

Strata: A Cross Media File System. Youngjin Kwon, Henrique Fingler, Tyler Hunt, Simon Peter, Emmett Witchel, Thomas Anderson A Cross Media File System Youngjin Kwon, Henrique Fingler, Tyler Hunt, Simon Peter, Emmett Witchel, Thomas Anderson 1 Let s build a fast server NoSQL store, Database, File server, Mail server Requirements

More information

[537] Flash. Tyler Harter

[537] Flash. Tyler Harter [537] Flash Tyler Harter Flash vs. Disk Disk Overview I/O requires: seek, rotate, transfer Inherently: - not parallel (only one head) - slow (mechanical) - poor random I/O (locality around disk head) Random

More information

The What, Why and How of the Pure Storage Enterprise Flash Array. Ethan L. Miller (and a cast of dozens at Pure Storage)

The What, Why and How of the Pure Storage Enterprise Flash Array. Ethan L. Miller (and a cast of dozens at Pure Storage) The What, Why and How of the Pure Storage Enterprise Flash Array Ethan L. Miller (and a cast of dozens at Pure Storage) Enterprise storage: $30B market built on disk Key players: EMC, NetApp, HP, etc.

More information

Lecture 21: Reliable, High Performance Storage. CSC 469H1F Fall 2006 Angela Demke Brown

Lecture 21: Reliable, High Performance Storage. CSC 469H1F Fall 2006 Angela Demke Brown Lecture 21: Reliable, High Performance Storage CSC 469H1F Fall 2006 Angela Demke Brown 1 Review We ve looked at fault tolerance via server replication Continue operating with up to f failures Recovery

More information

Performance Impact and Interplay of SSD Parallelism through Advanced Commands, Allocation Strategy and Data Granularity

Performance Impact and Interplay of SSD Parallelism through Advanced Commands, Allocation Strategy and Data Granularity Performance Impact and Interplay of SSD Parallelism through Advanced Commands, Allocation Strategy and Data Granularity Yang Hu, Hong Jiang, Dan Feng, Lei Tian,Hao Luo, Shuping Zhang School of Computer,

More information

FastScale: Accelerate RAID Scaling by

FastScale: Accelerate RAID Scaling by FastScale: Accelerate RAID Scaling by Minimizing i i i Data Migration Weimin Zheng, Guangyan Zhang gyzh@tsinghua.edu.cn Tsinghua University Outline Motivation Minimizing data migration Optimizing data

More information

CS311 Lecture 21: SRAM/DRAM/FLASH

CS311 Lecture 21: SRAM/DRAM/FLASH S 14 L21-1 2014 CS311 Lecture 21: SRAM/DRAM/FLASH DARM part based on ISCA 2002 tutorial DRAM: Architectures, Interfaces, and Systems by Bruce Jacob and David Wang Jangwoo Kim (POSTECH) Thomas Wenisch (University

More information

Haryadi Gunawi and Andrew Chien

Haryadi Gunawi and Andrew Chien Haryadi Gunawi and Andrew Chien in collaboration with Gokul Soundararajan and Deepak Kenchammana (NetApp) Rob Ross and Dries Kimpe (Argonne National Labs) 2 q Complete fail-stop q Fail partial Rich literature

More information

COS 318: Operating Systems. Storage Devices. Vivek Pai Computer Science Department Princeton University

COS 318: Operating Systems. Storage Devices. Vivek Pai Computer Science Department Princeton University COS 318: Operating Systems Storage Devices Vivek Pai Computer Science Department Princeton University http://www.cs.princeton.edu/courses/archive/fall11/cos318/ Today s Topics Magnetic disks Magnetic disk

More information

Chapter 6. Storage and Other I/O Topics

Chapter 6. Storage and Other I/O Topics Chapter 6 Storage and Other I/O Topics Introduction I/O devices can be characterized by Behaviour: input, output, storage Partner: human or machine Data rate: bytes/sec, transfers/sec I/O bus connections

More information

CMSC 424 Database design Lecture 12 Storage. Mihai Pop

CMSC 424 Database design Lecture 12 Storage. Mihai Pop CMSC 424 Database design Lecture 12 Storage Mihai Pop Administrative Office hours tomorrow @ 10 Midterms are in solutions for part C will be posted later this week Project partners I have an odd number

More information

Raising QLC Reliability in All-Flash Arrays

Raising QLC Reliability in All-Flash Arrays Raising QLC Reliability in All-Flash Arrays Jeff Yang Principal Engineer Storage Research Dept. Silicon Motion, Inc. Santa Clara, CA 1 QLC Characteristics (Estimation) QLC Endurance: 1~3K P/E.(limited

More information

Error Recovery Flows in NAND Flash SSDs

Error Recovery Flows in NAND Flash SSDs Error Recovery Flows in NAND Flash SSDs Viet-Dzung Nguyen Marvell Semiconductor, Inc. Flash Memory Summit 2018 Santa Clara, CA 1 Outline Data Reliability in NAND Flash Memories Concept of an Error Recovery

More information

SSD Architecture for Consistent Enterprise Performance

SSD Architecture for Consistent Enterprise Performance SSD Architecture for Consistent Enterprise Performance Gary Tressler and Tom Griffin IBM Corporation August 21, 212 1 SSD Architecture for Consistent Enterprise Performance - Overview Background: Client

More information

Page 1. Magnetic Disk Purpose Long term, nonvolatile storage Lowest level in the memory hierarchy. Typical Disk Access Time

Page 1. Magnetic Disk Purpose Long term, nonvolatile storage Lowest level in the memory hierarchy. Typical Disk Access Time Review: Major Components of a Computer Processor Control Datapath Cache Memory Main Memory Secondary Memory (Disk) Devices Output Input Magnetic Disk Purpose Long term, nonvolatile storage Lowest level

More information

FlashBlox: Achieving Both Performance Isolation and Uniform Lifetime for Virtualized SSDs

FlashBlox: Achieving Both Performance Isolation and Uniform Lifetime for Virtualized SSDs FlashBlox: Achieving Both Performance Isolation and Uniform Lifetime for Virtualized SSDs Jian Huang Anirudh Badam Laura Caulfield Suman Nath Sudipta Sengupta Bikash Sharma Moinuddin K. Qureshi Flash Has

More information

Optimizing Translation Information Management in NAND Flash Memory Storage Systems

Optimizing Translation Information Management in NAND Flash Memory Storage Systems Optimizing Translation Information Management in NAND Flash Memory Storage Systems Qi Zhang 1, Xuandong Li 1, Linzhang Wang 1, Tian Zhang 1 Yi Wang 2 and Zili Shao 2 1 State Key Laboratory for Novel Software

More information

Chapter 6. Storage and Other I/O Topics

Chapter 6. Storage and Other I/O Topics Chapter 6 Storage and Other I/O Topics Introduction I/O devices can be characterized by Behavior: input, output, storage Partner: human or machine Data rate: bytes/sec, transfers/sec I/O bus connections

More information

Toward Seamless Integration of RAID and Flash SSD

Toward Seamless Integration of RAID and Flash SSD Toward Seamless Integration of RAID and Flash SSD Sang-Won Lee Sungkyunkwan Univ., Korea (Joint-Work with Sungup Moon, Bongki Moon, Narinet, and Indilinx) Santa Clara, CA 1 Table of Contents Introduction

More information

Enabling NVMe I/O Scale

Enabling NVMe I/O Scale Enabling NVMe I/O Determinism @ Scale Chris Petersen, Hardware System Technologist Wei Zhang, Software Engineer Alexei Naberezhnov, Software Engineer Facebook Facebook @ Scale 800 Million 1.3 Billion 2.2

More information

Access Characteristic Guided Read and Write Cost Regulation for Performance Improvement on Flash Memory

Access Characteristic Guided Read and Write Cost Regulation for Performance Improvement on Flash Memory Access Characteristic Guided Read and Write Cost Regulation for Performance Improvement on Flash Memory Qiao Li, Liang Shi, Chun Jason Xue Kaijie Wu, Cheng Ji, Qingfeng Zhuge, and Edwin H. M. Sha College

More information

Chapter 6. Storage and Other I/O Topics. ICE3003: Computer Architecture Fall 2012 Euiseong Seo

Chapter 6. Storage and Other I/O Topics. ICE3003: Computer Architecture Fall 2012 Euiseong Seo Chapter 6 Storage and Other I/O Topics 1 Introduction I/O devices can be characterized by Behaviour: input, output, storage Partner: human or machine Data rate: bytes/sec, transfers/sec I/O bus connections

More information

Performance Impact and Interplay of SSD Parallelism through Advanced Commands, Allocation Strategy and Data Granularity

Performance Impact and Interplay of SSD Parallelism through Advanced Commands, Allocation Strategy and Data Granularity Performance Impact and Interplay of SSD Parallelism through Advanced Commands, Allocation Strategy and Data Granularity Yang Hu, Hong Jiang, Dan Feng Lei Tian, Hao Luo, Shuping Zhang Proceedings of the

More information

Open-Channel SSDs Then. Now. And Beyond. Matias Bjørling, March 22, Copyright 2017 CNEX Labs

Open-Channel SSDs Then. Now. And Beyond. Matias Bjørling, March 22, Copyright 2017 CNEX Labs Open-Channel SSDs Then. Now. And Beyond. Matias Bjørling, March 22, 2017 What is an Open-Channel SSD? Then Now - Physical Page Addressing v1.2 - LightNVM Subsystem - Developing for an Open-Channel SSD

More information

D E N A L I S T O R A G E I N T E R F A C E. Laura Caulfield Senior Software Engineer. Arie van der Hoeven Principal Program Manager

D E N A L I S T O R A G E I N T E R F A C E. Laura Caulfield Senior Software Engineer. Arie van der Hoeven Principal Program Manager 1 T HE D E N A L I N E X T - G E N E R A T I O N H I G H - D E N S I T Y S T O R A G E I N T E R F A C E Laura Caulfield Senior Software Engineer Arie van der Hoeven Principal Program Manager Outline Technology

More information

Chapter 9: Peripheral Devices: Magnetic Disks

Chapter 9: Peripheral Devices: Magnetic Disks Chapter 9: Peripheral Devices: Magnetic Disks Basic Disk Operation Performance Parameters and History of Improvement Example disks RAID (Redundant Arrays of Inexpensive Disks) Improving Reliability Improving

More information

LightNVM: The Linux Open-Channel SSD Subsystem Matias Bjørling (ITU, CNEX Labs), Javier González (CNEX Labs), Philippe Bonnet (ITU)

LightNVM: The Linux Open-Channel SSD Subsystem Matias Bjørling (ITU, CNEX Labs), Javier González (CNEX Labs), Philippe Bonnet (ITU) ½ LightNVM: The Linux Open-Channel SSD Subsystem Matias Bjørling (ITU, CNEX Labs), Javier González (CNEX Labs), Philippe Bonnet (ITU) 0% Writes - Read Latency 4K Random Read Latency 4K Random Read Percentile

More information