請用此 Handle URI 來引用此文件:
http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/29723| 標題: | 可攜式儲存裝置之驅動層快取策略 A Driver-Layer Caching Policy for Removable Storage Devices |
| 作者: | Ping-Yi Hsu 徐秉毅 |
| 指導教授: | 郭大維(Tei-Wei Kuo) |
| 關鍵字: | 快取,驅動程式,檔案系統,快閃記憶體,可攜式儲存裝置, Caching,Driver,File system,Flash memory,Removable storage, |
| 出版年 : | 2007 |
| 學位: | 碩士 |
| 摘要: | 隨著可攜式儲存裝置的普及,檔案系統在可攜式儲存裝置上的效能是個逐漸受到重視的課題。本論文的動機起於作業系統中模組化的驅動程式架構,如匯流排驅動程式(Bus Driver)與裝置驅動程式(Device Driver)。本論文根據常見的可攜式儲存裝置儲存媒體─快閃記憶體(Flash Memory)的特性,提出一個過濾式驅動程式層(Filter-Driver-Layered)之快取策略,解決其在不同檔案系統之間的效能差異。並於快取設計中,提出一最近最少使用區間樹(LRU-Interval Tree)來組織及操作快取內的資料,論文中亦提出數個演算法來合併寫入資料。在論文中以檔案系統到通用序列介面(USB Interface)的分析,充分展現出此策略的效能。此論文所提出的快取策略,以系統驅動程式模組方式實作,並安裝在視窗作業系統中(Windows XP/Vista)。於實驗中,某些真實的檔案傳輸上可以改善十倍,甚至更多的傳輸效能。例如,在只使用64KB記憶體空間作為快取的狀況下,於複製Linux核心源代碼時,若使用FAT或NTFS檔案系統,分別可以節省其90% 及50% 的傳輸時間。 The popularity of flash memory will soon bring much attention to the criticism of file-system performance over flash memory. This work is motivated by the modularity designs in operating system components, such as bus and device drivers. We propose a filter-driver-layered caching design to resolve the performance gap among file systems and to improve their performance with the considerations of flash memory characteristics. An efficient hybrid tree structure is presented to organize and manipulate the intervals of cached writes. Algorithms are proposed in the merging, padding, and removing of the data of writes. The effectiveness of the proposed approach is shown with some analysis study of FAT-formatted and NTFS-formatted USB flash disks. The proposed cohesive caching policy was implemented as a filter driver in Windows XP/Vista for performance evaluation. In the experiments, more than 10 times of performance improvement was achieved in many cases, when the cache size was only 64KB. Much more substantial improvement was also observed in the experiments. For example, more than 90% and 50% of the file copying times were eliminated for FAT and NTFS formatted flash-memories, respectively, in the copying of Linux image files, when the cache size was only 64KB. |
| URI: | http://tdr.lib.ntu.edu.tw/jspui/handle/123456789/29723 |
| 全文授權: | 有償授權 |
| 顯示於系所單位: | 資訊工程學系 |
文件中的檔案:
| 檔案 | 大小 | 格式 | |
|---|---|---|---|
| ntu-96-1.pdf 未授權公開取用 | 1.11 MB | Adobe PDF |
系統中的文件,除了特別指名其著作權條款之外,均受到著作權保護,並且保留所有的權利。
