From: Nicolas Pitre <nico@cam.org>
To: Brian Downing <bdowning@lavos.net>
Cc: Junio C Hamano <gitster@pobox.com>, git@vger.kernel.org
Subject: Re: Preferring shallower deltas on repack
Date: Mon, 09 Jul 2007 15:13:54 -0400 (EDT) [thread overview]
Message-ID: <alpine.LFD.0.999.0707091503000.26459@xanadu.home> (raw)
In-Reply-To: <20070709185353.GL4087@lavos.net>
On Mon, 9 Jul 2007, Brian Downing wrote:
> On Mon, Jul 09, 2007 at 09:39:44AM -0700, Junio C Hamano wrote:
> > > OK here it is. And results on the GIT repo and another patalogical test
> > > repo I keep around are actually really nice! Not only the pack itself
> > > is a bit smaller, but the delta depth distribution as shown by
> > > git-verify-pack -v is much nicer with the bulk of deltas in the low
> > > depth end of the spectrum and no more peak at the max depth level.
> >
> > Looks obviously correct. Brian, it would be very interesting to
> > see what Nico's patch does to your dataset.
>
> Nico's patch makes the overall statistics look better, but the
> version.lisp-expr file still goes 593 levels deep, as opposed to about
> 65 with my patch. (That's better than 980 with stock Git, though.)
Tuning for such an extreme without impacting normal cases is rather
hard.
My patch was meant to be used on top of yours. Is that what you tested?
Also I'd suggest you do not use a max depth of 1000. It is simply
insane and might possibly make the existing logic less effective. Even
for runtime pack access you want it to be reasonably short, say 100
maximum, or even the current default of 50. Any improvements you might
come with (like automatic depth determined on replay cost) should be
compared with that default which is known to work well already.
Nicolas
next prev parent reply other threads:[~2007-07-09 19:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-09 4:43 Preferring shallower deltas on repack Brian Downing
2007-07-09 4:45 ` [PATCH] pack-objects: Prefer shallower deltas if the size is equal Brian Downing
2007-07-09 5:31 ` Preferring shallower deltas on repack Junio C Hamano
2007-07-09 5:43 ` Junio C Hamano
2007-07-09 6:52 ` Brian Downing
2007-07-09 7:27 ` Junio C Hamano
2007-07-09 7:36 ` Brian Downing
2007-07-09 15:58 ` Nicolas Pitre
2007-07-09 16:39 ` Junio C Hamano
2007-07-09 18:53 ` Brian Downing
2007-07-09 19:13 ` Nicolas Pitre [this message]
2007-07-09 19:24 ` Brian Downing
2007-07-09 19:49 ` Brian Downing
2007-07-09 20:22 ` Nicolas Pitre
2007-07-09 20:23 ` Brian Downing
2007-07-09 19:30 ` [PATCH] Shoddy pack information tool Brian Downing
2007-07-11 21:55 ` Junio C Hamano
2007-07-12 3:02 ` [PATCH] Pack " Brian Downing
2007-07-09 5:41 ` Preferring shallower deltas on repack Linus Torvalds
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.999.0707091503000.26459@xanadu.home \
--to=nico@cam.org \
--cc=bdowning@lavos.net \
--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).