The Investigation and Implementation of JFFS2 Storage

Author
ChaFeng
Advisor
WangJian , WangZhanJie
School
Dalian University of Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
261
Citations
3

Request the full text

Abstract

With the development of the embedded systems, the embedded operating system is widely used. As a result, the fileystem plays a critical role in the whole system. JFFS2 is a log-structured filesystem which is based on the flash memory. As a purely log-structured system, JFFS2 adapts completely new storage scheme, which is designed to meet the requirement of the wear-leveling and garbage-collection.At present, JFFS2 is growing perfect and mature increasingly, but because of the restrictions imposed by the flash technology and the designing aim of the JFFS2, there are several drawbacks still. It was designed for relatively small flash chips and has serious problems when it is used on large flash devices. It takes too much time to mount the filesystem. During the process, in order to manage the filesystem effectively, the system has to build many data structures which are necessary and inevitable. Furthermore, the memory spend on these data structure is a huge amount, compared with the relatively small memory in the embedded system, and meanwhile, the time complexity is linear with n, which is the amount of the node.The improvement strategy is to trade the the space for the time, it stores all the significant memory structure on the flash during umount process and reads all these information from it directly. Therefore, it becomes simpler to build the data structure and the system. For the sake of this, the first erase block is saved for the index information, by which the system can find out all the information stored in the flash before. The first mount is same to the original process and the system will store the information during the umount if there is no accidents.From the second time, all the mount processes just read the necessay information from the flash and there is wear-leveling issue due to the erasing time lower than the average number.According to the datas from the Arm-Linux platform, it proves that the improvement strategy speeds the process of the mount in a certait extent.

Table of contents

Abstract 3-4 Abstract 4-6 1 Introduction 6-10 1.1 subject background 6-7 < br / > 1.2 embedded file system requirements nbsp 7-8 1.3 embedded file system overview of the development ; 8-9 1.4 thesis work 9-10 2 Linux file system interface the 10-20 2.1 embedded Linux system 10-12 2.2 virtual file system 12-16 < br / > 2.3 Linux MTD introduced 16-20 JFFS2 research and analysis of the mechanism the 20-34 3.1 JFFS2 file system features 20-32 <br / > 3.1.1 JFFS2 file system storage management 21-24 3.1.2 JFFS2 garbage collection policy analysis 24-25 3.1.3 JFFS2 file system mount process Analysis 25-31 3.1.4 JFFS2 file system fault tolerance check mechanism analysis the 31-32 3.2 JFFS2 files , system limitations 32-34 4 JFFS2 improved storage solutions 34-47 4.1 design 34-35 4.2 improvement program to achieve 35-47 < br / > 5 experimental test 47-55 5.1 experimental platform introduced 47 5.2 the establishment of a cross-compiler environment 47-49 5.3 experimental Procedure 49-54 5.4 experimental data and results analysis 54-55 conclusion 55-56 Ref. 56-59 < br / > Acknowledgements 59-60 Dalian University degree thesis the copyright use the power of attorney to 60

Related dissertations

  1. The Design and Practice of Embedded Linux File System
    WuZuo ·Suzhou University ·2003 ·Master's thesis
  2. The Improvement and Implementation of High-Powered Linux File System Based on Larger Flash Stroage
    ChenYiFei ·Tongji University ·2007 ·Master's thesis
  3. Design of Data Recording Device
    GuoQiaoLian ·University of North ·2014 ·Master's thesis
  4. Instant FLASH Display System on Mobile Devices Based on XMPP
    XiaoRenYuan ·Harbin Institute of Technology ·2013 ·Master's thesis
  5. Design and Implement a Bitmap Render Engine of Youli Corporation for Flash Game Development
  6. Based on FLASH of Interactive Multimedia Courseware Design and Production
    DiYingJie ·South China University of Technology ·2013 ·Master's thesis
  7. The Design and Realization of Network Teaching System Based on Flash
  8. Study and Design of Examination System for Experiment Course
    SuJingGang ·Jilin University ·2013 ·Master's thesis
  9. The Method of Flash Based Mass Non-relation Storage
    NiuZuoZuo ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Design and Optimization of Flash Translation Layer for SSD
  11. Design and Optimization of Solid State Storage System Based on Nand Flash
  12. Research of Teaching Design and Application Based on Virtual Chemical Experiment Platform of Junior Middle School
    ZhuMin ·Northwest Normal University ·2013 ·Master's thesis
  13. Study on twentieth Century 30's Mount Huangshan development and Mount Huangshan figure creation with "yellow club" members Huang Binhong, Zhang Daqian, Wang are picked from the tea trees with as an example
    ZhangSuZuo ·China Academy of Art ·2013 ·Doctoral dissertation
  14. Design and Implementation of a Tree Diameter Recorder Based on Tape Sensor
    ChenJinXing ·Zhejiang Forestry University ·2013 ·Master's thesis
  15. The Research on the Design of Vehicle Mounting Systems Based on Uncertainty Analysis
    XieZhan ·Hunan University ·2013 ·Master's thesis
  16. Research and Implementation of Kinetic Parameters, Measuring Device
    WuYongPeng ·University of North ·2014 ·Master's thesis
  17. The Development of the Hybrid Coding Can Be Encrypted Data Logger
    LiBin ·University of North ·2014 ·Master's thesis
  18. Simulation of Methanol Recovery Section of Typical Biodiesel Production Process via Supercritical Method
    ChenPing ·Wuhan Institute of Technology ·2010 ·Master's thesis
  19. The Research of Multi-channel Flight Temperature Test System
    WangWenWu ·University of North ·2012 ·Master's thesis
  20. Design and Realization on the Modular and Large-capacity Testing System
    DongGangGang ·University of North ·2012 ·Master's thesis