This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: git mirror at gcc.gnu.org


On Thu, Jun 11, 2009 at 3:07 AM, Bernie Innocenti<bernie@codewiz.org> wrote:
> On 06/10/09 02:43, Ian Lance Taylor wrote:
>> fche has already installed git 1.6.3.2 in /usr/local/bin on sourceware.
>> That is now the one you will get if you connect to port "git". ?Hope
>> nothing breaks.
>
> Thanks.
>
> I made a few changes that hopefully won't compromise existing clones:
>
> 0) Since when Daniel disabled his cron job to update the repository,
> ? mine had not actually been running because the crontab line was
> ? commented out. ?I enabled it.
>
> 1) Set UseDeltaBaseOffset=true for slightly smaller packs
> ? The downside is that we loose compatibility with git versions
> ? older than 1.4.4. ?Moreover, people fetching from dumb protocols
> ? will probably have to refetch from scratch.
>
> 2) Remove the local checkout and configure the repository as
> ? "bare=true"
>

Yeah, this i had forgotten to do ;)

> 3) I stupidly ran a "git gc" on the repository without specifying
> ? any parameters, which made the pack jump to a whopping 3.4GB.
> ? People fetching over git-aware protocols shouldn't notice
> ? anything unusual except, maybe, longer server-side packing time.
> ? Those stuck with http:// will have a bad surprise. /me ducks.
> ? I've now configured the default window and depth both to 100,
> ? and ran another repack from scratch which will take a long,
> ? long, long, long time.

It may be faster for my to rsync it to a 32 core machine, pack it,
then rsync it back now that delta compression is threaded.
Does it get large enough speedups these days to be worth it?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]