Re: Resolving deltas dominates clone time
- From
Jeff King <peff@peff.net>
- Date
- Apr 22, 2019, 21:02 UTC
- Message-ID
- <20190422210214.GA31079@sigill.intra.peff.net>
- In-Reply-To
- <20190422205653.GA30286@sigill.intra.peff.net>
On Mon, Apr 22, 2019 at 04:56:54PM -0400, Jeff King wrote:
Show 5 quoted lines
> > I suspect at 3 threads, seems like the default? > > Ah, right, I forgot we cap it at 3 (which was determined experimentally, > and which we more or less attributed to lock contention as the > bottleneck). I think you need to use $GIT_FORCE_THREADS to override it.
Ah, nevermind this. Using --threads will do what you expect. The cap at 3 only applies when we've just picked the number of available CPUs as a default.
-Peff