|Subject:||xfs_fsr for directories?|
|From:||Bernhard Erdmann <be@xxxxxxxxxxx>|
|Date:||Fri, 08 Oct 2004 01:23:54 +0200|
|User-agent:||Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040930|
Hi,I've noticed on old and heavily used XFS filesystems (Newsspool oder Cyrus IMAP storage) even a "ls" command can take a very long time when there have been 10,000 to 50,000 files in a directory. "ls" spits out the remaining 5,000 filenames but then it sits and waits for several seconds (5-20 sec).
# xfs_db -r -c "frag -d" /dev/vg1/news actual 4644, ideal 1891, fragmentation factor 59.28% # xfs_db -r -c "frag -d" /dev/vg1/imap actual 2299, ideal 424, fragmentation factor 81.56% xfs_fsr cleans up the files, but who cares about directories?How does XFS handle directories when files are deleted? Do they shrink as well?
|<Prev in Thread]||Current Thread||[Next in Thread>|
|Previous by Date:||Re: building xfsprogs (CVS): fadvise.c:71: `POSIX_FADV_NORMAL' undeclared (first use in this function), Nathan Scott|
|Next by Date:||Re: xfs_repair problem in FS root, Nathan Scott|
|Previous by Thread:||TAKE 907752 - fix older glibc builds, Nathan Scott|
|Next by Thread:||Re: xfs_fsr for directories?, Chris Wedgwood|
|Indexes:||[Date] [Thread] [Top] [All Lists]|