This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: FYI, git gc'd glibc.git: 140MiB -> 82MiB
- From: "Carlos O'Donell" <carlos at systemhalted dot org>
- To: Jim Meyering <jim at meyering dot net>
- Cc: Andreas Schwab <schwab at linux-m68k dot org>, libc-alpha at sourceware dot org
- Date: Mon, 5 Mar 2012 09:04:39 -0500
- Subject: Re: FYI, git gc'd glibc.git: 140MiB -> 82MiB
- Authentication-results: mr.google.com; spf=pass (google.com: domain of patofiero@gmail.com designates 10.236.190.5 as permitted sender) smtp.mail=patofiero@gmail.com; dkim=pass header.i=patofiero@gmail.com
- References: <87r4x8bndn.fsf@rho.meyering.net><m24nu45vx4.fsf@igel.home><87aa3wbfgy.fsf@rho.meyering.net>
On Sun, Mar 4, 2012 at 9:36 AM, Jim Meyering <jim@meyering.net> wrote:
> Andreas Schwab wrote:
>> Jim Meyering <jim@meyering.net> writes:
>>
>>> That's way too many unpacked objects.
>>
>> It's not even close to the default gc.auto limit.
>>
>>> Simply running "git gc"
>>
>> This is run automatically on each push.
>
> ??
> If the server ran "git gc" on every push, then my manual invocation would
> have had no effect. ?You probably meant to say that "git gc --auto is run
> on each push", which is accurate, but it's a no-op unless e.g., there
> are very many "loose" objects. ?Given the average size of glibc.git's
> objects, the default gc.auto limit seems too high, so I've set it to 2000
> (down from the default of 6700). ?Even that is probably still too high.
Jim,
If you feel motivated would you mind documenting some of this on the
glibc wiki? Please feel free to make a new page and just got down your
rough ideas?
I have no idea about any of this stuff, but it would be nice if we
wrote down the specific things we did for glibc.
Cheers,
Carlos.