Jump to content
Zatarra

Difference between rsync tar files and rsync with compression untarred files

Recommended Posts

The environment used was composed by two docker containers used with MACVLAN + some noise traffic (which gives around ±1% error)
The fileX - in my case - is a binary one
 
So, below are the result of rsync tarred files versus rsync with compression (option -z) untarred files
 
          1. File tarred + rsync without compression (rsync -axvPAH fileX.tar destination:/path)
    • File size is 56933 bits (fileX.tar)
    • Transfer difference is 4735665-4673346=62319 bits

          2. File tarred + rsync with default compression (rsync -axvPAH -z fileX destination:/path)

    • File size is 56933 (fileX.tar)
    • Transfer difference is 4933845-4871608=62237
          3. File tarred + rsync with maximum compression (rsync -axvPAH -z --compress-level=9 fileX.tar destination:/path)
    • File size is 56933 bits (fileX.tar)
    • Transfer difference is 4870664-4808387=62277
          4. File untarred + rsync with default compression (rsync -axvPAH -z fileX destination:/path)
    • File size is 237525 bits (fileX)
    • Transfer difference is 4669946-4607637=62309 bits
          5. File untarred + rsync with maximum compression (rsync -axvPAH -z --compress-level=9 fileX destination:/path)
    • File size is 237525 bits (fileX)
    • Transfer difference is 4806735-4744764=61971 bits
          6. File untarred + rsync without compression (makes no sense since it’s the most bandwidth consuming one)
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
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.



×
×
  • Create New...