Disable checksumming to improve local performance?

Wayne Davison wayned at samba.org
Sat Oct 17 11:01:22 MDT 2009


On Fri, Sep 04, 2009 at 10:26:43AM -0700, Greg Siekas wrote:
> Is it possible to disable checksumming?  I'm using rsync with -W,
> whole file, so if a file has changed I don't want to just transfer
> the changes.

There is not currently a way to do that.  I whipped up the appended
patch that makes -WW disable full-file checksum computation and makes
that the default for a local transfer.  When comparing -W vs -WW in some
local-transfer testing, it didn't result in any perceivable difference
in transfer speed or runtime.  You can verify that it is enabled by
using --out-format='%i %C %n%L' and noting that all the checksums turn
into all-bits-on values (the checksum bytes are still transmitted so
that a read-error on the sending side can be indicated to the receiver).

..wayne..
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-file-checksum.patch
Type: text/x-diff
Size: 6942 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/rsync/attachments/20091017/07a13b16/attachment.patch>


More information about the rsync mailing list