Jump to content

Defraggler needs more "intelligence"


Mugros

Recommended Posts

I have 4 100 GB containers. I wanted to move them to the end of the drive so subsequent defrags don't try to move them, which takes a long time. So i set a high minimum file size for files to put at the end at let defraggler run. First it tried to move file x to the end. Somehow it didn't manage to defrag it completely, maybe because something else was written where the file x should be stored. So i restarted defraggler. But instead of finishing the job on x which was 99% done, it started to move file z to where x was.

I guess that defraggler just picks the first file it can find and has to defrag and tries to move it. In the beginning, file x was at the beginning of the disk, so it was the first file to be moved. After it has been moved to the end, but not completely defragmentated, and after the restart, defraggler again started to look for files to defrag and found file z first and started to move it. I think it defraggler should be more intelligent and should first sort, what should go where. This way a break in the defrag process doesn't make it do unneccesary work.

I tried to force defraggler to defrag file x by giving it a unique extension and limiting the defrag options to this extension, but it won't put the file together. (And there is no MFT in that area.)

 

And i also think that the defrag algorithm isn't really good. It looks like defraggler starts at the beginning of the disk and then looks for files to defrag. If it finds one it makes room for the file. And here i see a first problem, because the data isn't moved far away. So it might have to be moved another time when the defrag gets to that place a bit later. It would be better if the data is moved to the end.

And when defrag finds free space it hunts from that place to look for data that fits into the gap. But here is a second problem. It doesn't look at the far side for the fitting data, but rather close to the current spot. So it makes free space which it has to fill later again, which will make the next free space and so on. It would be better if defraggler would start looking at the far side of the disk for fitting files. This way no holes will be generated that have to be filled again.

 

Correct me if my interpretation of the algorithm is wrong.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.