phase1: rsync: use --size-only instead of --checksum
'--checksum' puts heavy I/O and memory load on both the sender and the
receiver and dramatically reduces rsync's speedup. Furthermore, if
multiple slaves are uploading at once the receiver may become overloaded,
slowing down the whole build farm. From rsync manpage:
Generating the checksums means that both sides will expend a lot of
disk I/O reading all the data in the files in the transfer (and this
is prior to any reading that will be done to transfer changed files),
so this can slow things down significantly.
This slowdown causes timeouts for some build slaves, noticeably in the
'sourceupload' step.
'--size-only' matches files by size only. Compared to '--checksum', it is
faster, and does not aggravate the collision/error risk (if two files of
the same name and size have different checksums, we don't have a heuristic
to determine which is "correct" and which is "invalid" anyway)
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>