From: Nicolas Pitre <nico@cam.org>
To: David Kastrup <dak@gnu.org>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: [PATCH] basic threaded delta search
Date: Thu, 06 Sep 2007 02:23:38 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.0.9999.0709060220520.21186@xanadu.home> (raw)
In-Reply-To: <85ps0wfh8h.fsf@lola.goethe.zz>
On Thu, 6 Sep 2007, David Kastrup wrote:
> Nicolas Pitre <nico@cam.org> writes:
>
> > this is still rough, hence it is disabled by default. You need to compile
> > with "make THREADED_DELTA_SEARCH=1 ..." at the moment.
> >
> > Threading is done on different portions of the object list to be
> > deltified. This is currently done by spliting the list into n parts and
> > then a thread is spawned for each of them. A better method would consist
> > of spliting the list into more smaller parts and have the n threads
> > pick the next part available.
>
> In my experience, the worst performance hit happens when the real
> memory is exhausted and things start paging. Threading on different
> portions of the object list is going to exacerbate the problem in the
> areas where it hits worst.
Just don't use it if you don't have 1) a SMP machine and 2) enough ram.
Threading will be enabled with a command line argument at some point.
Nicolas
next prev parent reply other threads:[~2007-09-06 6:23 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-06 6:13 [PATCH] straighten the list of objects to deltify Nicolas Pitre
2007-09-06 6:13 ` [PATCH] localize window memory usage accounting Nicolas Pitre
2007-09-06 6:13 ` [PATCH] rearrange delta search progress reporting Nicolas Pitre
2007-09-06 6:13 ` [PATCH] basic threaded delta search Nicolas Pitre
2007-09-06 6:19 ` David Kastrup
2007-09-06 6:23 ` Nicolas Pitre [this message]
2007-09-06 7:01 ` Junio C Hamano
2007-09-06 14:48 ` Nicolas Pitre
2007-09-07 6:11 ` Martin Koegler
2007-09-07 16:19 ` Nicolas Pitre
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.0.9999.0709060220520.21186@xanadu.home \
--to=nico@cam.org \
--cc=dak@gnu.org \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/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).