An Efficient Cleaning Scheme for File Defragmentation on Log-Structured File System
暂无分享,去创建一个
When many processes issue write operations alternately on Log-structured File System (LFS), the created files can be fragmented on the file system layer although LFS sequentially allocates new blocks of each process. Unfortunately, this file fragmentation degrades read performance because it increases the number of block I/Os. Additionally, read-ahead operations which increase the number of data to request at a time exacerbates the performance degradation. In this paper, we suggest a new cleaning method on LFS that minimizes file fragmentation. During a cleaning process of LFS, our method sorts valid data blocks by inode numbers before copying the valid blocks to a new segment. This sorting re-locates fragmented blocks contiguously. Our cleaning method experimentally eliminates 60% of file fragmentation as compared to file fragmentation before cleaning. Consequently, our cleaning method improves sequential read throughput by 21% when read-ahead is applied.
[1] Mendel Rosenblum,et al. The design and implementation of a log-structured file system , 1991, SOSP '91.
[2] Kyu Ho Park,et al. An efficient NAND flash file system for flash memory storage , 2006, IEEE Transactions on Computers.
[3] Margo I. Seltzer,et al. File system aging—increasing the relevance of file system benchmarks , 1997, SIGMETRICS '97.