Re: pack operation is thrashing my server
From: Nicolas Pitre <hidden>
Date: 2016-06-15 22:45:19
On Sun, 7 Sep 2008, Jon Smirl wrote:
On 9/7/08, Nicolas Pitre [off-list ref] wrote:quoted
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