From: Laurent Alebarde <l.alebarde@free.fr>
To: git@vger.kernel.org
Subject: Is Git multithreaded ?
Date: Wed, 12 Jun 2013 20:28:52 +0200 [thread overview]
Message-ID: <51B8BDE4.7030008@free.fr> (raw)
In-Reply-To: <51B8BBC0.6020908@free.fr>
Hi list,
I wonder if Git is multithreaded ? For example, during a commit, does it
process the files one after one, or does it use a set of threads, say
10, to process 10 files in parrallel ?
In the Git_Guide (http://wiki.sourcemage.org/Git_Guide.html), I can read
this :
"T/o enable aut-detection for number of threads to use (good for
multi-CPU or multi-core computers) for packing repositories, use: /////
////
///$ git config --global pack.threads "0"/ "
But it is not a lot explanatory (to me). In particular, if Git is
multithreded and can be configured regarding the number of workers, I
wonder in which operations it uses it ?
A clear view of this may be of interrest for hooks or filters that may
use a daemon, in order to not have this daemon be a bottle-neck. It
would make sense to start as many workers in the daemon that there are
authorized ones in Git.
Cheers,
Laurent.
next parent reply other threads:[~2013-06-12 18:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <51B8BBC0.6020908@free.fr>
2013-06-12 18:28 ` Laurent Alebarde [this message]
2013-06-12 19:38 ` Is Git multithreaded ? Jeff King
[not found] ` <51B971FC.3030404@free.fr>
2013-06-13 7:28 ` Laurent Alebarde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=51B8BDE4.7030008@free.fr \
--to=l.alebarde@free.fr \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).