Bug 9790 - Provide a threshold before transfer compression is attempted
Summary: Provide a threshold before transfer compression is attempted
Alias: None
Product: rsync
Classification: Unclassified
Component: core (show other bugs)
Version: 3.0.9
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---
Assignee: Wayne Davison
QA Contact: Rsync QA Contact
Depends on:
Reported: 2013-04-12 15:36 UTC by Ed
Modified: 2020-07-26 07:35 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Ed 2013-04-12 15:36:21 UTC
Where one side of the transfer is low powered (e.g. a home NAS) or where files are small, the time taken to compress, transfer and decompress is often greater than simply transferring uncompressed. One way round this is to have a threshold (by default say 50Kb) below which compression is not attempted, a command line switch taking a numerical arg like 100, 100K, 100M, 100G could permit the user to tune this.
Comment 1 Wayne Davison 2020-07-26 07:35:30 UTC
The newest compression algorithms give you more options for a low-powered host.  e.g., --cc=lz4.  Hopefully that will be enough.