diff options
author | CandyAngel <CandyAngel@web> | 2015-04-16 07:41:07 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-04-16 07:41:07 +0000 |
commit | 81b5ca6e062a1d928c7148252dede507de1aca28 (patch) | |
tree | 87aa7be214f4d1b91daf4ab99f1e852f9cd6c5a3 /doc | |
parent | 3310142bcea73e2d52c637bd3230f0ea1fdfa3bb (diff) |
Added a comment
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/__34__git_annex_sync__34___synced_after_8_hours/comment_3_c50b62e5a84b861117a4405c2a2f5cfb._comment | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/forum/__34__git_annex_sync__34___synced_after_8_hours/comment_3_c50b62e5a84b861117a4405c2a2f5cfb._comment b/doc/forum/__34__git_annex_sync__34___synced_after_8_hours/comment_3_c50b62e5a84b861117a4405c2a2f5cfb._comment new file mode 100644 index 000000000..20031b952 --- /dev/null +++ b/doc/forum/__34__git_annex_sync__34___synced_after_8_hours/comment_3_c50b62e5a84b861117a4405c2a2f5cfb._comment @@ -0,0 +1,16 @@ +[[!comment format=mdwn + username="CandyAngel" + subject="comment 3" + date="2015-04-16T07:41:07Z" + content=""" +*git annex info* has check every file (not sure if it traverses *.git/annex/objects* specifically or not) to get \"local annex\" information. You can improve its performance by improving directory traversal in general (different filesystem or [changing the hashing method so it isn't Xx/Yy/KEY/FILE](https://github.com/datalad/datalad/issues/32)). + +The repack/gc speeds up operations for the git side of things, like syncing (pull/push), cloning and committing. + +Here's what I used: + + git repack -ad + git gc + +This took git actions down from 1 hour+ to ~10 minutes (for a repo with 5.6 million objects). +"""]] |