Re: Git and GCC
- From
Jeff King <peff@peff.net>
- Date
- Dec 6, 2007, 07:15 UTC
- Message-ID
- <20071206071503.GA19504@coredump.intra.peff.net>
- In-Reply-To
- <9e4733910712052247x116cabb4q48ebafffb93f7e03@mail.gmail.com>
On Thu, Dec 06, 2007 at 01:47:54AM -0500, Jon Smirl wrote:
Show 7 quoted lines
> The key to converting repositories of this size is RAM. 4GB minimum, > more would be better. git-repack is not multi-threaded. There were a > few attempts at making it multi-threaded but none were too successful. > If I remember right, with loads of RAM, a repack on a 450MB repository > was taking about five hours on a 2.8Ghz Core2. But this is something > you only have to do once for the import. Later repacks will reuse the > original deltas.
Actually, Nicolas put quite a bit of work into multi-threading the repack process; the results have been in master for some time, and will be in the soon-to-be-released v1.5.4.
The downside is that the threading partitions the object space, so the resulting size is not necessarily as small (but I don't know that anybody has done testing on large repos to find out how large the difference is).
-Peff