Non- sorted block image filesystem (UBIFS) Research and Implementation

Author
LiuKe
Advisor
ZhangYi
School
Chongqing University
Major
Computer Software and Theory
Classification
TP333 Memory
Degree
Master's thesis
Year
2009
Downloads
76
Citations
2

Request the full text

Abstract

With the continuous development of electronic technology, embedded systems are increasingly in control, consumer, communications and other electronic products widely used. Flash has a low cost, high capacity, non-volatile, anti-shock, etc., in today's embedded systems are widely used as external memory devices. With Flash technology maturity and capacity increases, how to efficiently manage the Flash memory-based storage systems and extend the life expectancy of the Flash memory problems are becoming constrained Flash memory bottleneck in the development and application of technology. UBIFS provides a flexible and efficient mechanism for the loss of equilibrium, in UBIFS mechanism of high-performance Flash memory wear leveling algorithms, for extending the life expectancy of the Flash memory has important significance. The analysis revealed that existing Flash file system is mainly physically erase block erase times the equilibrium level is not ideal; wear leveling in the realization of the process, part of the algorithm increases the more the erase operation such deficiencies. In response to these deficiencies, the main purpose of this paper is to propose a comprehensive consideration Flash based UBIFS available space and system I / O load balancing algorithm to loss of self-regulation to improve wear leveling Flash file system performance and I / O performance. This paper first introduces the research background and significance, wear leveling algorithm research status and main work. Secondly, it analyzes the theory of Flash, including Flash, and Flash memory devices related technology hardware features, and a variety of Flash file system is analyzed. In addition, analysis of the log-structured file system design and implementation methods and their advantages and disadvantages, and an example to analyze structured log JFFS2 Flash file system key technologies, including wear leveling algorithm, garbage collection algorithm and file data attributes for wear leveling and garbage collection algorithm design effects and verified by experiments on JFFS2 loading time and wear-leveling algorithm analysis. Finally, based on UBIFS wear leveling algorithm. Analysis of the UBIFS file system organization and management of erase block features, and protection mechanisms and wear leveling trigger conditions, on this basis, the loss given UBIFS equilibrium achieved through experimental analysis of loss of equilibrium conditions on the system I / O Performance. In UBI within the framework of an integrated system, consider the Flash available space and system I / O load balancing algorithm loss of self-regulating, the new algorithm Flash file system loss equalization performance and I / O performance improvement has been verified by experiment.

Table of contents

