| 研究生: |
張簡中泰 Chang-Cheng, Chung-Tai |
|---|---|
| 論文名稱: |
基於時間局限性和空間局限性之工作負載感知快閃記憶體轉譯層 A Workload-Aware Flash Translation Layer Exploiting both Temporal and Spatial Localities |
| 指導教授: |
張大緯
Chang, Ta-Wei |
| 學位類別: |
碩士 Master |
| 系所名稱: |
電機資訊學院 - 資訊工程學系 Department of Computer Science and Information Engineering |
| 論文出版年: | 2011 |
| 畢業學年度: | 100 |
| 語文別: | 英文 |
| 論文頁數: | 39 |
| 中文關鍵詞: | 快閃記憶體 、轉譯層 、時間局限性 、空間局限性 |
| 外文關鍵詞: | NAND flash, Erase before Write, FTL, Temporal Locality, Spatial Locality |
| 相關次數: | 點閱:89 下載:0 |
| 分享至: |
| 查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報 |
快閃記憶體已經被預期當作下一世代的儲存裝置。而且世面上已有諸多的產品使用快閃記憶體成為他們的儲存裝置。例如:數位相機、手機、、、等3C產品。但是快閃記憶體在執行寫入動作之前必須先執行抹除,並且寫入與抹除的單位大小不一樣,寫入的單位是page,而抹除的單位是block(64或32pages),而此問題藉由轉譯層來輔助硬體的運作。然而轉譯層在執行抹除動作之前必須先把block裡面有效的資料page搬移至其他block,因此如果需要搬移的資料(pages)越多,就會使得系統的效能降低,假若我們讓block在要被抹除的時候,裡面所剩下的都是無效的資料,那我們將無須執行搬移動作,而在同一個block的page可以同時成為無效的page,表示他們具有相同或相近的特性。因此在執行寫入動作時,若能把特性相同的page集中在同一個block,將可大大減少在抹除動作所需搬移的page。
所以我們藉由使用並調整時間局限性和空間局限性來使整個系統達到最佳的效能。
NAND flash packages have been expected as the next generation storage device. But there are more and more products using NAND flash packages into their storage device. Such as digital cameras, mobile phones,,, etc. But Flash must perform erase operation before performing write operation. However, the unit sizes of write and erase are different, the former is one page and the later is one block which is composed of 64 or 32Pages, so it will come out a problem that if there are some pages still alive in the block we want to erase, we have to move those pages to other block before we erase the physical block. The manufacture deal with this problem by a software called Flash Translation Layer. Valid page coping decrease the performance, but if we can move fewer pages, then we can get better performance and it can be done by gathering the pages which has the same locality, for the pages having the same locality will be live or dead together.
We exploit temporal and spatial localities to improve the performance by gathering the pages with the same locality into the same physical block, so we can decrease the live pages in the ready to be erased block.
[1]M. L. Chiao and D. W. Chang, "ROSE: A Novel Flash Translation Layer for NAND Flash Memory Based on Hybrid Address Translation," IEEE Trans. Computer, vol. 60, pp. 753-766, 2011.
[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 Trans. Consumer Electronics, vol. 48, 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 Trans. Embedded Computing Systems, vol. 6, pp. 436-453, 2007.
[4]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 Trans. Embedded Computing Systems, vol. 9, pp. 1-41, 2010.
[5]S. Lee, D. Shin, Y. Kim, and J. Kim, "LAST: locality-aware sector translation for NAND flash memory-based storage systems," ACM SIGOPS Operating Systems Review, vol. 42, pp. 36-42, 2008.
[6]H. Cho, D. Shin, and Y. I. Eom, "KAST: K-Associative Sector Translation for NAND Flash Memory in Real-Time Systems," presented at the EDAA, 2009.
[7]A. Gupta, Y. Kim, and B. Urgaonkar, "DFTL: a flash translation layer employing demand-based selective caching of page-level address mappings," in ASPLOS, Washington, DC, USA, 2009, pp. 229-240.
[8]M. Chiang, P. Lee, and R. Chang, "Using data clustering to improve cleaning performance for flash memory," Software-Practice and Experience, vol. 29, pp. 267-290, 1999.
[9]D. Ma, J. Feng, and G. Li, "LazyFTL: A page-level flash translation layer optimized for NAND flash memory," in ACM/SIGMOD, 2011, pp. 1-12.
[10]Z. Qin, Y. Wang, D. Liu, and Z. Shao, "A Two-Level Caching Mechanism for Demand-Based Page-Level Address Mapping in NAND Flash Memory Storage Systems," in Conf. Real-Time and Embedded Technology and Applications Symposium, 2011, pp. 157-166.
[11]A. Mahanti, D. Eager, and C. Williamson, "Temporal locality and its impact on Web proxy cache performance," Performance Evaluation, vol. 42, pp. 187-203, 2000.
[12]M. F. Arlitt and C. L. Williamson, "Internet Web servers: workload characterization and performance implications," Networking, IEEE/ACM Transactions on, vol. 5, pp. 631-645, 1997.
[13]S. Jiang, L. Zhang, X. H. Yuan, H. Hu, and Y. Chen, "S-FTL: An Efficient Address Translation for Flash Memory by Exploiting Spatial Locality," 2011.
[14]S. Jiang, X. Ding, F. Chen, E. Tan, and X. Zhang, "DULO: an effective buffer cache management scheme to exploit both temporal and spatial locality," in Conf. File and Storage Technologies 2005, pp. 8-8.
[15]J. Ren and Q. Yang, "A New Buffer Cache Design Exploiting Both Temporal and Content Localities," in International Conference on Distributed Computing Systems, 2010, pp. 273-282.
[16]S. Kumar and C. Wilkerson, "Exploiting spatial locality in data caches using spatial footprints," in Conf. Int. symp. Comput. architecture, 1998, pp. 357-368.
[17]J. H. Lee, G. H. Park, and S. D. Kim, "A new NAND-type flash memory package with smart buffer system for spatial and temporal localities," Journal of Systems Architecture, vol. 51, pp. 111-123, 2005.
[18]Y. Lee, D. Jung, D. Kang, and J. Kim, "μftl: a memory-efficient flash translation layer supporting multiple mapping granularities," in ACM international conference on Embedded software, 2008, p. 21¡V30.
[19](2005). K9K4G08U0M 512M x 8 Bit NAND flash memory [Data Sheet]. Available: http://www.datasheetcatalog.org/datasheets/700/389215_DS.pdf
[20]A. Kawaguchi, S. Nishioka, and H. Motoda, "A Flash-Memory Based File System," presented at the Proc. 1995 USENIX Winter Technical Conf., 1995.
[21]M.-L. Chiang, P. C. H. Lee, and R.-C. Chang, "Cleaning Policies in Mobile Computers Using Flash Memory," Journal of Systems and Software, vol. 48, pp. 213-231, 1999.
[22]" Oracle,VirtualBox, http://www.virtualbox.org/."
[23]" blktrace(8)-Linux main page, http://linux.die.net/man/8/blktrace."
[24]" Storage Networking Industry Association,IO traces, http://www.snia.org/."
[25]" Taiwan University Flash Group,IO traces, http://newslab.csie.ntu.edu.tw/~flash/index.php?SelectedItem=Traces
校內:立即公開