簡易檢索 / 詳目顯示

研究生: 蘇麒修
Chi-Hsiu Su
論文名稱: 基於關聯分析之固態硬碟的快取管理機制
A Cache Policy Based on Association Analysis in SSDs
指導教授: 吳晋賢
Chin-Hsien Wu
口試委員: 陳維美
Wei-Mei Chen
林昌鴻
Chang-Hong Lin
林淵翔
Yuan-Hsiang Lin
學位類別: 碩士
Master
系所名稱: 電資學院 - 電子工程系
Department of Electronic and Computer Engineering
論文出版年: 2020
畢業學年度: 108
語文別: 中文
論文頁數: 44
中文關鍵詞: 快閃記憶體快取
外文關鍵詞: NAND Flash Memory, Cache
相關次數: 點閱:157下載:6
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 快閃記憶體相較於傳統硬碟,具有存取速度高、抗震防摔、功耗低、體積小等優勢,隨著製程的不斷發展,成本有著明顯的降低,在此趨勢下以快閃記憶體為儲存介質的固態硬碟,逐步成為主流市場上的新寵。然而快閃記憶體有許多先天上的限制。例如:資料寫入跟擦除的基本單位不對稱、無法直接覆寫及記憶體有總寫入上限等。在這些快閃記憶體的先天限制下,為了要模擬傳統硬碟,固態硬碟藉由FTL(快閃記憶體轉換層),來管理底層複雜的快閃記憶體操作。而為了要讓熱資料的存取更有效率,及降低對快閃記憶體產生多餘的寫入操作,以延長快閃記憶體的使用壽命,在檔案系統與快閃記憶體之間通常會加上DRAM作為快取,用來吸收大量的資料更新。然而快取有其容量限制,當快取空間已滿卻又需放入新的資料時,如何選擇合適的Page移出是過去經常研究的方向,同時也是本篇論文想探討的議題。本篇論文提出的快取管理機制,試圖透過分析Request彼此間的關聯性,將具有強關聯性的Request定義為重要資料,並於快取內將這些重要資料加以保存,藉此提高快取命中率,根據實驗結果顯示,我們提出的方法與既有的快取管理機制LRU、ARC相比,快取命中率分別平均提升約34.74%、18.18%。


    Compared with traditional hard drives, flash memory has the advantages of fast- access speed, shock resistance resistance, low-power consumption, and small size. With the continuous development of the manufacturing process, the cost has been significantly reduced. In this trend, the flash memory chip-based solid-state hard-disk with has gradually become the new favorite in the mainstream market. However, flash memory has many inherent limitations, such as the basic unit of data writing, and erasing is asymmetrical, cannot be overwritten directly, and the memory has a total writing upper limit. Under the inherent limitations of these flash memories, in order to simulate traditional hard drives, solid state drives use FTL (Flash Memory Translation Layer) to manage the underlying complex flash memory operations. To make the hot data-access more efficient, and reduce redundant write operations to the flash memory, thereby extending the service life of the flash memory, DRAM is used as a cache to absorb a large amount of data updates from the file system. The cache management mechanism proposed in this paper attempts to analyze the association of Requests and define requests with the strong association as important data, and save these important data in the cache to improve cache hit ratio. According to the experimental results, compared with the existing cache management mechanisms LRU and ARC, the cache hit ratio of our proposed method is increased by about 34.74% and 18.18% respectively.

    中文摘要 I Abstract II 目錄 III 圖目錄 V 表目錄 VI 第一章 緒論 1 1.1 前言 1 1.2 論文架構 2 第二章 環境背景及動機 3 2.1 FTL 3 2.1.1 映射管理 3 2.1.2 垃圾回收機制 4 2.2 快取相關研究 5 2.2.1 Least Recently Used (LRU) 5 2.2.2 Two-Level LRU 6 2.2.3 Adaptive Replacement Cache (ARC) 7 2.3 關聯分析演算法 8 2.3.1 Apriori 9 2.3.2 FP-Growth 10 2.4 動機 11 第三章 研究方法 13 3.1系統架構 13 3.2 Request關聯分析器 14 3.2.1 Request取樣 14 3.2.2 Request關聯分析 15 3.2.3 Request Association Pair管理 16 3.3 快取管理機制 19 3.3.1 Strong/Weak Request Data的管理機制 19 3.3.2 判定Request強度閾值調整機制 21 第四章 實驗與結果分析 23 4.1 實驗環境 23 4.2 Workload分析 24 4.3 參數設定 25 4.4 實驗結果 26 4.4.1 MSR-usr_0 27 4.4.2 Systor '17 27 4.4.3 Financial 32 4.4.4 Workload表現分析 32 4.4.5 Overhead分析 33 第五章 結論與未來展望 34 參考文獻 35

    [1] N. Megiddo, D. S. Modha, “ARC: A self-tuning, low overhead replacement cache,” Fast, vol. 3, no. 2003, pp. 115-130, 2003.
    [2] J. Kim, J. M. Kim, S. H. Noh, S. L. Min, and Y. Cho, “A space-efficient flash translation layer for compactflash systems,” IEEE Transactions on Consumer Electronics, vol. 48, no. 2, pp. 366–375, 2002.
    [3] 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,” ACM Transactions on Embedded Computing Systems (TECS), vol. 6, no. 3, p. 18, 2007.
    [4] H. Cho, D. Shin, and Y. I. Eom, “Kast: K-associative sector translation for nand flash memory in real-time systems,” 2009 Design, Automation & Test in Europe Conference & Exhibition. IEEE, pp. 507–512, 2009.
    [5] D. Jung, J.-U. Kang, H. Jo, J.-S. Kim, and J. Lee, “Superblock ftl: A superblock-based flash translation layer with a hybrid address translation scheme,” ACM Transactions on Embedded Computing Systems (TECS), vol. 9, no. 4, p. 40, 2010.
    [6] 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 XIV), vol. 44, no. 3, 2009.
    [7] D. Shasha and T. Johnson, “2q: A low overhead high performance buffer management replacement algoritm,” In Proceedings of the 20th International Conference on Very Large Data Bases (VLDB ’94), pp. 439–450, 1994.
    [8] E. J. O’neil, P. E. O’neil, and G. Weikum, “The lru-k page replacement algorithm for database disk buffering,” ACM Sigmod Record, vol. 22, no. 2, pp. 297–306, 1993.
    [9] L.-P. Chang and T.-W. Kuo, “An adaptive striping architecture for flash memory storage systems of embedded systems,” In Proceedings. Eighth IEEE Real-Time and Embedded Technology and Applications Symposium. IEEE, pp. 187–196, 2002.
    [10] R. Agarwal, T. Imieliński and A. Swami, “Mining association rules between sets of items in large databases,” ACM Sigmod Record, vol. 22, no. 2, p. 207–216, 1993.
    [11] R. Agarwal, R. Srikant, “Fast algorithms for mining association rules,” Proc. 20th int. conf. very large data bases (VLDB), vol. 1215, p. 487-499, 1994.
    [12] J. Han, J. Pei, and Y. Yin, “Mining frequent patterns without candidate generation,” ACM Sigmod Record, vol. 29, no. 2, p. 1–12, 2000.
    [13] 2Gb NAND Flash Memory, Micron Technology, Inc., mT29F2G08AABWP.
    [14] D. Narayanan, A. Donnelly, and A. Rowstron, “Write off-loading: Practical power management for enterprise storage,” ACM Transactions on Storage (TOS), vol. 4, no. 3, p. 10, 2008.
    [15] C. Lee, T. Kumano, T. Matsuki, H. Endo, N. Fukumoto, and M. Sugawara, “Understanding storage traffic characteristics on enterprise virtual desktop infrastructure,” Proceedings of the 10th ACM International Systems and Storage Conference (SYSTOR ’17), p. 1–11, 2017.

    QR CODE