簡易檢索 / 詳目顯示

研究生: 周紘名
Hong-Ming Chou
論文名稱: 基於模組化設計之快閃記憶體垃圾回收機制
A Component-based Garbage Collection Design for Flash Memory
指導教授: 吳晉賢
Chin-Hsien Wu
口試委員: 林昌鴻
Chang-Hong Lin
林淵翔
Yuan-Hsiang Lin
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2015
畢業學年度: 103
語文別: 中文
論文頁數: 43
中文關鍵詞: 快閃記憶體快閃記憶體轉換層垃圾回收耗損平均
外文關鍵詞: NAND flash memory, Flash Translation Layer, garbage collection, wear-leveling
相關次數: 點閱:199下載:1
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報

由於NAND Flash Memory 具有其限制特性,快閃記憶體轉換層Flash Translation Layer (FTL) 被設計出來為了管理Flash Memory 的這些限制特性,FTL 方法是建構在位址轉換(address translation),垃圾回收(garbage collection),跟耗損平均(wear-leveling)三大機制上,而當我們使用Flash Memory 儲存數據時,為了去回收不必要之空間及釋放可用空間必需去考慮垃圾回收方法,為了提高Flash Memory 的使用壽命,耗損平均機制被提出用以管理每一個block。針對上述兩大機制,現今有許多的FTL 垃圾回收方法被提出、改良及設計,為
了能夠方便設計者去分析及理解各種FTL 垃圾回收方法,本文提出了基於模組化設計之垃圾回收方法,本文是根據獨立性、組合性以及可分析性,去設計模組化之垃圾回收方法,其模組化設計方法包含耗損平均機制,透過這三種特性設計者可以輕鬆地分析,設計和重新設計的各種FTL 垃圾回收方法,以及能夠更清楚地了解各種FTL 垃圾回收方法。


NAND flash memory has become a popular storage system alternative, because of its advantages of non-volatility, shock-resistance, and low-power consumption. However, NAND flash memory is a write-once system and any existing data on flash memory cannot be updated. The update data must be written to free space and the old versions of data are invalidated and considered dead. One main function of flash translation layers is called garbage collection, which consists of a series of reads, writes, and erases operations to recycle the invalid data. During the execution of garbage collection, it is important to properly control write and erase operations
of all blocks by using a wear-leveling algorithm to improve the endurance of flash memory. In the thesis, we propose a component-based garbage collection design for flash memory. The component-based design is based on three features: specificity, composability and analyzability. With the component-based design, it can facilitate developers to realize and redesign the garbage collection and wear-leveling effect of flash memory.

目錄 第一章 緒論 ..... 1 壹、 前言 ..... 1 貳、 論文架構 ..... 2 第二章 環境背景 ..... 3 壹、 NAND Flash Memory ..... 3 貳、 NAND Flash Memory Package ..... 3 參、 MLC and SLC Architecture ..... 4 肆、 Architecture Restriction ..... 6 伍、 Flash Translation Layer ..... 7 陸、 Garbage Collection Methods ..... 8 柒、 Wear-leveling Methods ..... 9 捌、 Previously methods of garbage collection ..... 12 1. Greedy Policy ..... 12 2. Cost Benefit (CB) Policy ..... 12 3. Cost Age Time (CAT) Policy ..... 13 玖、 Component-Based Design for the Development of Garbage Collection ..... 14 1. Specificity ..... 14 2. Composability ..... 14 3. Analyzability ..... 15 第三章 研究動機與相關研究 ..... 16 壹、 研究動機 ..... 16 貳、 相關研究 ..... 17 第四章 基於模組化設計之垃圾回收方法 ..... 19 壹、 概述 ..... 19 貳、 A Component for Data Recycling ..... 19 1. Garbage collection static triggering condition ..... 20 2. Garbage collection dynamic triggering condition ..... 21 3. Data recycling component parameters ..... 22 參、 A Component for Free Space Management ..... 23 1. Data space management component parameters ..... 23 肆、 模組化實作方法 ..... 24 第五章 實驗與效能分析 ..... 30 壹、 實驗環境 ..... 30 貳、 工作負載 ..... 30 參、 實驗結果 ..... 32 1. Component-based FTL component analysis ..... 33 2. Data recycling component analysis ..... 35 3. Data space management analysis ..... 38 第六章 結論 ..... 41 第七章 參考文獻 ..... 42 圖 一:NAND FLASH MEMORY 封裝組織 ..... 4 圖 二:動態耗損平均操作流程 ..... 10 圖 三:靜態耗損平均操作流程 ..... 11 圖 四:COMPONENT-BASED FTL 設計架構圖 ..... 34 圖 五:DATA RECYCLING 模組垃圾回收開銷分析 ..... 37 圖 六:DATA RECYCLING 模組垃圾回收開銷分析 ..... 38 圖 七:DATA SPACE MANAGEMENT 耗損平均標準差 ..... 39 圖 八:DATA SPACE MANAGEMENT 耗損平均標準差 ..... 40 表格 一:SLC 與MLC 之比較 ..... 5 表格 二:FTL 垃圾回收模組及說明 ..... 26 表格 三:KAST 模組化分析結..... 27 表格 四:LAST 模組化分析結果 ..... 28 表格 五:DFTL 模組化分析結果 ..... 29 表格 六:MX30LF1208AA ..... 30 表格 七:工作負載特性 ..... 31 表格 八:COMPONENT-BASED FTL 模組化分析結果 ..... 34 方程式 一:COST BENEFIT 演算法權重計算公式 ..... 13 方程式 二:COST AGE TIME 演算法權重計算公式 ..... 13

