Re: Strange delete performance using XFS
Thomas Kaehn wrote:
i havent timed it yet, though i have noticed that xfs is (relativly)
slow for me on deleting large quantitys of small files (linux kernel
source tree with all the leftovers from compiling, maildirs with ~150000
to 200000 mails in several sub- and and subsubfolders), slower than i
remember it from reiserfs for example (though i had reasons to switch).
however that is not on server grade hardware...and the differences i
notice can be explained from different hw (cpu, slower harddisks (destop
sata vs 2.5" ide and sata).
I've got a strange problem on one machine using XFS. Deleting large
directories (containing about 100000 files, 20k each) using "rm -rf"
lasts nearly as long as creating the the files using a bash loop.
The machine is running Debian Sarge with a vanilla 126.96.36.199 kernel.
CPU: Dual Xeon(TM) CPU 3.20GHz
RAM: 4 GB
RAID10: 4x 320 GB disks connected to 3ware 9550SXU-8LP
(Firmware Version = FE9X 3.08.00.004)
The XFS was created using default options.
Has anyone realized similar effects? On a different server (Dell 6850)
the directory can be deleted within seconds. What could be the reason
for the huge difference in delete performance?