Hi,
Right now cloning/refreshing a repository often spends a fair amount of
its time in the 'Counting objects' stage. Since git 2.0 git has a
'bitmap index' feature for packs. I wonder if that could be enabled on
gitmaster/git.pg.o? Saves both time and CPU.
# enable it everywhere
git config --global pack.writebitmaps on
git config --global pack.writeBitmapHashCache on
git config --global pack.threads 0 # make gc/repack faster, autodetect cpus
# and write it by repacking
git gc --aggressive --no-prune
Greetings,
Andres Freund
-- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services