Re: Performance issue: initial git clone causes massive repack
- From
Björn Steinbrink <b.steinbrink@gmx.de>
- Date
- Apr 7, 2009, 20:35 UTC
- Message-ID
- <20090407203536.GD4413@atjola.homenet>
- In-Reply-To
- <20090407202954.GA13501@coredump.intra.peff.net>
On 2009.04.07 16:29:54 -0400, Jeff King wrote:
Show 13 quoted lines
> On Tue, Apr 07, 2009 at 08:12:59PM +0200, Björn Steinbrink wrote: > > > If so, that doesn't look it it's going to work out as easily as one > > would hope. Robin said that both processes, git-upload-pack (which does > > the rev-list) and pack-objects peaked at ~2GB of RSS (which probably > > includes the mmapped packs). But the above pack-objects with --all peaks > > I thought he said this, too, but look at the ps output he posted here: > > http://article.gmane.org/gmane.comp.version-control.git/115739 > > It clearly shows upload-pack with a tiny RSS, and pack-objects doing all > of the damage.
That second git-upload-pack is the interesting one. upload-pack forks to do the rev-list stuff, without changing its process name, so it keeps being listed as upload-pack. And as the process already died, its RSS/VZS dropped to zero.
Björn