From: Nicolas Pitre <nico@cam.org>
To: Junio C Hamano <gitster@pobox.com>
Cc: Pierre Habouzit <madcoder@debian.org>, Git ML <git@vger.kernel.org>
Subject: Re: THREADED_DELTA_SEARCH
Date: Thu, 10 Jul 2008 12:21:09 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.1.10.0807101212000.12484@xanadu.home> (raw)
In-Reply-To: <7vy749pxbe.fsf@gitster.siamese.dyndns.org>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1337 bytes --]
On Thu, 10 Jul 2008, Junio C Hamano wrote:
> Pierre Habouzit <madcoder@debian.org> writes:
>
> > I'm using it in production for quite a long time now, and I wonder if
> > there is any specific reason why it's not default. Debian activated it
> > by default too a couple of weeks ago, which means that it's in
> > production on quite a large scale, and there are no issues reported
> > either. Would a patch making it default be accepted ? It's quite handy
> > given that SMP machines are really pervasive nowadays…
>
> There were two issues, IIRC.
>
> (1) resulting pack could be suboptimal, due to delta-chain getting cut
> betweeen the worker thread boundary.
>
> (2) exploding memory use, suspected to be due to malloc pool
> fragmentation under multithreading.
>
> The former was only an issue with early iterations of the code and the
> current code has much improved behaviour on this point,
I would say it is even negligible.
> but I do not
> recall the latter issue has been addressed.
Well, for "standard" repositories such as the Linux kernel, things
always worked just fine. And commit eac12e2d is apparently helping a
lot with the remaining odd cases. And if someone has problems due to
this then a simple 'git config --global pack.threads 1' would restore
the non threaded behavior.
Nicolas
next prev parent reply other threads:[~2008-07-10 16:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-10 7:53 THREADED_DELTA_SEARCH Pierre Habouzit
2008-07-10 8:01 ` THREADED_DELTA_SEARCH Johannes Sixt
2008-07-10 16:50 ` THREADED_DELTA_SEARCH Andreas Ericsson
2008-07-10 8:51 ` THREADED_DELTA_SEARCH Jakub Narebski
2008-07-10 9:33 ` THREADED_DELTA_SEARCH Pierre Habouzit
2008-07-10 15:34 ` THREADED_DELTA_SEARCH Junio C Hamano
2008-07-10 16:21 ` Nicolas Pitre [this message]
2008-07-10 20:13 ` THREADED_DELTA_SEARCH Alex Riesen
2008-07-10 20:26 ` THREADED_DELTA_SEARCH Nicolas Pitre
2008-07-10 20:29 ` THREADED_DELTA_SEARCH Alex Riesen
2008-07-10 20:36 ` THREADED_DELTA_SEARCH Nicolas Pitre
2008-07-10 22:19 ` THREADED_DELTA_SEARCH Alex Riesen
[not found] ` <alpine.DEB.1.00.0807110032030.3279@eeepc-johanness>
[not found] ` <alpine.LFD.1.10.0807101851520.12484@xanadu.home>
[not found] ` <81b0412b0807102259q1046051bwc513eadb50847675@mail.gmail.com>
2008-07-11 7:41 ` THREADED_DELTA_SEARCH Pierre Habouzit
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=alpine.LFD.1.10.0807101212000.12484@xanadu.home \
--to=nico@cam.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=madcoder@debian.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).