磨損均衡在提高SSD使用壽命中的應(yīng)用與改進(jìn)
發(fā)布時(shí)間:2018-08-19 12:09
【摘要】:固態(tài)硬盤是當(dāng)下存儲(chǔ)界很熱的一個(gè)詞,在存儲(chǔ)界的同仁都清楚,未來的存儲(chǔ)硬盤將由現(xiàn)在的機(jī)械硬盤轉(zhuǎn)到固態(tài)硬盤上面。從最開始的20MB的容量到現(xiàn)在幾TB的容量,固態(tài)硬盤正在發(fā)生著翻天覆地的變化.每一年都有新的產(chǎn)品的推出,未來PCIE固態(tài)硬盤的出現(xiàn),讀寫數(shù)據(jù)的速度將會(huì)是一個(gè)幾何級(jí)的增長(zhǎng).固態(tài)硬盤(Solid State Drive)是一種非易失性的存儲(chǔ)設(shè)備,可以長(zhǎng)時(shí)間在固態(tài)閃存介質(zhì)中的存儲(chǔ)數(shù)據(jù)。固態(tài)硬盤實(shí)際上沒有像傳統(tǒng)硬盤那樣有很多固定的機(jī)械形式,例如沒有機(jī)械硬盤那樣的磁頭和磁盤。換句話說,固態(tài)硬盤只是一組半導(dǎo)體存儲(chǔ)陣列的組織的硬盤,存儲(chǔ)介質(zhì)使用的是集成電路一樣的NAND性介質(zhì),而不是磁性介質(zhì)。由于固態(tài)硬盤有更高的讀寫性能,所以導(dǎo)致開發(fā)和采用固態(tài)硬盤的方案達(dá)到了快速擴(kuò)張的需求。另外固態(tài)硬盤在隨機(jī)讀寫訪問數(shù)據(jù)方面比傳統(tǒng)硬盤的響應(yīng)延時(shí)要小很多,這樣固態(tài)硬盤對(duì)于大規(guī)模的讀或者隨機(jī)訪問的工作量有著巨大的優(yōu)勢(shì)。這種低延時(shí)的特性就是因?yàn)楣虘B(tài)硬盤可以直接有能力從閃存NAND中直接立刻的讀取出數(shù)據(jù)來。但是如果讀寫擦除的數(shù)據(jù)總是坐落于NAND閃存介質(zhì)中的某一特殊塊中,這樣這一特殊數(shù)據(jù)塊將會(huì)比其他所有的NAND數(shù)據(jù)塊很快磨損壞掉,這樣將會(huì)過早的導(dǎo)致整個(gè)固態(tài)硬盤的使用壽命的結(jié)束。出于這個(gè)原因的考慮,固態(tài)硬盤的控制器,也是本篇論文重點(diǎn)地陳述觀點(diǎn),將會(huì)使用一種稱之為磨損均衡的技術(shù),將寫和擦除盡可能的將所寫的數(shù)據(jù)均勻的分布在所有的SSDNAND存儲(chǔ)介質(zhì)的每個(gè)數(shù)據(jù)塊中。對(duì)于這個(gè)完美的場(chǎng)景的實(shí)現(xiàn),將會(huì)使每一個(gè)NAND存儲(chǔ)數(shù)據(jù)的塊達(dá)到最大的生命周期,然后會(huì)在某一時(shí)刻同時(shí)壞掉,以達(dá)到最大的固態(tài)硬盤使用周期。但是不幸的是,這一過程存在著很多不可定得因素,包括一些經(jīng)常使用讀寫的數(shù)據(jù)我們稱之謂熱數(shù)據(jù),和一些很少被讀寫到的數(shù)據(jù)稱之為冷數(shù)據(jù)。冷數(shù)據(jù)和熱數(shù)據(jù)將導(dǎo)致存儲(chǔ)在的NAND介質(zhì)數(shù)據(jù)塊的讀寫擦除計(jì)數(shù)將會(huì)嚴(yán)重不平衡,這就促使找到一個(gè)關(guān)鍵的算法解決或者緩和這種問題。磨損均衡算法正是在這種情況下面提出來優(yōu)化改進(jìn)NAND存儲(chǔ)數(shù)據(jù)塊的讀寫擦除計(jì)數(shù)生成的.但是磨損均衡算法也會(huì)相應(yīng)的帶來一些不必要的寫放大損耗,于是本文創(chuàng)新的雙池磨損均衡算法可以使優(yōu)化性能與損耗性能達(dá)到一個(gè)平衡點(diǎn),使固態(tài)硬盤相對(duì)達(dá)到一個(gè)最大的使用壽命,而性能相對(duì)沒有明顯的降低。
[Abstract]:Solid state drives are a hot term in storage, and everyone in the storage world knows that future storage drives will be switched from mechanical drives to solid state drives. From the beginning of the 20MB capacity to the current several terabytes of capacity, solid-state drives are changing dramatically. Every year there are new products coming out, and the future of PCIE solid-state drives, the speed of reading and writing data will be a geometric growth. Solid-state hard disk (Solid State Drive) is a non-volatile storage device that can store data in solid-state flash media for a long time. Solid state drives do not actually have the same fixed mechanical forms as traditional hard drives, such as magnetic heads and disks without mechanical hard drives. In other words, the solid-state disk is just a set of semiconductor memory arrays of the organization of the hard disk, storage media using integrated circuit like the NAND medium, rather than magnetic media. Due to the higher read and write performance of solid state hard disk, the development and adoption of solid state hard disk scheme meet the requirement of rapid expansion. In addition the random read and write access data in the solid-state disk is much smaller than the traditional hard disk response delay so the solid-state disk for large-scale read or random access workload has a huge advantage. This low latency feature is due to the ability of solid-state drives to read data directly from flash NAND. But if the read and write erasure data is always in a particular block in the NAND flash media, this particular block will wear out faster than any other NAND data block. This will prematurely lead to the end of the life of the entire solid-state disk. For this reason, the solid-state hard disk controller, which is also the focus of this paper, will use a technique called wear equalization. Write and erase the data evenly distributed as much as possible in each block of all SSDNAND storage media. The implementation of this perfect scenario would allow each block of NAND to store data for the maximum life cycle, and then break down at some point at the same time to achieve the maximum lifetime of the solid-state disk. Unfortunately, there are many uncertainties in this process, including some data that is often read and write, which we call hot data, and some data that is rarely read or written, called cold data. Cold data and hot data will lead to a serious imbalance in the read and write erasure count of stored NAND data blocks, which leads to finding a key algorithm to solve or alleviate this problem. It is in this case that the wear equalization algorithm is proposed to optimize the generation of read and write erasure counting for NAND storage data blocks. However, the wear equalization algorithm will also bring some unnecessary write amplification losses, so the novel two-cell wear equalization algorithm can achieve a balance between the optimal performance and the loss performance. Make solid-state hard disk relatively reach a maximum service life, but the performance is relatively not significantly reduced.
【學(xué)位授予單位】:華東理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2015
【分類號(hào)】:TP333.35
本文編號(hào):2191610
[Abstract]:Solid state drives are a hot term in storage, and everyone in the storage world knows that future storage drives will be switched from mechanical drives to solid state drives. From the beginning of the 20MB capacity to the current several terabytes of capacity, solid-state drives are changing dramatically. Every year there are new products coming out, and the future of PCIE solid-state drives, the speed of reading and writing data will be a geometric growth. Solid-state hard disk (Solid State Drive) is a non-volatile storage device that can store data in solid-state flash media for a long time. Solid state drives do not actually have the same fixed mechanical forms as traditional hard drives, such as magnetic heads and disks without mechanical hard drives. In other words, the solid-state disk is just a set of semiconductor memory arrays of the organization of the hard disk, storage media using integrated circuit like the NAND medium, rather than magnetic media. Due to the higher read and write performance of solid state hard disk, the development and adoption of solid state hard disk scheme meet the requirement of rapid expansion. In addition the random read and write access data in the solid-state disk is much smaller than the traditional hard disk response delay so the solid-state disk for large-scale read or random access workload has a huge advantage. This low latency feature is due to the ability of solid-state drives to read data directly from flash NAND. But if the read and write erasure data is always in a particular block in the NAND flash media, this particular block will wear out faster than any other NAND data block. This will prematurely lead to the end of the life of the entire solid-state disk. For this reason, the solid-state hard disk controller, which is also the focus of this paper, will use a technique called wear equalization. Write and erase the data evenly distributed as much as possible in each block of all SSDNAND storage media. The implementation of this perfect scenario would allow each block of NAND to store data for the maximum life cycle, and then break down at some point at the same time to achieve the maximum lifetime of the solid-state disk. Unfortunately, there are many uncertainties in this process, including some data that is often read and write, which we call hot data, and some data that is rarely read or written, called cold data. Cold data and hot data will lead to a serious imbalance in the read and write erasure count of stored NAND data blocks, which leads to finding a key algorithm to solve or alleviate this problem. It is in this case that the wear equalization algorithm is proposed to optimize the generation of read and write erasure counting for NAND storage data blocks. However, the wear equalization algorithm will also bring some unnecessary write amplification losses, so the novel two-cell wear equalization algorithm can achieve a balance between the optimal performance and the loss performance. Make solid-state hard disk relatively reach a maximum service life, but the performance is relatively not significantly reduced.
【學(xué)位授予單位】:華東理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2015
【分類號(hào)】:TP333.35
【參考文獻(xiàn)】
相關(guān)期刊論文 前4條
1 孫豐;張福新;;YAFFS文件系統(tǒng)的研究與改進(jìn)[J];計(jì)算機(jī)工程;2008年05期
2 李桂良,劉發(fā)貴;JFFS2文件系統(tǒng)的關(guān)鍵技術(shù)及其在嵌入式系統(tǒng)的應(yīng)用[J];計(jì)算機(jī)應(yīng)用;2003年07期
3 張駿;樊曉椏;劉松鶴;;一種Flash存儲(chǔ)器靜態(tài)負(fù)載平衡策略[J];計(jì)算機(jī)應(yīng)用;2006年05期
4 韋鵬;岳麗華;;基于預(yù)測(cè)數(shù)據(jù)失效期的flash存儲(chǔ)分配回收算法[J];中國(guó)科學(xué)技術(shù)大學(xué)學(xué)報(bào);2007年12期
,本文編號(hào):2191610
本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/2191610.html
最近更新
教材專著