Research and Implementation of the File System on Large-scale NAND Flash Based on VxWorks
- Author
- ZhangHui
- Advisor
- ZuoYiHui
- School
- National University of Defense Science and Technology
- Major
- Computer technology
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 141
- Citations
- 2
Abstract
NAND Flash memory by virtue of its large capacity, anti-vibration, high cost performance advantages, as the data storage devices in embedded systems are widely used. The design and development of a dedicated file system for NAND Flash has also become an important part of the field of embedded development. Especially with the rising capacity of NAND Flash, how effective for the changes in the physical characteristics for embedded systems to provide efficient and reliable file system support, is the starting point of this study. Under a large-capacity NAND Flash device storage system design requirements based on the subject of the project on VxWorks, embedded development platform use the MPC8379E microprocessor and VxWorks6.6 of operating system, the following research and achieve work: 1) by studying the VxWorks I / O system block device driver mechanism and its file system characteristics, TrueFFS driver for VxWorks compatible technology for high-capacity NAND Flash can not provide better support for the case, two large-capacity NAND Flash device storage systems: transplant NFTL module or transplantation the YAFFS2 file systems. Transplantation provided the first to achieve NAND Flash device driver. 2) through the analysis of the the MPC8379E hardware architecture and its Flash control unit (FCM) interface characteristics of NAND Flash interface and operation, to study the mechanism on the basis of the VxWorks device drivers under VxWorks and NAND Flash device hardware drivers. 3) study the NFTL the storage management mechanism NFTL to VxWorks transplant. On this basis under VxWorks TrueFFS-based NAND Flash File System. 4) through the analysis of the The NFTL application defect exists in large-capacity NAND Flash, the use of large-capacity NAND Flash hardware characteristics and structural characteristics, from mount speed read and write performance and reliability of the NFTL optimized design and realization. 5) the realization of the principle of Direct way through research YAFFS2 file system interface characteristics, based association under VxWorks I / O system and file system analysis YAFFS2 file system transplanted to the VxWorks operating system. Finally, based on the VxWorks platform both for large-capacity NAND Flash file system: use of the the conversion layer NFTL class log structure YAFFS use the performance test comparison. The data show that both file systems have their own advantages and disadvantages, to timely choose to use different application environments.
Table of contents
Summary 10-11
ABSTRACT 11-12
The first chapter 12-18
1.1 Background 12-16 < br /> of 1.1.1 embedded system VxWorks operating system 12
1.1.2 NAND Flash characteristics and development 12-13
1.1.3 NAND Flash File System Features and development status 13-16
1.2 thesis research content 16-17
1.3 The structure of the paper 17-18
second chapter VxWorks I / O device driver mechanism and its Flash file system 18-32
2.1 VxWorks the I / O device and file system 18-19
2.2 VxWorks I / O system block device driver mechanism analysis the 19-23 2.2.1 VxWorks the I / O system and block device data structure
19-22
2.2.2 I / O system on the block device the process of accessing 22-23
2.3 VxWorks 6.6 Flash File System under 23-31
2.3.1 TrueFFS for VxWorks6.6 24-26
2.3.2 DosFS connection with TrueFFS system 26-29
2.3.3 TrueFFS, for the NAND Flash support VxWorks6.6 on large-capacity analysis 29-30
2.3. 4 VxWorks design of large-capacity NAND Flash File System 30-31
2.4 Chapter Summary 31-32
Chapter VxWorks NAND Flash device driver implementation 32-43
3.1 the hardware architecture FCM storage control mechanisms 32-35
3.1.1 FCM related registers and configuration 32-33
3.1.2 FCM characteristics and control mechanisms 33-35
3.2 NAND Flash memory operation characteristics 35-38
3.3 the VxWorks system drive mechanism analysis 38-39
3.4 hardware driver design and implementation of 39-42
3.5 Chapter Summary 42-43
Chapter The NFTL the transplantation of TrueFFS in VxWorks achieve 43 -53
4.1 NFTL storage management mechanism analysis 43-49
4.1.1 NFTL is stored the management log structure and its form of organization 43-44
4.1.2 NFTL is loss of balance and achieve 44-46
4.1.3 NFTL is error prevention / crash recovery mechanism 46-47
4.1.4 NFTL is garbage collection mechanism (the garbage-collection) 47-48
4.1.5 NFTL device mount (mount) and read / write mechanism 48-49
4.2 TrueFFS realize NAND Flash 49-51
4.2.1 NFTL to transplantation in the VxWorks 49
4.2.2 NAND Flash socket layer 49-50
4.2.3 NAND Flash MTD layer 4.3 Functional Test 50-51
51-53
Chapter Five large-capacity NAND Flash conversion layer optimization design 53-62
5.1 NFTL analysis of defects in the implementation of large-capacity NAND Flash 53-54
5.2 LNFTL of, optimal design and implementation of 54-59
5.2.1 change log data storage organization form of the 54-55 log cache implementations
5.2.2 nbsp the 5.2.3 driver structure optimization ; 55-56
56-58
5.2. 4 Quick mount strategy
5.2.5 Reliability enhancements to achieve 58-59 59
5.3 performance test 59-62
5.3.1 test environment and methods 59-60
5.3.2 test result. analysis 60-62
Chapter YAFFS2 system structure and migration under the VxWorks implementation 62 - 76
6.1 YAFFS2 Direct Systems Analysis 62-67
6.1.1 YAFFS2 core data structure 62-63
6.1.2 YAFFS2 file system data in NAND stored 63
6.1.3 YAFFS2 file system in the memory organization 63-65
6.1.4 YAFFS2, Direct interface and the mount process analysis 65 -67
6.2 YAFFS2 under VxWorks transplant 67-75
6.2.1 YAFFS use the, VxWorks I / O system is integrated to achieve 67-69
6.2. 2 YAFFS system management functions to achieve 69-70
6.2.3 the YAFFS use the VxWorks I / O interface driver to achieve 70-73
6.2.4 the YAFFS use the NAND Flash device driver interface implementations 73-75
6.3 function test 75-76
Chapter VII of the NAND Flash file system performance evaluation 76-81
7.1 performance testing and analysis 76-79
7.1.1 mount comparison test 76-77
7.1.2 read and write performance comparison test 77-78
7.1.3 memory footprint comparison test 78-79
the 7.2 two designs file system performance comparison 79-81
Chapter VIII Summary and Outlook 81-83
8.1 work summarizes 81-82
8.2 further work 82-83
thank the 83-84
Reference nbsp academic results achieved by 84-86 the
author in the study period; 86
Related dissertations
- Terminal design of fault diagnosis system of intelligent equipment under a cloud service environment
- 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
- Research Andapplication of FAT File System for Multimedia Storage
- Research on Storage System Experimental Datasets Construction Method
- The Design and Implementation of a De-duplication File System Based on Cloud Storage
- Design and Implementation of a PCM File System
- Design and Implementation of Mode Reconfigurable NAND Flash Error Correcting System
- Research of Data Storage and Management on Huatu Online Library System Based on HDFS
- The Design and Implementation of File System Based on PaaS Cloud Storage Service
- The Design and Realization of a Distribute System to Store Lots of Small Files
- The Design of the Secure-private-cloud-storage-based File System’s Data Organization Model
- Design and implementation of one terminal based on GPS/GPRS.
- Optimize the Design and Engineering Application of the High-rise Building Beam-type Transfer Floors Construction Program
- The Design and Application of New Packaging Printing Machine's Storage System
- Design and Implementation of a New Type of Video Surveillance Data Storage System