Page 1 of 1

Byte to byte comparison too slow

Posted: Wed Jun 23, 2021 1:08 pm
by GibbsBR
What could I do to make byte-to-byte comparison faster?

I had a big pool (151000 files, 3.87TB) and everything went fine until it got to 45%. When it got there, it started to take 20-40 minutes each single file. Suggestions?

Re: Byte to byte comparison too slow

Posted: Thu Jun 24, 2021 10:53 am
by DigitalVolcano
With a large amount of files it's much faster to use hashes (SHA-1 should be fine)

Re: Byte to byte comparison too slow

Posted: Tue Jul 13, 2021 3:48 am
by GibbsBR
Found the problem: about 40000 identical files. Maybe it was doing several unnecessary comparisons?

(I used byte-to-byte due to the high chance of corrupted files. it was a file recovery)

Re: Byte to byte comparison too slow

Posted: Sun Jul 18, 2021 10:19 am
by DigitalVolcano
If you have a lot of identical files then using hashing will be an order of magnitude faster!