Hi,
Background:
I'm running Centos 6.3/BC 3.3.5 trying to compare 2 large (>6TB) file collections mostly (.ISO, .WAV, .MP3), because I'm moving to a new & larger array. Copying files, I was ranging from 75-100MB/sec (smaller files) to about 175-250MB/sec (large files).
Problem:
Attempting to compare folders using either 'Compare Contents->Binary' or '=? Compare Contents...' options, BC reports it will take >6000 minutes!
When comparing a single file (8GB ISO) using these same methods, it takes about 5 min to complete. But if I use "Quick Compare (HEX)" it takes about 50 secs. This is also the approx the time it takes for the linux 'CMP' command to complete.
I don't know what is causing this slow-down (GUI updates?), but something is not quite right. I can definitely see that the drive lights are only 'blipping' as opposed to almost full on for the 2 quicker methods.
To the Scooter Team: what accounts for such a huge difference?
To All: I'm a noob when it comes to bash scripting, but I'd like to put together a script to compare this collection and output to a file a list of path/files that have differences.
EDIT: I'm also fine with using a combination bash/BC scripting, if the comparison can be done just as quickly.
Thanks!
Mark
Background:
I'm running Centos 6.3/BC 3.3.5 trying to compare 2 large (>6TB) file collections mostly (.ISO, .WAV, .MP3), because I'm moving to a new & larger array. Copying files, I was ranging from 75-100MB/sec (smaller files) to about 175-250MB/sec (large files).
Problem:
Attempting to compare folders using either 'Compare Contents->Binary' or '=? Compare Contents...' options, BC reports it will take >6000 minutes!
When comparing a single file (8GB ISO) using these same methods, it takes about 5 min to complete. But if I use "Quick Compare (HEX)" it takes about 50 secs. This is also the approx the time it takes for the linux 'CMP' command to complete.
I don't know what is causing this slow-down (GUI updates?), but something is not quite right. I can definitely see that the drive lights are only 'blipping' as opposed to almost full on for the 2 quicker methods.
To the Scooter Team: what accounts for such a huge difference?
To All: I'm a noob when it comes to bash scripting, but I'd like to put together a script to compare this collection and output to a file a list of path/files that have differences.
EDIT: I'm also fine with using a combination bash/BC scripting, if the comparison can be done just as quickly.
Thanks!
Mark
Comment