[summit]2009 Red Hat Enterprise Linux File Systems들에 대한 구조/성능 비교 (ext4/xfs)
작성자이누기작성시간09.09.29조회수1,811 목록 댓글 0Red Hat Enterprise Linux File Systems
파일시스템 ext2, ext3 , XFS, ext4, Btrfs 에 대한 비교와 구조 설명
성능 비교/파일시스템의 제한등의 내용을 상세히 담고 있습니다.
아래는 Ext4에 대한 특징들입니다.
Ext4
● 개발자들은 Mingming Cao, Andreas Dilger, Alex Tomas, Dave Kleikamp, Theodore Ts'o, Eric Sandeen, Sam Naghshineh, 기타 입니다.
● Red Hat Enterprise Linux 5.3 와5.4 에서 Tech preview 로 지원됩니다.
● ext3의 확장적인 측면으로 시작되었습니다.
● Fedora 11 과 다른 배포판에 기본적으로 탑재되었습니다.
● ext2 와 ext3의 호환성
- ... assuming extents were never used
● Delayed allocation
● Multiblock allocator
● Delayed and multiblock allocation observed benefits
● Extents
- Start/length pairs
- 215 blocks ? 128 MB with 4 KB block size
- 16 TB (ext3) ? 1 EB (ext4 with 4 KB block size) max file size
● Persistent file pre-allocation
- Old way – write a file full of 0s
- New way – reserve but don't take time to write out 0s
- Guaranteed available (unlike a sparse file)
- Likely contiguous
- Ideal for media streaming and databases
● 32,000 ? 64,000+ subdirectories in a directory
● Improved timestamps
- Second ? nanosecond granularity
- Year 2038 problem deferred to 2514
● Online defrag of individual files or entire file system
- e4defrag
- Currently in git and Fedora Rawhide
● Journal and block group checksums
● Faster fsck
- Problem: full fsck of 2 TB ext3 on high end RAID ? 2 to 4 hours to days
- Unallocated block groups and inodes are marked and don't need to be fsck'ed
- Consequence: 2x to 10x+ speed up
- Enabled by default or via -O uninit_groups
degts_1010_rhel_file_systems.pdf