The Design and Implementation of the FTL Algorithm for Key-value Storage

Author
YanFei
Advisor
CaiLiang
School
Zhejiang University
Major
Applied Computer Technology
Classification
TP333 Memory
Degree
Master's thesis
Year
2013
Downloads
5
Citations
0

Request the full text

Abstract

With flash memory and key-value storagebecoming increasingly popular in the enterprise applications,how to improve the performance of key-value storage on flash memory is also a growing study concern. Compared to traditional hard drives, flash memory provide faster random read and write speeds, but in rewriting the existing data must be erased first. To make replacing traditional hard disk with flash memory more convenient, flash memory add theFlash TranslationLayer(FTL) to encapsulate the underlying characteristics. Redesigning the Flash Translation Layer algorithm which targets the key-value store on flash memory can improve read and write performance in the end.Based on the study and summarize of the Flash Translation Layer algorithms, this paper has a detailed analysis of the read and write performance of the in-page logging. In addition, based on key-value store, this paper analyzes and summarizes the in-page logging deficiencies. Then this paper brings up a new Flash Translation Layer algorithm based on the key-value store on flash memory, the in group update method. With the detailed description of the in group update algorithm, this paper has the analysis and comparison of the read and write performance ofthree algorithms, including the traditional FTL algorithm, the in-page logging and the in group update method.At last, this paper simulates the Flash Translation Layer and three Flash Translation Layer algorithms, including the traditional FTL algorithm, the in-page logging and the ingroup update method. And with the simulation experiments using three different data types, it has been concluded that the in-page logging performance is generally higher than the traditional FTL algorithm, while the performance of the in group update method is still better than the in-page logging.

Table of contents

Summary 3-4 Abstract 4-11 Chapter 1 Introduction 11-14 1.1 Background 11-12 1.2 Research objectives 12 1.3 thesis structure related research algorithms 12-14 Chapter 2 Flash Translation Layer 14-29 <br / > 2.1 Flash related features 14-16 2.1.1 does not support in-situ update nbsp 14-15 2.1.2 random read operations ; 15 2.1.3 write asymmetry 15-16 2.2 Flash Translation Layer 16 2.3 flash algorithms research 16-28 2.3. an address mapping algorithm 17-19 2.3.2 buffer replacement algorithm 19-23 2.3.3 Flash conversion layer analysis algorithms for database storage 23 -28 2.4 performance Analysis of existing algorithms and summary 28 2.5 summary 28-29 Chapter 3 for key-value storage FTL algorithm design 29-49 within 3.1 log law 29-32 3.1.1 page log method design 29 3.1.2 page within the log method performance analysis 29-32 law within the 3.2 update algorithm design group 32-42 3.2.1 background 32-33 3.2 within .2 group Update method 33-42 3.3 group Update method algorithm performance analysis and comparison 42-48 3.3.1 read Operation performance analysis and comparison 43 3.3.2 sequential write performance analysis and comparison 43-45 3.3.3 random write performance analysis and comparison 45-46 3.3 .4 algorithm based key-value storage performance analysis and comparison algorithm limitations within 46-47 3.3.5 update method of the group and lack 47-48 3.4 of this chapter Summary simulation and implementation 48-49 Chapter 4 Flash conversion layer and the group updated law 49-68 4.1 flash analog conversion layer and implementation 49-50 analog 4.2 key-value store and implementation 50-52 traditional analog 4.3 FTL algorithms and implementation 52-56 4.3.1 tradition FTL algorithms document management 52-54 traditional cache management 4.3.2 FTL algorithms 54 4.3.3 FTL algorithms traditional storage management 54-55 4.3.4 FTL algorithms traditional process simulation and implementation 55-56 within 4.4 log law 56-63 4.4.1 page the log file management method 57-59 4.4.2 page cache management nbsp the log law ; storage management within 59-60 4.4.3 page log law layer processes within 4.4.4 on page 60 log law 60-63 4.5 group Update method simulation and implementation 63-67 4.5.1 group Update method of the file storage layer cache management group 63-64 4.5.2 update method within 64-65 4.5.3 update within the group Law storage management processes within 65-66 4.5.4 group Update method 66-67 4.6 Summary 67-68 Chapter 5 experiments and analysis 68-78 5.1 simulation background 68-69 5.2 writes experimental results and analysis 69-72 <br / > write to flash 5.2.1 experimental results and analysis of data on writes experiment 69-71 5.2.2 cache data results and analysis 71-72 5.3 experimental results and analysis of the read operation 72-75 5.3.1 random read test results and analysis 73-74 5.3.2 sequential read test results and analysis experimental results 74-75 5.4 random read and write operations and analysis 75-76 5.5 summary 76-78 summary and Chapter 6 Looking 78-80 6.1 thesis summary 78-79 6.2 future 79-80 References 80-82 Thanks 82

Related dissertations

  1. Multi-channel SSD storage system design
  2. Solid state disk storage management strategies and implementation techniques
  3. Research and Implementation on Introducing Flash into Multi-level Storage Architecture
  4. SSD controller wear leveling algorithm
    GaoLiSen ·Shanghai Jiaotong University ·2011 ·Master's thesis
  5. Design of Data Recording Device
    GuoQiaoLian ·University of North ·2014 ·Master's thesis
  6. Three-Layout Key/Value Index System Base on JB~c-LSM
    YangMingYa ·Xiamen University ·2014 ·Master's thesis
  7. Instant FLASH Display System on Mobile Devices Based on XMPP
    XiaoRenYuan ·Harbin Institute of Technology ·2013 ·Master's thesis
  8. Design and Implement a Bitmap Render Engine of Youli Corporation for Flash Game Development
  9. Based on FLASH of Interactive Multimedia Courseware Design and Production
    DiYingJie ·South China University of Technology ·2013 ·Master's thesis
  10. Replica Consistency Management Stratege of Metadata Cluster for Key-value Stores
  11. The Design and Realization of Network Teaching System Based on Flash
  12. Study and Design of Examination System for Experiment Course
    SuJingGang ·Jilin University ·2013 ·Master's thesis
  13. The Method of Flash Based Mass Non-relation Storage
    NiuZuoZuo ·Harbin Institute of Technology ·2012 ·Master's thesis
  14. Design and Optimization of Flash Translation Layer for SSD
  15. Design and Optimization of Solid State Storage System Based on Nand Flash
  16. Research of Hybrid Storage Based on File Access Randomness and Hotness
  17. Research and Implementation of Parallel Storage System Based on NAND Flash
    PengJun ·Hunan University ·2013 ·Master's thesis
  18. Memory Data Management Algorithm Research of Embedded System Based on NAND Flash
    XiaoZuo ·Central South University ·2013 ·Master's thesis
  19. Energy-Efficient Join Algorithms in Multi-Memory Hierarchies
    LiuMingChao ·Zhejiang University of Technology ·2013 ·Master's thesis
  20. Research of Teaching Design and Application Based on Virtual Chemical Experiment Platform of Junior Middle School
    ZhuMin ·Northwest Normal University ·2013 ·Master's thesis