You are not logged in.

#1 2009-04-28 20:52:45

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

speed issues deleting files on a converted partitons (ext3-->ext4)

@ loudtiger - I started this topic in reply to your questions posted here since they are off topic and I wanted to help keep the signal-to-noise up for the original thread.

loudtiger wrote:

slightly unrelated, does anyone find that deleting a particularly large file takes a long time? i'm talking about 4-10gb files, on an ext3-> ext4 partition. say, wasn't there supposed to be a defrag tool for extents?

Ext3 is SLOW to delete large files.  Ext4 is MUCH better but if you converted an existing ext3 partition, you won't benefit from the speed gains.

graysky wrote:

For the speed advantages to be realized, you have format the partition in question to ext4, then copy the files back... that is my understanding.  Otherwise, 'converted' files are still extent-less.

http://bbs.archlinux.org/viewtopic.php?id=69529

As to the online defragmenter for ext4, kernel 2.9.30 was rumored to have support for one, but I don't know if it'll make it in there or not.  You can google for this and find more.

Last edited by graysky (2009-04-28 21:39:51)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2009-04-29 14:51:30

loudtiger
Member
Registered: 2009-01-08
Posts: 68

Re: speed issues deleting files on a converted partitons (ext3-->ext4)

thanks! i didn't mean to derail the other thread. i guess i'll try to backup my folder and reformat.

Offline

#3 2009-04-29 20:01:41

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: speed issues deleting files on a converted partitons (ext3-->ext4)

You can use rsync for this if you want.

Example:

rsync -avxu --progress /home /media/backup/home

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB