Do I do that on the receiver side or sender side? Receiver is more obvious, but I just want to make sure.

--

Regards,

Marcin Polkowski

Zakład Fizyki Litosfery IGF UW

mobile: +48 607561871

mail: [email protected]



28 września 2013 19:23
On Tue, Sep 3, 2013 at 1:44 AM, Marcin Polkowski <[email protected]> wrote:
I‘m transferring 1.1 Mb files over very poor GSM EDGE connection. My rsync command is:
[... using --append ...] 
File on remote server “grows” in size in steps of 262144 bytes.

This is apparently due to the in-place code (which --append uses) not setting any cleanup flags for the transferred files, and thus all the cached data that has accumulated in the file buffer is never flushed.  I'm checking in a change that will improve the cleanup code to support in-place files (which will go out with 3.1.0).

In the meantime, if you want to just tweak your 3.0.7 version, edit the fileio.c file and change the line "wf_writeBufSize = WRITE_SIZE * 8;" to set just WRITE_SIZE (not * 8).
 
..wayne..

3 września 2013 10:44
I‘m transferring 1.1 Mb files over very poor GSM EDGE connection. My rsync command is:

rsync --partial --remove-source-files --timeout=120 --append --progress --rsh=ssh -z LOCAL_FILE root@SERVER:REMOTE_PATH

File on remote server “grows” in size in steps of 262144 bytes. That is a lot, because system needs to transfer at least 262144 (before compression) every time connection is established. When I use scp –C chunk size is about 32Kb. Is there a way to change chunk size for rsync? I use rsync 3.0.7.

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to