基于NAND FLASH的文件系統(tǒng)設計與實現(xiàn)
發(fā)布時間:2018-01-17 18:10
本文關鍵詞:基于NAND FLASH的文件系統(tǒng)設計與實現(xiàn) 出處:《華東師范大學》2012年碩士論文 論文類型:學位論文
更多相關文章: 嵌入式 Nand Flash 文件系統(tǒng)
【摘要】:隨著計算機以及嵌入式技術的發(fā)展,數(shù)字產(chǎn)品日益普及,非易失性NAND Flash已經(jīng)成為各種嵌入式移動平臺和數(shù)字產(chǎn)品的主要存儲介質(zhì)。NAND Flash具有功耗低、讀寫速度快、較大存儲容量、制造成本低、抗震耐腐蝕等優(yōu)點。隨著不斷增大的Nand Flash存儲芯片容量,如何管理NAND Flash上的文件成為了研究的熱點。 目前主要的對應NAND Flash的文件系統(tǒng)有YAFFS、JFFS、UBIFS。由于較好的穩(wěn)定性,當前使用最為廣泛的是YAFFS文件系統(tǒng)。然而在實際使用中,YAFFS也存在兩點不足:1)掛載速度會隨著NAND Flash的容量,以及文件系統(tǒng)中文件數(shù)量的增加而增加;2)YAFFS文件系統(tǒng)在垃圾回收時沒有考慮NAND Flash的磨損平衡問題,不能有效地延長Flash的使用壽命。針對以上兩點,本論文提出了一種基于NAND Flash的文件系統(tǒng)NEOYAFFS文件系統(tǒng)。 在掛載速度方面,本論文利用NAND Flash硬件實現(xiàn)原理,提出了一種基于NAND Flash實現(xiàn)的超級塊功能。類似于只有在硬盤上才能實現(xiàn)的超級塊功能,在其上存儲整個文件系統(tǒng)的文件結構信息,以此來減少在掛載文件系統(tǒng)時讀取的數(shù)據(jù)量,達到掛載速度優(yōu)化的目的。 在磨損平衡問題上,本論文在YAFFS文件系統(tǒng)的基礎上,增加了磨損平衡算法,在每個NAND Flash塊中存儲了該塊的擦除次數(shù),當文件系統(tǒng)執(zhí)行垃圾回收時讀取該信息,優(yōu)先選擇擦除次數(shù)低的塊擦除,以此達到磨損平衡。 論文所做工作有效提高了文件系統(tǒng)的掛載速度,并提供了更好的磨損平衡。
[Abstract]:With the development of computer and embedded technology, digital products are becoming more and more popular. Non-volatile NAND Flash has become the main storage medium of various embedded mobile platforms and digital products. NAND Flash has the advantages of low power consumption, fast reading and writing speed and large storage capacity. With the increasing capacity of Nand Flash memory chip, how to manage the files on NAND Flash has become a hot topic. At present, the main file systems corresponding to NAND Flash are YAFFSU JFFSU UBIFS. due to good stability. Currently the most widely used is the YAFFS file system. However, in practical use, there are two deficiencies: 1) the mount speed will depend on the capacity of the NAND Flash. And the increase in the number of files in the file system; 2YAFFS file system does not consider the wear balance of NAND Flash in garbage collection, so it can not prolong the service life of Flash effectively. This paper presents a file system NEOYAFFS file system based on NAND Flash. In the aspect of mount speed, this paper uses NAND Flash hardware to realize the principle. This paper presents a super block function based on NAND Flash, which is similar to the super block function which can only be realized on the hard disk, on which the file structure information of the whole file system is stored. In order to reduce the amount of data read in the mount file system, to achieve the purpose of the optimization of mount speed. On the issue of wear balance, this paper increases the wear balance algorithm based on the YAFFS file system, and stores the erasure times in each NAND Flash block. This information is read when the file system performs garbage collection and the block erasure with low erasure times is preferred to achieve wear balance. The work in this paper improves the mount speed of the file system and provides a better balance of wear and tear.
【學位授予單位】:華東師范大學
【學位級別】:碩士
【學位授予年份】:2012
【分類號】:TP368.1
【相似文獻】
相關期刊論文 前10條
1 羽冬;;Chip Enable Don't Care的NAND閃存[J];半導體信息;2004年01期
2 任萍;嵌入式NAND Flash穩(wěn)步起飛[J];電子與電腦;2005年05期
3 馬豐璽;楊斌;衛(wèi)洪春;;非易失存儲器NAND Flash及其在嵌入式系統(tǒng)中的應用[J];計算機技術與發(fā)展;2007年01期
4 蔡浩;;一種NAND FLASH自啟動的新方法[J];現(xiàn)代電子技術;2007年08期
5 文q,
本文編號:1437373
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1437373.html
最近更新
教材專著