Why is ext3 so slow to delete large files?

Posted by Janis Peisenieks on Server Fault See other posts from Server Fault or by Janis Peisenieks
Published on 2012-07-11T07:58:57Z Indexed on 2012/07/11 9:17 UTC
Read the original article Hit count: 218

Filed under:
|

I have a server, which makes an incremental backup of a system every night. Now on saturdays, there is a full backup. But after the full backup has finished, a script kicks in, that deletes the incrementals.

Now, the script sometimes breaks, and it is because the incrementals are each about 10GB files, and sometimes takes too long for the script.

Now could someone explain to me, or point me in the direction of a resource, that explains why ext3 is so slow to delete files, when compared to, lets say, NTFS?

I know theses are 2 completely different file systems, but I'm really interested why is there such a big difference in deletion?

© Server Fault or respective owner

Related posts about ntfs

Related posts about ext3