summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawkkyBDsfOB7JZvPZ4a8F3rwv0wk6Nb9n48 <Abd@web>2013-07-17 08:52:13 +0000
committerGravatar admin <admin@branchable.com>2013-07-17 08:52:13 +0000
commit8ef0b8831f1653fa0ad2184403b3359407fc5a91 (patch)
treea171e392f434a6a57d33586001e500469c5dc0ae
parent64e4e31363795d24aa1837bf2782ea5a282bd82e (diff)
-rw-r--r--doc/forum/git_annex_copy_--fast_--to_blah_much_slower_than_--from_blah.mdwn15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/forum/git_annex_copy_--fast_--to_blah_much_slower_than_--from_blah.mdwn b/doc/forum/git_annex_copy_--fast_--to_blah_much_slower_than_--from_blah.mdwn
new file mode 100644
index 000000000..37b86c462
--- /dev/null
+++ b/doc/forum/git_annex_copy_--fast_--to_blah_much_slower_than_--from_blah.mdwn
@@ -0,0 +1,15 @@
+I keep a repo synced between machines over ssh. Assuming all the files are in sync, so no actual file transfer needs to takes place, when I do
+
+```
+git annex copy --fast --quiet --to blah
+```
+
+is quite slow, about 10 seconds, using 100% CPU on one core, just to decide nothing needs to be done. On the other hand, doing
+
+```
+ git annex copy --fast --quiet --from blah
+```
+
+takes about 1 second.
+
+I'm confused, as it seems to me that, since I'm using --fast, both transactions should use only locally available data, and both should need about the same amount of computing. Am I missing something? Can this be fixed?