Abstract 3-4 ABSTRACT 4-8 1 Introduction 8-14 1.1 Background and Significance 8-9 < br /> 1.1.1 Background 8-9 1.1.2 significance 9 1.2 research status 9-13 1.2 .1 embedded system development status 9-11 1.2.2 wear leveling algorithm 11-13 1.3 The purpose of this study and the content 13-14 1.3.1 Objective 13 1.3.2 research 13-14 2 FLASH theories 14-36 2.1 FLASH memory technology 14-20 2.1.1 Overview 14-17 2.1.2 NAND FLASH internal structure 17-18 2.1.3 NAND FLASH technical characteristics 18-19 2.1.4 NAND FLASH instruction 19-20 2.2 FLASH memory storage device 20-24 2.2.1 FLASH storage system architecture 20-21 2.2.2 FLASH controller-based storage devices 21-23 2.2.3 MTD device 23 -24 2.3 FLASH file system 24-35 2.3.1 Introduction 24-25 2.3.2 FTL 25-26 <br / > 2.3.3 JFF52 26-28 2.3.4 UBI / UBIFS 28-29 2.3.5 YAFF52 29-32 2.3. 6 LogFS 32-35 2.4 Summary 35-36 3 log-structured file system FLASH key technology 36-45 3.1 Structured journaling file system 36-38 3.1.1 Structured journaling file system design ideas 36 3.1.2 Structured log file system implementation 36 - 37 3.1.3 Structured journaling file system advantages and disadvantages 37-38 3.2 log-structured file system in the FLASH application 38-44 3.2.1 Structured log FLASH file system 39-41 3.2.2 loss of balance and garbage collection 41-43 3.2.3 data attributes for wear leveling and garbage Recovery from 43-44 3.3 Chapter Summary 44-45 4 loss equalization algorithm based UBIFS achieve 45-66 4.1 UBIFS file system of organization and management of the physical block 45-48 4.1.1 header data 45-46 4.1.2 physical block status 46-48 4.1.3 physical block management 48 4.1.4 Loss of the physical erase block equalization unit organization 48 4.2 FLASH on the data structure 48-51 4.2.1 erase head on the block structure 48-49 4.2.2 erase counter update 49-51 4.2. three logical mapping the structure of the head mounting 51 4.3 memory data structures 51-54 4.3.1 Linux kernel linked list 51 4.3 .2 red-black tree 51-53 4.3.3 WL node 53-54 4.4 protection mechanisms 54 4.5 nbsp wear leveling trigger conditions ; 54-55 4.6 UBIFS loss of equilibrium in the realization 55 4.7 loss of balance on the system I / O performance of 55-57 4.7. an experimental environment 56 4.7.2 Experimental results and analysis 56-57 4.8 self-regulating wear leveling algorithm 57-65 4.8. an algorithm analysis 58-59 4.8.2 Algorithm 59-62 4.8.3 Experimental Analysis 62-65 4.9 Chapter Summary 65-66 5 Summary and Outlook 66-68 5.1 Summary 66-67 5.2 Prospects 67-68 <br / > Thanks 68-69 References 69-72 Appendix 72 authors master's thesis and published papers 72

Related dissertations

  1. Solid state disk storage management strategies and implementation techniques
  2. The Design of Small Coal Mine Remote Monitoring System Based on ARM
    XuJin ·Northeastern University ·2011 ·Master's thesis
  3. Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
    GuoJian ·Central South University ·2013 ·Master's thesis
  4. The Research and Design of Embedded Graphic Remote Monitor Terminal
    DengBoWen ·Harbin Engineering University ·2013 ·Master's thesis
  5. Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
    ZhangYanYan ·Dalian Polytechnic University ·2011 ·Master's thesis
  6. The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station
  7. Design of Data Recording Device
    GuoQiaoLian ·University of North ·2014 ·Master's thesis
  8. The Research for the Engraving Machine Control System Based on ARM and FPGA
    FanJianFeng ·Xi'an University of Engineering ·2012 ·Master's thesis
  9. Design and Implementation of Control System for Stabilized Platform Based on Embedded System
    SunXiLong ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Study on the Control System of Lower Limbs Rehabilitative and Fitness Robot
    YangKe ·Hefei University of Technology ·2013 ·Master's thesis
  11. The Research of Embedded Web Sensor Node
    HeShuangWang ·Hebei University of Technology ·2012 ·Master's thesis
  12. The Research of Embedded Image Processing Technology Based on ARM
    WangXueBin ·Hebei University of Technology ·2013 ·Master's thesis
  13. The Research and Realization of Target Tracking Algorithms on Embedded Platform
  14. The Core Algorithm Research and System Implementation of Embedded Image Information Processing System
    LiXiang ·Zhejiang University ·2012 ·Doctoral dissertation
  15. Development of embedded network fingerprint attendance system
    GaoHongChao ·Heilongjiang University ·2013 ·Master's thesis
  16. A Drowning Features Recognition System Based on AIS
    GuoChangSheng ·Donghua University ·2014 ·Master's thesis
  17. Instant FLASH Display System on Mobile Devices Based on XMPP
    XiaoRenYuan ·Harbin Institute of Technology ·2013 ·Master's thesis
  18. Design and Implement a Bitmap Render Engine of Youli Corporation for Flash Game Development
  19. Based on FLASH of Interactive Multimedia Courseware Design and Production
    DiYingJie ·South China University of Technology ·2013 ·Master's thesis
  20. Design and Implementation of Automated GUI Testing Framework Based on Android