Browse > Article
http://dx.doi.org/10.3745/KIPSTA.2009.16-A.2.101

Design and Implementation of Autonomic De-fragmentation for File System Aging  

Lee, Jun-Seok (육군3사관학교 컴퓨터공학과)
Park, Hyun-Chan (고려대학교 컴퓨터학과)
Yoo, Chuck (고려대학교 컴퓨터공학과)
Abstract
Existing techniques for defragmentation of the file system need intensive disk operation for some periods at specific time such as disk defragmentation program. In this paper, for solving this problem, we design and implement the automatic and continuous defragmentation free system by distributing the disk operation. We propose the Automatic Layout Scoring(ALS) mechanism for measuring defragmentation degree and suggest the Lazy Copy mechanism that copies the defragmented data at idle time for scattering the disk operation. We search the defragmented file by Automatic Layout Scoring mechanism and then find for empty spaces for that searched file. After lazy copy of searched fils to empty space for preventing that file from being lost, the algorithm solves the defragmentation problem by updating the I-node of that file. We implement these algorithms in Linux and evaluate them for small and defragmented file to get the layout scoring. We outperform the Linux EXT2 file system by $2.4%{\sim}10.4%$ in layout scoring evaluation. And the performance of read and write for various file size is better than the EXT2 by $1%{\sim}8.5%$ for write performance and by $1.2%{\sim}7.5%$ for read performance. We suggest this system for solving the problem of defragmentation automatically without disturbing the I/O task and manual management.
Keywords
File System; Defragmentation;
Citations & Related Records
Times Cited By KSCI : 1  (Citation Analysis)
연도 인용수 순위
1 Windsor W. Hsu, Alan Jay Smith and Honesty C. Young, 'The Automatic Improvement of Locality in Storage Systems,' ACM Transactions on Computer Systems, Vol.23, No.4, November, 2005, pp.424-473, 2005   DOI   ScienceOn
2 Keith A. Smith and Margo I. Seltzer 'A Comparison of FFS Disk Allocation Policies,' 1996 USENIX Annual Technical Conference, pp.15-26, 1996
3 Marshall K. McKusick, William N. Joy, Samuel J. Leffler and Robert S. Fabry,'A Fast File System for UNIX,' ACM Transactions on Computer Systems, Vol.2, No.3, pp.181-197, 1984   DOI
4 Keith A. Smith and Margo I. Seltzer, 'File Layout and File System Performance,' Harvard University Computer Science Department Technical Report
5 Abraham Silberschatz, Peter B. Garvin, Greg Gagne, 'Operating Systems Principles,' John Wiley & Sons, 2006, Appendix A pp.834-842
6 W.H. Ahn, et al., 'DFS: a de-fragmented file system,' Modeling, Analysis and Simulation of Computer and Telecommunications Systems, 2002. MASCOTS2002. Proceedings. 10th IEEE International Symposium on, 2002, pp.71-80   DOI
7 E. Riedel, C. van Ingen, and J. Gray. 'A performance study of sequential I/O on Windows NT 4,' In Proceedings of the second USENIX Windows NT Symposium, Seattle, Washington, August, 1998
8 Keith A. Smith and Margo I. Seltzer, 'File System Aging-Increasing the Relevance of File System Benchmarks,' In Proceedings of the 1997 ACM SIGMETRICS Conference, pp.203-213, June, 1997   DOI
9 Marshall K. McKusick, Geoge V. Neville-Neil, 'The Design and Implementation of the FreeBSD Operating System,' Addison-Welsey, Reading, MA. 2005, pp.362-378
10 이경재, 안우현, 오재원, '디렉토리 지역성을 활용한 작은 파일들의 모아 쓰기 기법', 정보처리학회논문지A, Vol.15-A, No.5, pp.275-286, 2008. 10   과학기술학회마을   DOI   ScienceOn
11 The source code for the aging tool and benchmarks. Available : http://www.eecs.harvard.edu/∼keith
12 Love, R., 'Linux Kernel Development,' 2003: Sams Pub
13 L. McVoy and S. Kleiman. 'Extent-like performance from a UNIX file system,' In 13th CM Symposium on Operating Systems Principles, pages pp.137-144, October, 1991
14 Card, R., T. Ts'o, and S. Tweedie, 'Design and implementation of the second extended filesystem,' 1994
15 Bovet, D.P. and M. Cesati, 'Understanding the Linux Kernel,' 2003, O'Reilly & Associates
16 W. Vogels, 'File system usage in Windows NT 4.0,' Proceedings of the seventeenth ACM symposium on Operating systems principles, 1999, pp.93-109   DOI
17 Nitin, A., et al., 'A five-year study of file-system metadata,' Trans. Storage, 2007, 3(3): p.9   DOI
18 Sarr Blumson, 'Workload Characterization in a Large Distributed File System,' CITI Technical Report 94-3