diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-05-12 15:03:40 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-05-12 15:03:40 -0400 |
commit | f33fe00e45e91e8ae6d22136a68ff4f6070f8544 (patch) | |
tree | ad6c9ba8e206f3c889bf42d22097675e6dfb6eba /doc/forum | |
parent | 1376e71d2263ffa5cd29ba7cca982ca8d356b09a (diff) |
response
Diffstat (limited to 'doc/forum')
-rw-r--r-- | doc/forum/performance_for_FTP_site_mirroring/comment_1_7648fced001ce1c34726e913e06273e9._comment | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/forum/performance_for_FTP_site_mirroring/comment_1_7648fced001ce1c34726e913e06273e9._comment b/doc/forum/performance_for_FTP_site_mirroring/comment_1_7648fced001ce1c34726e913e06273e9._comment new file mode 100644 index 000000000..9e886e44e --- /dev/null +++ b/doc/forum/performance_for_FTP_site_mirroring/comment_1_7648fced001ce1c34726e913e06273e9._comment @@ -0,0 +1,32 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2016-05-12T18:50:10Z" + content=""" +Are you using v6 mode? I'd have two entirely different sets of anwsers to +all of these questions depending on whether you're using v6 mode or not. + +Since you mentioned annex.thin, I'm going to guess v6 mode... + +1. `git status` will be slow in v6 mode if files have been dropped or + git's index has otherwise gotten out of sync. This is the main reason v6 + mode is still considered experiemental. It's being worked on. +2. WORM backend won't help with 1. The only thing WORM is going to speed + up is avoiding checksumming when adding files. At the cost that two + versions of a file with the same size and different content can't be + differentiated. +3. Yes, git config annex.backends WORM would set the WORM backend by default. + I don't think that WORM is a good fit for your use case though. +4. `git add` is much slower than `git-annex add`, because the former has to run + git-annex once per file added. Instead, run: `git config annex.addunlocked true` + and then `git annex add` will add the files unlocked. +5. We could think about making `git annex add` fiddle with directory perms + to allow replacing a file with the annex symlink. But, what happens + if it loses power before it can fix the perms back to original mode? + Etc. Perhaps there's a way to make lftp not remove write perms to start + with. But I think you're going to need to use unlocked files anyway, + otherwise lftp mirror is probably going to see the annexed symlink as + different than the remote file, and replace it. +6. See #4. +7. No, annex.thin does not make anything slower AFAIK. +"""]] |