compare by content in synchronize

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Milin
Junior Member
Junior Member
Posts: 4
Joined: 2004-01-19, 15:32 UTC
Location: Zürich
Contact:

compare by content in synchronize

Post by *Milin »

Hi to Christian & his team!

I love your Total commander since several years, unpossible to use a computer one hour without starting some Total Commanders!!

A small request:

Compare by content in synchronize function is very slow, my harddisk stalls at 5MB/s, although copying or reading goes with 20-50MB/s.
Maybe you could improve that?

second small request:
i would like to list a directory and store the list into a text-file. Ok I can print it, but how to store it into a file instead of printing? (my goal: i could make two snapshots of a same directory tree at two different dates and then compare them with "compare by content" to see which files have disappeared or change their size or some similar stuff.)
Right now I use "ls -la" in cygwin to do that.

Thk !!!
Francois Scheurer

:) thank to christian the swiss label in software domain get a good image!


PS:
Total Commander 6.0
CPU AMD Athlon XP 3000+ @ 2.172GHz (Barton, L2 Cache 512KB)
RAM 1GB @ 333MHz (PC3200 DDR400)
Video ATI Radeon AIW 9800 Pro @ 380MHz (128MB DDR340 256bit, DirectX 9.0, 8-pixel pipeline)
HDD MAXTOR MaXLine Plus II 7Y250P0 250GB (Cache 8MB, read 59MB/s, 7200RPM, 9.0ms)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50479
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Compare by content in synchronize function is very slow, my harddisk stalls at 5MB/s, although copying or reading goes with 20-50MB/s.
Do you compare two disks, or within the same disk? Within the same is of course much slower because TC has to seek between the two files all the time.
Author of Total Commander
https://www.ghisler.com
Milin
Junior Member
Junior Member
Posts: 4
Joined: 2004-01-19, 15:32 UTC
Location: Zürich
Contact:

Post by *Milin »

yes the slow speed occures when i compare on the same disk..

but i would really appreciate a speedup, i don't how it could be possible...
maybe an optional "compare by CRC" and each file would be checksumed and only the checksums would be compared.
pro: you can read without swaping (1st all files on left side, then right side)
con: a CRC comparaison is not exactly a "proof" of idendity

other proposition:
more aggresive caching. you read more chunks on the left side before comparing them with the right side. ok you need more memory but you can then have a good (maybe) multithreading usage: you read (let s say) 20 MB on the left side, then 20 MB on the right side, then in parallel you read the next 20 MB chunks on the left side and perform the bytes comparaison of the first 20 MB.

It should deserve a try, cause synchronizing (and comparing by content) is one of the best feature of Total Commander, it means one of the mostly used, too.

Thank You very very much for listening your (happy) customers!
Francois Scheurer
User avatar
white
Power Member
Power Member
Posts: 5787
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: compare by content in synchronize

Post by *white »

Milin wrote:i would like to list a directory and store the list into a text-file. Ok I can print it, but how to store it into a file instead of printing? (my goal: i could make two snapshots of a same directory tree at two different dates and then compare them with "compare by content" to see which files have disappeared or change their size or some similar stuff.)
Right now I use "ls -la" in cygwin to do that.
Have a look at the diskdir-plugin (also by Mr. Ghisler).
Milin
Junior Member
Junior Member
Posts: 4
Joined: 2004-01-19, 15:32 UTC
Location: Zürich
Contact:

Post by *Milin »

thk you White!

i installed the plugin you said and also "md5" plugin..
now I can do what I wanted!

francois
expect nothing!
Post Reply