Research of Flash File System Based on Large Capacity NAND Flash Memory
- Author
- LvLian
- Advisor
- HuangDeCai
- School
- Zhejiang University of Technology
- Major
- Applied Computer Technology
- Classification
- TP333 Memory
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 250
- Citations
- 1
Abstract
Flash memory is a non-volatile storage device which still holds the data when power off. It has been widely used in various portable and embedded devices,such as PDAs, smart phones,digital cameras,MP3,MP4 and so on. As the development of embedded systems and mobile computing technology, there’s an ever-increasing amount of data to be generated and stored. On the other hand, as a result of the improvement of flash memory manufacturing technology, the capacity of flash memory is expanding and the performance vs price ratio hasbeen enhanced. Somehow, the flash file system plays an vital role in the performance of flash. Atpresent, the flash file system could be divided into two category which are traditional disk file system that runs on a flash translation layer and specific file system designed especially for flash memory. In the first method, file system manipulate the flash as a disk which undermine theperformance of flash memory. On the contrary, the latter one is intended specially for flash memory.In this paper, we did a thorough study of the current JFFS2 flash file system and analyze it’sadvantages and disadvantages. We found out the reason why JFFS2 does not work well on large capacity flash memorys which is JFFS2 does not keep indexing informations on flash device. The whole file system tree is built in RAM when JFFS2 mounting through scan the flash memory block by block which takes takes a lot of time and is unacceptable.We propose a newly designed flash file system which based on large capacity NANDflash——LFFS(Large Flash File System). LFFS file system keeps file indexing information onflash memory as well as a super block which leads to the fast mounting of LFFS. In the LFFS, flash memory is divided into several regions which has the same capacity as each other. A logic and physical region mapping table is maintained in RAM which solve the problems caused by garbage collection. LFFS performs as well as we expected in the experiment. Somehow, it still needs to be improved in many aspects, like system stability and safety, in the future we’ll keep working on it.
Table of contents
Abstract 5-6
ABSTRACT 6-12
Chapter 1 Introduction 12-21
1.1 Background 12-19
the 1.1.1 embedded systems development 12-13
The
the 1.1.2 embedded file system introduced 13-14
1.1.3 flash characteristics and the development of NAND flash memory 14-15
1.1.4 introduced flash-based file system and research status 15-19
1.2 In this paper, the main research content 19
1.3 of this paper structure 19-21
Chapter 2 Linux file system interface 21-26
2.1 Linux MTD, 21-22
2.2 Linux virtual file system 22-24
2.3 This chapter Summary 24-26
3 JFFS2 file system of research and analysis of 26-36
3.1 JFFS2 File System Overview 26-27
3.2 JFFS2 physical storage structures 27-29
3.3 JFFS2 memory data structures 29-31
3.4 JFFS2 mount 31-33
3.5 JFFS2 garbage collection strategy 33
3.6 JFFS2 of limitations 33-35
3.7 JFFS3 Introduction 35
3.8 This chapter Summary 35-36
Chapter 4 large-capacity NAND flash file system design 36-53
4.1 overall design 36-38
4.2 LFFS physical storage structure design 38-42
4.2.1 superblock design 38-40
4.2.2 directory entry design 40
4.2.3 file indexing node design 40-42
4.3 LFFS regional concepts and memory logic area mapping table 42-44
4.4 superblock management 44-47
4.5 LFFS file inode management 47-48
4.6 LFFS loaded 48
4.7 LFFS flash memory space allocated 48-50
4.8 LFFS read and write operations 50-52
4.8.1 LFFS file system read operation 50-51
4.8.2 LFFS file system writes 51-52
4.9 This chapter Summary 52-53
Chapter 5 LFFS garbage collection and wear leveling strategies 53-57
5.1 LFFS garbage collection 53-54
5.1.1 Roaming tree 53
5.1.2 LFFS garbage collection mechanism 53-54
5.2 LFFS in wear leveling strategies 54-56
5.3 This chapter Summary 56-57
the Chapter 6 LFFS file system performance testing and analysis 57-61
6.1 test platform 57-58
6.2 experimental data analysis 58-60
6.2.1 LFFS to mount memory and time consumption 58-59
6.2.2 LFFS read data analysis 59-60
6.2.3 LFFS write data analysis 60
6.3 This chapter Summary 60-61
Chapter 7 Summary and Outlook 61-63
7.1 on this article summarizes 61
7.2 future work outlook 61-63
the
References 63-66
Acknowledgements 66-67
during the degree to participate in research projects and achievements 67
Related dissertations
- Study on Nand Flash File System of the On-board Data Recorder
- The Application and Research of Flash File System Based on Real-Time System
- Design on Flight Control Data Recorder Based on Embedded USB Host
- Development of embedded data terminal platform
- Research on Flash Memory Driver and Management Technology
- The Data Exchange between NAND Flash and USB Flash Driver
- Research and Implementation of Embedded File System Based on NAND Flash
- The Design and Implementation of Power Load Management Terminal Based on NAND FLASH
- The Design of Reduced Embedded File System
- Sa-yaffs: The Design and Implementation of a Swap-aware YAFFS Nand Flash Filesystem
- Research on Storage Management and Error Control Technology of Solid-state Disk
- Research of the Important Technology of Flash File System Based on Large Capacity NAND Flash Memory
- Terminal design of fault diagnosis system of intelligent equipment under a cloud service environment
- Design of fuze data acquisition system based on ARM microprocessor
- Implementation of Windows File System Virtualization Based on Sandbox Technology
- Design and Implementation of Cross-platform Website Anti-tamper System Based on File Filter Driver
- Research on Multi-attribute-based File Organization Mechanism
- The Design and Implementation of Distributed File System Based on Linux
- The Linux Kernel Porting, Profiling Driven Development and Cryptographic Applications Based on CK810
- Research on the Malicious Codes Monitoring Technology Based on the File System