| 研究生: |
許勝杰 Syu, Sheng-Jie |
|---|---|
| 論文名稱: |
快閃記憶體儲存管理系統之設計與實作 Design and Implementation of a Flash Storage System |
| 指導教授: |
陳 敬
Chen, Jing |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 電機工程學系 Department of Electrical Engineering |
| 論文出版年: | 2004 |
| 畢業學年度: | 92 |
| 語文別: | 中文 |
| 論文頁數: | 54 |
| 中文關鍵詞: | 快閃記憶體 、儲存系統 、嵌入式系統 |
| 外文關鍵詞: | Storage System, Flash Memory, Embedded systems, Garbage Collection |
| 相關次數: | 點閱:86 下載:3 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
快閃記憶體有著體積小、重量輕、防震、低耗電、不具揮發性、高效能等優點,相當適合作為行動式手持設備與嵌入式系統等環境之資料儲存媒體。但由於快閃記憶體無法原地更新資料的特性且區塊抹除次數有限制,以快閃記憶體為儲存媒體之檔案系統設計時必須考慮這些限制因素。本論文提出一個以註冊為基礎之冷熱資料辨識法(Register Based Hot-Cold Data Identification)與使用三個管理策略,分別為:資料放置策略(Data Placement Policy)、可用空間分配策略(Free Space Allocation Policy)與無效空間回收策略(Recycle Policy),能有效地將回收快閃記憶體無效空間時之系統負荷降低,同時也能較均衡地抹除快閃記憶體區塊,延長快閃記憶體的使用壽命。此外,本論文亦提出一主動式回收快閃記憶體無效空間之機制,模擬實驗結果顯示,與使用被動回收方法比較,此一主動回收快閃記憶體無效空間之機制的確能有效地減少讀寫動作因區塊回收動作所造成的時間延遲。
Flash memory has the advantages of small size, lightweight, shock resistant, no mechanical delay involved, high performance and low power consumption. Thus it shows promise for being used in storage devices for consumer electronics, embedded systems and mobile computers. However, flash memory bears restrictions of data erase-before-write and limited block erased counts. Designing a filesystem for flash memory has to take into account these issues and to adopt effective solutions. In this thesis, we propose a RB (register based) hot-cold data identification method and three flash management policies to reduce the system overhead caused by operations of recycling invalid space, and to evenly use all blocks in flash memory chip. We also propose an active garbage recycling mechanism which periodically recycles invalid space in flash memory. Experiment results show that system using the active recycling approach has excellent performance over systems using passive recycling approach after handled serials of requests.
[1] Aleph One Company, “Yet Another Flash Filing System (YAFFS),” http://www.aleph1.co.uk/
[2] Blackwell, T. and Harris, J., and Seltzer, M., ”Heuristic Cleaning Algorithms in Log-Structured File Systems”, in Proceeding of ’95 Winter, USENIX, pp. 277-287, 1995.
[3] Chang, L. P. and Kuo, T. W., “An adaptive striping architecture for flash memory storage systems of embedded systems,” in IEEE Real-Time and Embedded Technology and Applications Symposium, Sep. 2002.
[4] Chang, L. P. and Kuo, T. W., ”A Real-time Garbage Collection Mechanism for Flash Memory Storage System in Embedded Systems,” in 8th International Conference on Real-Time Computing System and Applications, March 2002.
[5] Chang, L. P. and Kuo, T. W., “An efficient management scheme for large-scale flash-memory storage systems,” in ACM Symposium on Applied Computing, March 2004.
[6] Chiang, M. L., Lee, P. C. H., and Chang, R. C., “Managing Flash Memory in Personal Communication Devices,” in Proceedings of the 1997 International Symposium on Consumer Electronics, Dec. 1997.
[7] Chiang, M. L., Lee, P. C. H., and Chang, R. C., “Using Data Clustering to Improve Cleaning Performance for Flash Memory,” in Software: Practice and Experience, vol.29, no.3, pp. 267-290 , March 1999.
[8] CompactFlash Association, “Information about CompactFlash,” http://www.compactflash.org/.
[9] Gislason, D., “Flash File Systems,” Dr. Dobb’s Journal, May 1993.
[10] Intel Corporation, “Understanding the Flash Translation Layer(FTL) Specification,” http://www.intel.com
[11] Kawaguchi, A., Nishioka, S., and Motoda, H., “A Flash-Memory Based File System,” in Proceedings of the 1995 USENIX Technical Conference, pp. 155-164, Jan. 1995.
[12] Kim, H. J. and Lee, S. G., “A new flash memory management for flash storage system” in Twenty-Third Annual International Computer Software and Applications Conference, pp. 284-289, Oct. 1999.
[13] Kim, J., Kim, J. M., Noh, S. H., Min, S. L., and Cho, Y. K. , “A space-efficient flash translation layer for CompactFlash systems,” in IEEE Transactions on Consumer Electronics, vol. 48, no. 2, pp. 366-375, May, 2002.
[14] Marsh, B., Douglis, F., and Krishnan, P., “Flash memory file caching for mobile computers,” in Proceedings of the 27th Annual Hawaii International Conference on Systems Sciences, pp. 451-460, Jan. 1993.
[15] MTD, “Memory Technology Device (MTD) subsystem for Linux,” http://www.linux-mtd.infradead.org
[16] Park, C., Seo, J., Seo, D., Kim, S., and Kim, B., “Cost-Efficient Memory Architecture Design of NAND Flash Memory Embedded Systems,” 21st International Conference on Computer Design, pp.138-143, Oct. 2003.
[17] Rosenblum, M. and Ousterhout, J. K., “The Design and Implementation of a Log-Structured File System,” in ACM Transactions on Computer Systems (TOCS), vol. 10, no. 1, pp.26-52, Feb. 1992.
[18] Samsung Electronics, “512M×8Bit/256M×16 Bit NAND Flash Memory Datasheet,” http://www.samsungelectronics.com
[19] Scheible, J., “A Survey of Storage Options,” IEEE Computer, vol. 35, no. 12, Dec. 2002.
[20] Torelli, P., “The Microsoft Flash File System,” Dr. Dobb’s Journal, Feb. 1995.
[21] Toshiba Electronics, “256-MBit (32M×8 Bits) CMOS NAND EEPROM Datasheet,” http://www.samsungelectronics.com
[22] Woodhouse, D., “JFFS-The Journalling Flash File System,” in Ottawa Linux Symposium, July 2001.
[23] Wu, M. and Zwaenepoel, W., “eNVy-A Non-Volatile, Main Memory Storage System,” in Proceedings of the Sixth International Conference on Architectural Support for Programming Languages and Operating Systems, pp. 86-97, 1994.
[24] 姜美玲, 張瑞川, “快閃記憶體儲存系統之研究與製作,” 電腦與通訊雜誌第87期, 2000.