Repacking the fedora-web git repo for better cloning performance

Todd Zullinger tmz at pobox.com
Tue Feb 8 21:41:51 UTC 2011


Hi all,

I was talking with Sijis in IRC about ways to help improve clone times
for the git repo.  Looking at the repo on hosted, it could really
benefit from a git repack.  This takes all the loose object files and
puts them neatly into .pack files.  It also optimizing them based on
how they change from commit to commit.

I did this on a copy and shrank the git repo from 431M to 225M (this
excludes the size of the checked out files -- it's basically the size
of the .git dir in a clone).

I could do this on the official repo if we wanted.  It would mean
disabling the repo for a short time (half an hour at most).  Anyone
see a reason not to do this?

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Artificial Intelligence is no match for Natural Stupidity

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://lists.fedoraproject.org/pipermail/websites/attachments/20110208/a971240c/attachment.sig>


More information about the websites mailing list