[1] A. Gupta, Y. Kim, and B. Urgaonkar, "DFTL: A Flash Translation Layer
Employing Demand-based Selective Caching of Page-level Address Mappings,"
in Proceedings of the 14th international conference on Architectural support for programming languages and operating systems(ASPLOS), pp. 229–240, March
2009.
[2] D. Park ., B. Debnath, "CFTL: A Convertible Flash Translation Layer Adaptive to Data Access Patterns," in Proceeding SIGMETRICS '10 Proceedings of the ACM SIGMETRICS international conference on Measurement and modeling of computer systems, 2011.
[3] J. Kim, J. M. Kim, S. H. Noh, S. L. Min and Y. Cho, "A SPACE-EFFICIENT
FLASH TRANSLATION LAYER FOR COMPACTFLASH SYSTEMS," in Consumer Electronics IEEE Transactions, vol. 48, 2002.
[4] S. W. Lee, D. J. Park, T. S. Chung, D. H. Lee, S. Park, and H. J. Song, "A Log Buffer-Based Flash Translation Layer Using Fully-Associative Sector
Translation," in ACM Transactions on Embedded Computing Systems (TECS),
vol. 6, pp. 18–es, July 2007.
[5] H. Cho, D. Shin, and Y. I. Eom, "KAST: K-Associative Sector Translation for NAND Flash Memory in Real-Time Systems," in Proceedings of the Conference on Design, Automation and Test in Europe, pp. 507–512, April 2009.
[6] S. Lee, D. Shin, and Y. J. Kim, "LAST: Locality-Aware Sector Translation for NAND Flash Memory-Based Storage Systems," in In Proceedings of the
International Workshop on Storage and I/O Virtualization, Performance, Energy, Evaluation and Dependability (SPEED2008), vol. 42, pp. 36–42, Octobor 2008.
[7] M. Wu, and W. Zwaenepoel, "eNVy: a non-volatile, main memory storage
system," in Proceeding ASPLOS VI Proceedings of the sixth international
conference on Architectural support for programming languages and operating
systems, 1994.
[8] M. Rosenblum and J. K. Ousterhout, "The Design and Implementation of A
Logstructured," in ACM TOCS, vol. 10, pp.26-52, 1992.
[9] M. L. Chiang and R. C. Chang, "Cleaning Policies in Mobile Computers Using Flash Memory," in Journal of System Software, vol.48, pp.213-231, 1999.
[10] R . Subramani, H. Swapnil, N. Thakur, B. Radhakrishnan, K. Puttaiah, "Garbage Collection Algorithms for NAND Flash Memory Devices - An Overview," in Subramani, R.; Swapnil, H.; Thakur, N.; Radhakrishnan, B.; Puttaiah, K.
Modelling Symposium (EMS), 2013 European, 2013.
[11] M . C. Yang; Y. M. Chang; C. W. Tsao; P. C. Huang; Y. H. Chang; T. W. Kuo, "Garbage Collection and Wear Leveling for Flash Memory: Past and Future," in Smart Computing (SMARTCOMP), 2014 International Conference, 2014.
[12] Q . Yi, D. Freg, J. Liu, T. Wei, Z. Zhu, "DT-GC: Adaptive Garbage Collection with Dynamic Thresholds for SSDs," in Cloud Computing and Big Data (CCBD), 2014 International Conference, 2014.
[13] " Futuremark Benchmark Development (PCmark)," [Online]. Available:
http://www.futuremark.com/benchmarks/pcmark.
[14] A .SCHEPELJANSKI, "AS SSD Benchmark," [Online]. Available:
http://www.snapfiles.com/get/ssdbenchmark.html.
[15] V . SHARDA, S. KAVALANEKAR, B. WORTHINGTON, "IOTTA Repository,"
[Online]. Available: http://iotta.snia.org/traces/158.
[16] D . Ma, J. Feng, and G. Li, "A Survey of Address Translation Technologies for Flash Memories," in Journal ACM Computing Surveys (CSUR) Surveys Homepage archive, vol. 46, 2014.
[17] O . Kwona, K. Koha, J. Leeb, H. Bahnc, "FeGC: An efficient garbage collection scheme for flash memory based storage systems," in Journal of Systems and Software, vol.84, 2011.
[18] T . S. Chung, D. J. Park , S. Park , D. H. Lee , S. W. Lee , H. J. Song, "A survey of Flash Translation Layer," in Journal of Systems Architecture vol.55, 2009.

無法下載圖示 全文公開日期 2020/08/24 (校內網路)
全文公開日期 本全文未授權公開 (校外網路)
全文公開日期 本全文未授權公開 (國家圖書館:臺灣博碩士論文系統)
QR CODE