Re: [PATCH] RFC: git lazy clone proof-of-concept
- From
- Harvey Harrison <harvey.harrison@gmail.com>
- Date
- Feb 8, 2008, 20:19 UTC
- Message-ID
- <1202502007.12966.30.camel@brick>
- In-Reply-To
- <9e4733910802081126r5bf19c95rec817a1b6648ee4d@mail.gmail.com>
On Fri, 2008-02-08 at 14:26 -0500, Jon Smirl wrote:
Show 15 quoted lines
> On 2/8/08, Jakub Narebski <jnareb@gmail.com> wrote: > > Jan Holesovsky <kendy@suse.cz> writes: > > One of the reasons why 'lazy clone' was not implemented was the fact > > that by using large enough window, and larger than default delta > > length you can repack "archive pack" (and keep it from trying to > > repack using .keep files, see git-config(1)) much tighter than with > > default (time and CPU conserving) options, and much, much tighter than > > pack which is result of fast-import driven import. > > > > Both Mozilla import, and GCC import were packed below 0.5 GB. Warning: > > you would need machine with large amount of memory to repack it > > tightly in sensible time! > > A lot of memory is 2-4GB. Without this much memory you will trigger > swapping and the pack process will finish in about a month.
Well, my modest little Celeron M laptop w/ 1GB of ram did the full repack overnight on the gcc repo, so a month is a bit of an exaggeration.
Cheers,
Harvey