git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nicolas Pitre <nico@cam.org>
To: Olivier Galibert <galibert@pobox.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Linus Torvalds <torvalds@osdl.org>, Petr Baudis <pasky@suse.cz>,
	Git Mailing List <git@vger.kernel.org>
Subject: Re: Historical kernel repository size
Date: Fri, 15 Sep 2006 12:45:53 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0609151232370.2627@xanadu.home> (raw)
In-Reply-To: <20060915090305.GC75256@dspnet.fr.eu.org>

On Fri, 15 Sep 2006, Olivier Galibert wrote:

> On Thu, Sep 14, 2006 at 09:19:04PM -0400, Nicolas Pitre wrote:
> > Erm... Both incantations work fine fine here.
> > 
> > > -rw-rw-r-- 1 tglx ftpadmin  13600376 Sep 14 22:16 pack-4d27038611fe7755938efd4a2745d5d5d35de1c1.idx
> > > -rw-rw-r-- 1 tglx ftpadmin 158679705 Sep 14 22:16 pack-4d27038611fe7755938efd4a2745d5d5d35de1c1.pack
> > 
> > And I get the same result as well.
> 
> For the curious, a 100/100 parameter gives a size of 154261771.

Right.   And then the runtime cost of extracting objects out of such a 
pack increases due to the deeper delta chain.

The average runtime cost is probably linear with the delta depth, 
something like f(x) = a*x + k.

But the size reduction follows f(x) = a/x + k.

So to say that infinite delta length does not provide infinite packing 
size reduction. Anything larger than 50 is probably not worth the 
small reduction gain.


Nicolas

      reply	other threads:[~2006-09-15 16:46 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-14 14:22 Historical kernel repository size Petr Baudis
2006-09-14 14:38 ` tglx
2006-09-14 15:38   ` Andy Whitcroft
2006-09-14 15:52     ` Shawn Pearce
2006-09-14 15:52     ` Petr Baudis
2006-09-14 15:31 ` Linus Torvalds
2006-09-14 21:23   ` Nicolas Pitre
2006-09-14 21:32     ` Thomas Gleixner
2006-09-14 21:37     ` Thomas Gleixner
2006-09-14 21:42       ` Nicolas Pitre
2006-09-14 21:54         ` Thomas Gleixner
2006-09-14 22:24           ` Thomas Gleixner
2006-09-14 23:15             ` Junio C Hamano
2006-09-15  1:19             ` Nicolas Pitre
2006-09-15  9:03               ` Olivier Galibert
2006-09-15 16:45                 ` Nicolas Pitre [this message]

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=Pine.LNX.4.64.0609151232370.2627@xanadu.home \
    --to=nico@cam.org \
    --cc=galibert@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=pasky@suse.cz \
    --cc=tglx@linutronix.de \
    --cc=torvalds@osdl.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).