hjmangalam / parsyncfp

follow-on to parsync (parallel rsync) with better startup perf
Other
164 stars 19 forks source link

Reusecache #5

Open gms8994 opened 7 years ago

gms8994 commented 7 years ago

The --help flag mentions the ability to --reusecache. However, when passing that argument to parsyncfp, I get the error Unknown option: reusecache.

Having that flag work would be really useful :)

hjmangalam commented 7 years ago

Hi Glendon,

Hmm - good catch. I removed the --reusecache option from it bc using fpart is so fast that re-using the cache is largely unnecessary. The fpart engine is forked early and generally by the time the rsyncs start, there are already chunk files ready to go. There have been a few instances where you have to wait a few seconds for fpart to get ahead (if you ask for a large number of parallel operations), but generally not.

Can you describe a situation where this option would make sense in light of what I describe? hjm