Re: [PATCH 2/2] pack-objects: fix threaded load balancing
- From
Jeff King <peff@peff.net>
- Date
- Dec 8, 2007, 09:18 UTC
- Message-ID
- <20071208091842.GA23489@sigill.intra.peff.net>
- In-Reply-To
- <alpine.LFD.0.99999.0712080000120.555@xanadu.home>
On Sat, Dec 08, 2007 at 12:03:17AM -0500, Nicolas Pitre wrote:
> This patch implements a completely different approach by initially > splitting the work in large chunks uniformly amongst all threads, and > whenever a thread is done then it steals half of the remaining work from > another thread with the largest amount of unprocessed objects.
Yay! This works great on my "pack a few hundred very large objects" repo.
-Peff