From: Nicolas Pitre Date: Tue, 18 May 2010 19:33:58 GMT Subject: Re: serious performance issues with images, audio files, and other "non-code" data Message-ID: In-Reply-To: <20100518191933.GB2383@coredump.intra.peff.net> 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