Thread (21 messages) flat view 21 messages, 6 authors, 2016-06-15

Re: serious performance issues with images, audio files, and other "non-code" data

From: Nicolas Pitre <nico@fluxnic.net>
Date: 2016-06-15 22:48:49

On Tue, 18 May 2010, Jeff King wrote:
So you might want "git gc --aggressive" the _first_ time you pack, or
possibly even very occasionally. But if you are packing every day, you
should just use "git gc", which will run much more quickly (and would
probably have acceptable behavior even without the -delta attribute, as
it would only have to look at _new_ objects).

It will have to write the whole 200M packfile out each time, though.
No.  gc will only create a pack with new loose objects by default.  
Only if the number of packs grow too large will it combine them into one 
pack.
Packing nightly won't hurt, but is perhaps excessive. It sounds like you
actually have a fairly normal workload.
Packing nightly with a simple "git gc" i.e. without extra options should 
be perfectly fine.


Nicolas
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help