Re: pack operation is thrashing my server
- From
Nicolas Pitre <nico@cam.org>
- Date
- Sep 8, 2008, 14:17 UTC
- Message-ID
- <alpine.LFD.1.10.0809081008330.23787@xanadu.home>
- In-Reply-To
- <9e4733910809071333t57d03257m34fd6a752e40177e@mail.gmail.com>
On Sun, 7 Sep 2008, Jon Smirl wrote:
Show 6 quoted lines
> On 9/7/08, Nicolas Pitre <nico@cam.org> wrote: > > Please have a look at commit eac12e2d4d7f. This fix improved things for > > my gcc repack tests. > > Do you have any test numbers for something like a 2000 delta chain > before and after?
What kind of number do you want?
Before that change I wasn't able to repack an already tightly packed (about 340MB) gcc repository on my machine while the same but sparsely packed (3GB or so) repository could be repacked just fine.
> You can get to Mozilla CVS with rsync. > https://wiki.mozilla.org/How_to_Create_a_CVS_Mirror > I think it was the master Mozilla makefile with the 2000 deltas. > The whole repo is 15GB so you probably just want the Makefile,v
I have a test Mozilla repo dating back to the time you were playing with it too (I think). Its directory date is 2007-04-12. It was quite tightly packed already, but I just ran a "git repack -a -d -f --window=100 --depth=2000" on it and now have a 380MB pack file for it.
Nicolas