透過您的圖書館登入
IP:18.117.81.240
  • 學位論文

利用FTL元資料日誌系統修復發生異常斷電的快閃記憶體儲存裝置

FTL Metadata Journaling for Crash Recovery in Flash Storage

指導教授 : 張立平

摘要


近年來手持式NAND flash儲存裝置應用度越來越廣泛,並由於隨插即用特性使得使用者資料流通性更加便利,但隨即衍生的問題即是異常斷電,因為無法預測使用者何時會拔掉flash儲存裝置,這意味著FTL有可能在做任何快閃記憶體操作時斷電,從而毀損使用者資料或者FTL的元資料,因此需要發展一種方法可以用來確保FTL的元資料不會因為異常斷電而發生毀損。本論文提出一種新的FTL元資料日誌系統,來面對快閃記憶體儲存裝置發生異常斷電的狀況,簡單來說:在快閃記憶體獨立一個特定的區塊,稱之為”Tracker”,”Tracker”會紀錄每一筆AWOP的相關元資料,當發生異常斷電時,FTL可以透過”Tracker”內的記錄重建FTL的元資料,使FTL有元資料的完整性。由於"Tracker"紀錄AWOP的元資料需要額外的頁寫入操作,所以無可避免會造成寫入效能損失,實驗結果顯示對原先FTL的寫入效能還保有92%,且修復時間比起傳統FTL需要掃描所有快閃記憶體明顯少上許多。

並列摘要


In recent years, the application of portable NAND flash storage devices is being widely used. Thanks to Plug-and-Play feature makes users’ data liquidity more convenient. But this feature derivatives problem is power failure, since it unable to predict when users will plug out this storage device. That means FTL might power failure during any flash operation to destroy users’ data or FTL metadata. For this reason, we need to develop a method to ensure FTL metadata won’t be destroyed because of power failure occur. This paper presents a FTL metadata journaling method to solve flash device abnormal power failure situation. To be brief to say: at a special block of NAND flash memory , which called “Tracker “. It will record every AWOP related metadata when power failure. FTL can use “Tracker “records to re-build FTL metadata make FTL keep metadata integrity. Due to “Tracker “records AWOP metadata need additional page to write, therefore inevitably will cause write performance lost. The experiment result shows compare to traditional FTL, " Tracker " write performance still remain 92% , and the spent time of use Tracker to rebuild metadata lesser than traditional FTL method.

參考文獻


[6] H.-W. Tseng, L. M. Grupp, R. E. Spada, S. Swanson,"Understanding the impact of Power Loss on Flash Memory,"48th Design Automation Conf, June. 2011, pp.I-6.
[3] T. S. Chung, M. Lee, Y. Ryu, and K. Lee.PORCE: An efficient power off recovery scheme for flash memory. Journal of Systems Architecture, 54:935-943, 2008.
[5] Lee, Sangyong, Sanghyuk Jung, and Yong Ho Song. "An efficient use of PRAM for an enhancement in the performance and durability of NAND storage systems." Consumer Electronics, IEEE Transactions on 58.3 (2012): 825-833.
[7] Lee, Hyun-Seob, et al. "An efficient buffer management scheme for implementing a B-tree on NAND flash memory." Embedded Software and Systems. Springer Berlin Heidelberg, 2007. 181-192.
[8] Lee, Hyun-Seob, Sangwon Park, and Dong-Ho Lee. "RMSS: an efficient recovery management scheme on NAND flash memory based solid state disk."Consumer Electronics, IEEE Transactions on 59.1 (2013): 107-112.

延伸閱讀