summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorGravatar https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4 <https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4@web>2015-08-04 15:28:29 +0000
committerGravatar admin <admin@branchable.com>2015-08-04 15:28:29 +0000
commit9c5008cc21b07f0f6259ee42dbec445eca64b8cd (patch)
tree948aec59534c9b0316e7130566a45d7387bc5a95 /doc/todo
parent0c8b2ed8d2f7438f99bc3c8ae5b62216f20f6dc3 (diff)
Added a comment
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/speed_up_transfers_over_ssh+rsync_--_directly_reuse_the_same_connection__63__/comment_2_7605d67785288e5945999ca6b677c579._comment25
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/todo/speed_up_transfers_over_ssh+rsync_--_directly_reuse_the_same_connection__63__/comment_2_7605d67785288e5945999ca6b677c579._comment b/doc/todo/speed_up_transfers_over_ssh+rsync_--_directly_reuse_the_same_connection__63__/comment_2_7605d67785288e5945999ca6b677c579._comment
new file mode 100644
index 000000000..26d2c4ec5
--- /dev/null
+++ b/doc/todo/speed_up_transfers_over_ssh+rsync_--_directly_reuse_the_same_connection__63__/comment_2_7605d67785288e5945999ca6b677c579._comment
@@ -0,0 +1,25 @@
+[[!comment format=mdwn
+ username="https://me.yahoo.com/a/EbvxpTI_xP9Aod7Mg4cwGhgjrCrdM5s-#7c0f4"
+ subject="comment 2"
+ date="2015-08-04T15:28:29Z"
+ content="""
+since I am not sure what is the actual overhead here, can't provide any good advice, but may be it is worth looking at least into bundling multiple transfers within the same rsync call? rsync man page says
+
+ The syntax for requesting multiple files from a remote host is done by specifying
+ additional remote-host args in the same style as the first, or
+ with the hostname omitted. For instance, all these work:
+
+ rsync -av host:file1 :file2 host:file{3,4} /dest/
+
+so it should be quite possible to batch a hundred or two transfers into the same rsync call I guess. Probably on other systems limit is different but on linux the cmdline size is quite hefty:
+
+ $> xargs --show-limits
+ Your environment variables take up 3441 bytes
+ POSIX upper limit on argument length (this system): 2091663
+ POSIX smallest allowable upper limit on argument length (all systems): 4096
+ Maximum length of command we could actually use: 2088222
+ Size of command buffer we are actually using: 131072
+
+not sure if there are inherent limits within ssh etc
+
+"""]]