Turn on git pack bitmaps? - Mailing list pgsql-www

From Andres Freund
Subject Turn on git pack bitmaps?
Date
Msg-id 20150219154146.GA6093@alap3.anarazel.de
Whole thread Raw
Responses Re: Turn on git pack bitmaps?  (Magnus Hagander <magnus@hagander.net>)
List pgsql-www
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



pgsql-www by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Commitfest URL problem
Next
From: Magnus Hagander
Date:
Subject: Re: Turn on git pack bitmaps?