From: Jeff King Date: Sat, 08 Dec 2007 09:18:44 GMT Subject: Re: [PATCH 2/2] pack-objects: fix threaded load balancing Message-ID: <20071208091842.GA23489@sigill.intra.peff.net> In-Reply-To: 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