[xfs-masters] [Bug 15967] New: XFS is insanely slow at deleting files on a highly fragmented FS

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Thu May 13 06:59:18 CDT 2010


https://bugzilla.kernel.org/show_bug.cgi?id=15967

           Summary: XFS is insanely slow at deleting files on a highly
                    fragmented FS
           Product: File System
           Version: 2.5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: XFS
        AssignedTo: xfs-masters at oss.sgi.com
        ReportedBy: t.artem at mailcity.com
        Regression: No


A month ago I created an XFS filesystem and put irregularly hundreds of 100MB
files on it (by interleaving them, e.g. wget -b file1; wget -b file2; wget -b
file3). Now when I try delete those files on average it takes a whopping 1.8 -
3.0 seconds to delete any of them - I believe it's unacceptable.

$ time /bin/rm file121.bin

real    0m2.322s
user    0m0.000s
sys     0m0.040s

I haven't specified any special mount options, except noatime:

/dev/sda5 on /mnt/ext type xfs (rw,noatime)

FS was created using default options, except -i:

# mkfs.xfs -i size=512 /dev/sda5

using xfsprogs-3.1.1

I'm running a fast, modern 1TB 7200RPM HDD.

On ext4 fs on the same HDD it takes less than 0.1 seconds to delete the same
file regardless fragmentation:

$ time /bin/rm 100MB.bin

real    0m0.069s
user    0m0.000s
sys     0m0.007s

I'm running vanilla kernel 32bit 2.6.33.3.

-- 
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the xfs-masters mailing list