A Swap System on NAND Flash with Compressed Cache

Author
GuFengLei
Advisor
BuFengLin
School
Shanghai Jiaotong University
Major
Software Engineering
Classification
TP333 Memory
Degree
Master's thesis
Year
2008
Downloads
108
Citations
0

Request the full text

Abstract

As a substitute for the disk, NAND flash memory is widely used in portable devices. However, in most cases, NAND flash memory is being used as a mass data storage. With smart phones, handheld computers and other high-end embedded devices on the memory usage demand increases rapidly, there will be more and more research focus on how to expand the available memory space for embedded devices, one of which is in the NAND flash memory research create the swap system. Exchange systems are used in almost all modern operating systems. The traditional exchange systems are built on a separate disk partition swap partition, making the system for greater efficiency in the implementation of memory space is not lost. Compared to the disk device, NAND flash memory with high-speed, low power, seismic, and other excellent stability characteristics, can be considered in the NAND exchange system is to establish realistic and meaningful. Although NAND compared to the disk has a variety of excellent features, but the NAND has a fatal weakness, that NAND has endurance limit. Endurance of a block number exceeds the limit could damage the block, the face of frequent exchange system to read and write, can avoid premature wear of the NAND NAND exchange system to become focus of the study. For how to slow NAND wear, this paper presents a new NAND-based switching system architecture SNSS (Smart NAND Swap System). Compared to the conventional switching system, SNSS the advantage of the switching system into the compression cache mechanism, and on this basis, creative and selective collection strategy proposed two compression strategy, the use of these mechanisms and strategies, making the system for NAND greatly reduced the number of visits. Actual compression cache in memory and NAND swap space is created between a middle layer - compressed cache partition. SNSS is designed in accordance with the compression and NAND cache partition share the same swap partition \Compression cache partition as a swap partition NAND cache exists, in order to reduce the NAND read and write operations. NAND write overhead for larger features, SNSS propose two recovery strategy, that page in memory recovery strategies still perform traditional LRU strategy, and in particular the compression cache partition recovery strategy execution. The latter is mainly based on the NAND operation \And as far as possible \Furthermore, SNSS use of selective compression strategy, that when the compression rate is not satisfactory, the system will choose not compressed to save execution time. By SNSS model tests to demonstrate use of compressed cache policy NAND exchange system, compared to the traditional approach, and without loss of efficiency in the implementation of the system under the conditions, you can write operation will reduce the number of NAND nearly half, NAND life can growth nearly doubled.

Table of contents

Abstract 3-5 ABSTRACT 5-11 first chapter 11-14 1.1 Introduction 11-12 1.2 goals 12 1.3 research 12-13 1.4 chapters arranged 13 1.5 Summary 13-14 Chapter research background 14-23 2.1 FLASH memory 14-16 2.1.1 Flash memory segment 14-15 <br / > 2.1.2 Flash performance comparison 15-16 2.2 NAND FLASH 16-17 2.2.1 NAND structure 16 2.2.2 NAND features 16-17 2.3 virtual memory management 17-19 2.3.1 MMU and virtual memory space 17-18 2.3. 2 TLB and page table 18-19 2.4 Switching System 19-21 2.4.1-demand paging and swapping technology 19 2.4. 2 switching system 19-21 2.5 Feasibility Analysis 21-22 2.6 Chapter Summary 22-23 chapter related research 23-31 3.1 NAND research 23-27 3.1.1 hardware research 23-24 3.1.2 software research 24 -27 3.2 the swap system research 27-28 3.2.1 on page replacement algorithm 27-28 3.2.2 Non-disk media exchange System 28 3.3 introduces compression switching technology research 28-30 3.4 Summary 30-31 Chapter SNSS Design and Implementation 31-47 4.1 SNSS design goals 31 4.2 SNSS design principles 31-33 4.2.1 NAND traditional exchange systems 31-33 4.2.2 SNSS design principles 33 4.3 SNSS frame design 33-42 4.3.1 SNSS general framework 33 -34 4.3.2 Mapping management module 34-38 4.3.3 Dynamic management module 38-40 4.3.4 switching equipment access module 40-42 4.4 SNSS Strategies 42-46 4.4.1 two recovery strategies 42-45 4.4.2 selective compression strategy 45-46 4.5 Chapter Summary 46-47 Chapter testing and analysis 47-53 5.1 Performance simulation tests 47 - 50 5.1.1 Comparison of available memory 47-49 5.1.2 Rate and write cycles compared 49-50 5.2 caching effects test 50 -51 5.3 \ 6.1 topics discussed 53 6.2 Future work 53-54 6.3 article summarizes 54-55 References 55-58 Thanks 58-59 master's papers have been published during the 59-61

Related dissertations

  1. Research on Geographical Raster Data Compression and Geographical Scene Management
  2. Design and Implementation of High Speed Data Recorder Based on FPGA
  3. The Design and Implementation of a Delivery and Scheduling System for Video Files
  4. Research on the Technologies of Internet Traffic Localiztion
    YuJiang ·Jilin University ·2013 ·Master's thesis
  5. An Efficient Hardware Architecture Design of Texture Mapping Unit
    ZhaoGuoYu ·Tianjin University ·2012 ·Master's thesis
  6. The Research of Data Cube Incremental Calculation Method in OLAP
    PengBing ·Hunan University ·2013 ·Master's thesis
  7. Research on Key Technologies for the Client of Distributed File System
  8. Design and Implementation of Online Examination System of Shanghai Television Video University
    LiZuo ·Dalian University of Technology ·2013 ·Master's thesis
  9. Research on Digital Rights Management Based on Risk
    CuiNingNing ·Beijing Jiaotong University ·2014 ·Master's thesis
  10. Research of Protocol Adaption and Cache Management of Cloud Storage Gateway
  11. Evaluate the Performance of Storage System by Mathematical Modeling Methods
    DiaoYing ·Harbin Engineering University ·2013 ·Doctoral dissertation
  12. Research and Design of Storage Organization and Index on Main Memory Database
    LiuZheYi ·Hunan University ·2013 ·Master's thesis
  13. Research and Implementation of Memory Optimization Based on Parallel Computing Engine Spark
    FengLin ·Tsinghua University ·2013 ·Master's thesis
  14. Energy-Efficient Management for Memory System Based on Access Patterns of Applications
    ZhangTieFei ·Zhejiang University ·2013 ·Doctoral dissertation
  15. Software Optimization Techniques for Small Instruction Caches
    ChenChen ·Zhejiang University ·2014 ·Master's thesis
  16. Key Techniques Research of Memory in Homogeneous General Purpose Stream Processor
  17. The Simulation and Implementation of Processor Register Level for OpenRISC
    TangJianQiu ·Hunan University ·2013 ·Master's thesis
  18. Research on Power Optimization of Cache Architecture Design
    XiangXiaoYan ·Zhejiang University ·2013 ·Doctoral dissertation
  19. The Analysis and Design of Low_power Reconfigurable Cache in Embeded System
    LiuXiaoFeng ·Hunan University ·2013 ·Master's thesis
  20. The Design and Implementation of Embedded Flash Accelerator
    WangZuoBo ·Zhejiang University ·2014 ·Master's thesis