基于NAND FLASH的文件系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn)
發(fā)布時(shí)間:2018-01-17 18:10
本文關(guān)鍵詞:基于NAND FLASH的文件系統(tǒng)設(shè)計(jì)與實(shí)現(xiàn) 出處:《華東師范大學(xué)》2012年碩士論文 論文類型:學(xué)位論文
更多相關(guān)文章: 嵌入式 Nand Flash 文件系統(tǒng)
【摘要】:隨著計(jì)算機(jī)以及嵌入式技術(shù)的發(fā)展,數(shù)字產(chǎn)品日益普及,非易失性NAND Flash已經(jīng)成為各種嵌入式移動(dòng)平臺和數(shù)字產(chǎn)品的主要存儲介質(zhì)。NAND Flash具有功耗低、讀寫速度快、較大存儲容量、制造成本低、抗震耐腐蝕等優(yōu)點(diǎn)。隨著不斷增大的Nand Flash存儲芯片容量,如何管理NAND Flash上的文件成為了研究的熱點(diǎn)。 目前主要的對應(yīng)NAND Flash的文件系統(tǒng)有YAFFS、JFFS、UBIFS。由于較好的穩(wěn)定性,當(dāng)前使用最為廣泛的是YAFFS文件系統(tǒng)。然而在實(shí)際使用中,YAFFS也存在兩點(diǎn)不足:1)掛載速度會隨著NAND Flash的容量,以及文件系統(tǒng)中文件數(shù)量的增加而增加;2)YAFFS文件系統(tǒng)在垃圾回收時(shí)沒有考慮NAND Flash的磨損平衡問題,不能有效地延長Flash的使用壽命。針對以上兩點(diǎn),本論文提出了一種基于NAND Flash的文件系統(tǒng)NEOYAFFS文件系統(tǒng)。 在掛載速度方面,本論文利用NAND Flash硬件實(shí)現(xiàn)原理,提出了一種基于NAND Flash實(shí)現(xiàn)的超級塊功能。類似于只有在硬盤上才能實(shí)現(xiàn)的超級塊功能,在其上存儲整個(gè)文件系統(tǒng)的文件結(jié)構(gòu)信息,以此來減少在掛載文件系統(tǒng)時(shí)讀取的數(shù)據(jù)量,達(dá)到掛載速度優(yōu)化的目的。 在磨損平衡問題上,本論文在YAFFS文件系統(tǒng)的基礎(chǔ)上,增加了磨損平衡算法,在每個(gè)NAND Flash塊中存儲了該塊的擦除次數(shù),當(dāng)文件系統(tǒng)執(zhí)行垃圾回收時(shí)讀取該信息,優(yōu)先選擇擦除次數(shù)低的塊擦除,以此達(dá)到磨損平衡。 論文所做工作有效提高了文件系統(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.
【學(xué)位授予單位】:華東師范大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP368.1
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 羽冬;;Chip Enable Don't Care的NAND閃存[J];半導(dǎo)體信息;2004年01期
2 任萍;嵌入式NAND Flash穩(wěn)步起飛[J];電子與電腦;2005年05期
3 馬豐璽;楊斌;衛(wèi)洪春;;非易失存儲器NAND Flash及其在嵌入式系統(tǒng)中的應(yīng)用[J];計(jì)算機(jī)技術(shù)與發(fā)展;2007年01期
4 蔡浩;;一種NAND FLASH自啟動(dòng)的新方法[J];現(xiàn)代電子技術(shù);2007年08期
5 文q,
本文編號:1437373
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1437373.html
最近更新
教材專著