Bastien <b...@altern.org> writes: > Hi Jason, > > Jason Dunsmore <emacs-orgm...@dunsmor.com> writes: > >> I ran some tests and found that the download speed is proportional to >> the size of the repo: > > Good to know, thanks. > >> If you clone via git://, it does some optimizations during the transfer, >> whereas cloning via http:// does not. If I do a "git gc" on the repo, >> it reduces the size of the repo on the server and the time to download >> via http:// > > Okay -- can you "git gc" on the server?
Okay, done: --8<---------------cut here---------------start------------->8--- orgmode@org:~$ du -sh org-mode.git 225M org-mode.git orgmode@org:~/org-mode.git$ find objects/|wc -l 6523 orgmode@org:~/org-mode.git$ git gc Counting objects: 52023, done. Delta compression using up to 4 threads. Compressing objects: 100% (14474/14474), done. Writing objects: 100% (52023/52023), done. Total 52023 (delta 41421), reused 46864 (delta 37483) Removing duplicate objects: 100% (256/256), done. orgmode@org:~/org-mode.git$ du -sh 56M . orgmode@org:~/org-mode.git$ find objects/|wc -l 66 --8<---------------cut here---------------end--------------->8--- I lowered the git auto-gc threshold from the default of 6700 (loose objects) to 1000. orgmode@org:~/org-mode.git$ git config gc.auto 1000 Regards, Jason