Re: git and multiple cores
- From
- Peter Harris <git@peter.is-a-geek.org>
- Date
- Jun 2, 2009, 22:55 UTC
- Message-ID
- <eaa105840906021555w22e62341l61f250455cf8c23b@mail.gmail.com>
- In-Reply-To
- <4A25AA4C.9070600@nortel.com>
On Tue, Jun 2, 2009 at 6:40 PM, Chris Friesen wrote:
Show 5 quoted lines
> > I'm using git 1.6.1.3 and it seems to be limited to a single core. > Given that I've seen cases where the cpu has been basically pinned for > minutes on end (initial clone of a repository, for instance) has there > been any discussion of taking advantage of multiple cores?
Sounds like you're mostly concerned about packing.
The good news is, your version of git already has a threaded packer. You just need to enable it. See "pack.threads" in "git help config".
1.6.2 and newer use multiple threads by default.
Peter Harris