Re: 'git gc --aggressive' effectively unusable

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Poole
Date: Sunday, April 4, 2010 - 7:50 am

Miles Bader writes:


I have seen asymptotic slowdown as "git gc --aggressive" progresses on
certain repositories.  It is particularly bad with
git://git.infradead.org/gcc.git (on an x86-64 system with 4 GB RAM).
git seemed to be thrashing swap badly as time went on.  I don't know
that git gc --aggressive would *never* finish on my gcc-git repository.
I just know that it got to about 80% done in less than an hour, to 90%
after twelve hours, and about 94% after another twelve hours.  (The same
operation on linux-2.6.git takes about 40 minutes with all the default
settings.)

I may have been dreaming, but I thought with some 1.6.x version of git,
reducing core.packedGitLimit and pack.windowLimit (now windowMemory?)
mostly made the thrashing go away.  When I try again with v1.7.0.2,
though, it doesn't seem to help very much -- there is still a lot of
swapping, and the git process got to about 7 GB virtual size before I
killed it after about 10 hours of operation.

Michael Poole
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
'git gc --aggressive' effectively unusable, Frans Pop, (Fri Apr 2, 3:05 pm)
Re: 'git gc --aggressive' effectively unusable, Frans Pop, (Sat Apr 3, 2:16 pm)
Re: 'git gc --aggressive' effectively unusable, Michael Witten, (Sat Apr 3, 2:33 pm)
Re: 'git gc --aggressive' effectively unusable, Michael Witten, (Sat Apr 3, 2:42 pm)
Re: 'git gc --aggressive' effectively unusable, Frans Pop, (Sat Apr 3, 4:23 pm)
Re: 'git gc --aggressive' effectively unusable, Michael Witten, (Sat Apr 3, 4:42 pm)
Re: 'git gc --aggressive' effectively unusable, Miles Bader, (Sat Apr 3, 5:14 pm)
Re: 'git gc --aggressive' effectively unusable, Mike Galbraith, (Sat Apr 3, 9:27 pm)
Re: 'git gc --aggressive' effectively unusable, Michael Poole, (Sun Apr 4, 7:50 am)
Re: 'git gc --aggressive' effectively unusable, Jeff King, (Sun Apr 4, 1:38 pm)
Re: 'git gc --aggressive' effectively unusable, Jeff King, (Sun Apr 4, 2:49 pm)
Re: 'git gc --aggressive' effectively unusable, Nicolas Pitre, (Mon Apr 5, 2:07 pm)