An Adaptive Data Separation Aware FTL for Improving the Garbage Collection Efficiency of Solid State Drives Wei Xie and Yong Chen Texas Tech University.

Slides:



Advertisements
Similar presentations
Paper by: Yu Li, Jianliang Xu, Byron Choi, and Haibo Hu Department of Computer Science Hong Kong Baptist University Slides and Presentation By: Justin.
Advertisements

Background Virtual memory – separation of user logical memory from physical memory. Only part of the program needs to be in memory for execution. Logical.
1 A Hybrid Adaptive Feedback Based Prefetcher Santhosh Verma, David Koppelman and Lu Peng Louisiana State University.
Myoungsoo Jung (UT Dallas) Mahmut Kandemir (PSU)
1 Stochastic Modeling of Large-Scale Solid-State Storage Systems: Analysis, Design Tradeoffs and Optimization Yongkun Li, Patrick P. C. Lee and John C.S.
Trading Flash Translation Layer For Performance and Lifetime
International Conference on Supercomputing June 12, 2009
Impact of Data Locality on Garbage Collection in SSDs: A General Analytical Study Yongkun Li, Patrick P. C. Lee, John C. S. Lui, Yinlong Xu The Chinese.
Boost Write Performance for DBMS on Solid State Drive Yu LI.
Memory Problems Prof. Sin-Min Lee Department of Mathematics and Computer Sciences.
File System Structure §File structure l Logical storage unit l Collection of related information §File system resides on secondary storage (disks). §File.
Ji-Yong Shin Cornell University In collaboration with Mahesh Balakrishnan (MSR SVC), Tudor Marian (Google), and Hakim Weatherspoon (Cornell) Gecko: Contention-Oblivious.
Solid State Drive Feb 15. NAND Flash Memory Main storage component of Solid State Drive (SSD) USB Drive, cell phone, touch pad…
Operating Systems CMPSC 473 I/O Management (2) December Lecture 24 Instructor: Bhuvan Urgaonkar.
Understanding Intrinsic Characteristics and System Implications of Flash Memory based Solid State Drives Feng Chen, David A. Koufaty, and Xiaodong Zhang.
Flashing Up the Storage Layer I. Koltsidas, S. D. Viglas (U of Edinburgh), VLDB 2008 Shimin Chen Big Data Reading Group.
Origianal Work Of Hyojun Kim and Seongjun Ahn
Logging in Flash-based Database Systems Lu Zeping
Speaker: 吳晋賢 (Chin-Hsien Wu) Embedded Computing and Applications Lab Department of Electronic Engineering National Taiwan University of Science and Technology,
DFTL: A flash translation layer employing demand-based selective caching of page-level address mappings A. gupta, Y. Kim, B. Urgaonkar, Penn State ASPLOS.
Embedded System Lab. Jung Young Jin The Design and Implementation of a Log-Structured File System D. Ma, J. Feng, and G. Li. LazyFTL:
Introduction to F2FS SRC-Nanjing Chao Yu. 2/23 1.Overview 2.Design 3.Performance 4.TODO Contents.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 12: File System Implementation File System Structure File System Implementation.
Operating Systems CMPSC 473 I/O Management (3) December 07, Lecture 24 Instructor: Bhuvan Urgaonkar.
A Semi-Preemptive Garbage Collector for Solid State Drives
연세대학교 Yonsei University Data Processing Systems for Solid State Drive Yonsei University Mincheol Shin
Lecture 22 SSD. LFS review Good for …? Bad for …? How to write in LFS? How to read in LFS?
ExLRU : A Unified Write Buffer Cache Management for Flash Memory EMSOFT '11 Liang Shi 1,2, Jianhua Li 1,2, Chun Jason Xue 1, Chengmo Yang 3 and Xuehai.
Sungkyunkwan University Sector Level Mappinng FTL Computer engineering, Sungkyunkwan Univ. Oh Gihwan, Han Gyuhwa, Hong Gyeonghwan Jasmine Open-SSD Project.
Embedded System Lab. 정영진 The Design and Implementation of a Log-Structured File System Mendel Rosenblum and John K. Ousterhout ACM Transactions.
Computer Performance. Hard Drive - HDD Stores your files, programs, and information. If it gets full, you can’t save any more. Measured in bytes (KB,
Transactional Flash V. Prabhakaran, T. L. Rodeheffer, L. Zhou (MSR, Silicon Valley), OSDI 2008 Shimin Chen Big Data Reading Group.
 The emerged flash-memory based solid state drives (SSDs) have rapidly replaced the traditional hard disk drives (HDDs) in many applications.  Characteristics.
Chin-Hsien Wu & Tei-Wei Kuo
Elastic Parity Logging for SSD RAID Arrays Yongkun Li*, Helen Chan #, Patrick P. C. Lee #, Yinlong Xu* *University of Science and Technology of China #
Solid State Disk Prof. Moinuddin Qureshi Georgia Tech.
April 9-10, 2015 Texas Tech University Semiannual Meeting Unistore: A Unified Storage Architecture for Cloud Computing Project Members: Wei Xie,
Internal Parallelism of Flash Memory-Based Solid-State Drives
COS 518: Advanced Computer Systems Lecture 8 Michael Freedman
Storage Devices CS 161: Lecture 11 3/21/17.
Lesson Objectives Aims Key Words Paging, Segmentation, Virtual Memory
FlashTier: A Lightweight, Consistent and Durable Storage Cache
QoS-aware Flash Memory Controller
Non Contiguous Memory Allocation
Understanding Modern Flash Memory Systems
File-System Implementation
Parallel-DFTL: A Flash Translation Layer that Exploits Internal Parallelism in Solid State Drives Wei Xie1 , Yong Chen1 and Philip C. Roth2 1. Texas Tech.
Lecture 15 Flash Memory File Systems Dec. 13, 2016 Kyu Ho Park
Unistore: A Unified Storage Architecture for Cloud Computing
Write-hotness Aware Retention Management: Efficient Hot/Cold Data Partitioning for SSDs Saugata Ghose ▪ joint.
Operating Systems ECE344 Lecture 11: SSD Ding Yuan
Jiang Zhou, Wei Xie, Dong Dai, and Yong Chen
Repairing Write Performance on Flash Devices
Disk scheduling In multiprogramming systems several different processes may want to use the system's resources simultaneously. The disk drive needs some.
COS 518: Advanced Computer Systems Lecture 8 Michael Freedman
CPSC 457 Operating Systems
Overheads for Computers as Components 2nd ed.
Overview: File system implementation (cont)
PARAMETER-AWARE I/O MANAGEMENT FOR SOLID STATE DISKS
Parallel Garbage Collection in Solid State Drives (SSDs)
Use ECP, not ECC, for hard failures in resistive memories
Contents Memory types & memory hierarchy Virtual memory (VM)
Lecture 11: Flash Memory and File System Abstraction
Chapter 14: File-System Implementation
COMP755 Advanced Operating Systems
COS 518: Advanced Computer Systems Lecture 9 Michael Freedman
Memory Management & Virtual Memory
Introduction to Operating Systems
Dong Hyun Kang, Changwoo Min, Young Ik Eom
The Design and Implementation of a Log-Structured File System
Presentation transcript:

An Adaptive Data Separation Aware FTL for Improving the Garbage Collection Efficiency of Solid State Drives Wei Xie and Yong Chen Texas Tech University CCGrid 2014 Poster Program Lightning Talk 27 May 2014

Solid State Drive and its Internals Flash based SSDs Now replacing HDDs in many applications for mainly for its better performance. Price falling down quickly. SSD Internals Cache Management. Flash Translation Layer: Mapping policy. Garbage collection. Wear leveling. Qingsong, W., Bozhao, G., Pathak, S., Veeravalli, B., Lingfang, Z., & Okada, K. (2011). WAFTL: A workload adaptive flash translation layer with data partition. 2011 IEEE 27th Symposium on Mass Storage Systems and Technologies (MSST), 1–12. doi:10.1109/MSST.2011.5937217

The motivation of Demand based page-mapping FTL Mapping scheme needed. But at what granularity? Page-mapping is good but expensive. 128GB SSD need 256MB on device RAM space for page mapping, assuming a page entry need 4 Bytes to store mapping table info. Cost too much. And large granularity mapping at block could degrade performance. Block mapping(in unit of 128KB): only 4MB RAM space needed. But need to sacrifice random write performance. Solution: Caching the page mapping table: DFTL(Demand based FTL) Map Table Entry Page Mapping Block Mapping Page Mapping RAM Data Block Data Block Data Block Map Table Map Table Entry Entry Translation Block Entry RAM RAM Flash

Garbage Collection Need to reclaim used pages when the memory is full(or reaching a threshold). Introduce extra overhead: Valid data need to be copied out. Overhead is large when hot/cold data are mixed. Mix of hot and cold 8 pages copied out 0 pages copied out Cold Hot 2 block(16 pages) erased 1 block(8 pages) erased invalid invalid valid invalid Get 16 free pages(8 net free pages) Get 8 free pages(8 net free pages) valid valid valid invalid Garbage Collection Efficiency: (16-8)/16=50% Garbage Collection Efficiency: (8-0)/8=100% 2 blocks, 16 pages 2 blocks, 16 pages

Hot/cold separation The number of pages need to be copied during GC is reduced by hot/cold data separation. How to detect hot/cold? Based on the recency. How to store hot/cold information? Store in Flash and selective cached in RAM like the map table in DFTL since hotness info could be big too. How to update the hot/cold information? Update immediately when in cache, asynchronously when in Flash. How to determine the separation criteria? Hot/cold information randomly sampled and criteria determined based on the sampled hotness info.

Evaluation Implemented in FlashSim. Simulated on Financial1, Microsoft Cambridge, TPCC1 and synthetic workloads. Up to 33% GC overhead reduced. Up to 15% average response time reduced.

Conclusions We proposed a method for separation hot/cold data: using sampling and selective caching the hotness information. The method is light-weight: it use small on-device RAM space and minimal computation. The method is effective: it reduces the GC overhead and thus improves the performance of the SSDs.

Thanks! For more info, please visit: http://discl.cs.ttu.edu Q&A Thanks! For more info, please visit: http://discl.cs.ttu.edu