rsync has an option to set about the compression level --compress-level=NUM. The document of rsync doesn't say anything about how to choose NUM. I found something at this post., which refers a comment from zlib.h:
The compression level must be Z_DEFAULT_COMPRESSION, or between 0 and 9:
1 gives best speed, 9 gives best compression, 0 gives no compression at all
(the input data is simply copied a block at a time). Z_DEFAULT_COMPRESSION
requests a default compromise between speed and compression (currently
equivalent to level 6).
Comments