Max_File_Size_Diff_For_Patching Confusion.

Recommended Posts

Google brings up where it notes:


If the size of the data that's changed in a file is more than "max_file_size_diff_for_patching", patching isn't used, and instead the entire file is transferred. (this is the same behavior as previous versions of Sync where data is downloaded to a .!sync file, and then renamed to the original name upon completion)

If, however, the size of the data that's changed in a file is less than "max_file_size_diff_for_patching", then patching is used.



The official help pdf notes:



max_file_size_diff_for_patching (MB) determines a size difference between versions of
one file for patching. When it is reached or exceeded, the file will be updated by
downloading missing chunks of information (patches). Updates for a file with a smaller size
difference will be downloaded as separate files.



So the forum basically says, (file_size < max_file_size_diff_for_patching)  = patching is used, while the pdf notes (file_size >= max_file_size_diff_for_patching) = patching is used.


The default value is als "1000", so going by the PDF its 1000 Mbyte aka 1 GB?


So who is right here now and can someone give a actual example? Both statements are kinda confusing to me, since the first would mean that all files < 1GB will use pathcing, while >1GB wont? This would mean that a 10GB truecrypt container wont be patched, which is unlogical so i assume the first statement is wrong.


Going by the PDF this would also mean, that only files >= 1GB would be profiting from patching, wich i also find hard to believe, since 1GB is a rather large default size? Maybe the size is in kb?


If the second statement is true, lowering this value should improve sync on files like PSD's or other formats, where only a few blocks might change?


thx Andy

Edited by Andy22
Link to post
Share on other sites
  • 6 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.