From: Linus Torvalds <torvalds@osdl.org>
To: Petr Baudis <pasky@suse.cz>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Git Mailing List <git@vger.kernel.org>
Subject: Re: Historical kernel repository size
Date: Thu, 14 Sep 2006 08:31:39 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0609140824580.4388@g5.osdl.org> (raw)
In-Reply-To: <20060914142249.GK23891@pasky.or.cz>
On Thu, 14 Sep 2006, Petr Baudis wrote:
>
> just to test the packing improvements we had achieved over the last
> year, I have repacked the historical kernel repository and achieved a
> significant improvement:
Umm.. Only apparently because the old pack was really really bad. It also
has the wrong name, probably because it's using the original naming that
had the SHA1 computed on the unsorted input. That was changed a long time
ago.
Yours isn't wonderful either.
> -rw-r--r-- 1 xpasky users 13600376 Sep 14 16:18 pack-4d27038611fe7755938efd4a2745d5d5d35de1c1.idx
> -rw-r--r-- 1 xpasky users 197168186 Sep 14 16:18 pack-4d27038611fe7755938efd4a2745d5d5d35de1c1.pack
> -rw-r--r-- 1 xpasky users 13600376 Sep 14 12:18 pack-cc3517351ecce3ef7ba010559992bdfc10b7acd4.idx
> -rw-r--r-- 1 xpasky users 262818936 Sep 14 12:29 pack-cc3517351ecce3ef7ba010559992bdfc10b7acd4.pack
Mine are:
-rw-r--r-- 1 torvalds torvalds 13600376 Apr 19 10:06 pack-4d27038611fe7755938efd4a2745d5d5d35de1c1.idx
-rw-r--r-- 1 torvalds torvalds 185374386 Apr 19 10:06 pack-4d27038611fe7755938efd4a2745d5d5d35de1c1.pack
and as you can see from the date, they aren't exactly very recent, but
they shave an additional 6% off the size.
I agree that the _oroginal_ history pack by Thomas seems to be bad, and
that's from Aug 9 2005, so it's likely with some really really old packing
rules.
For better packing, I think I used a larger depth, ie try something like
git repack -a -f --depth=50
to get more improvement. For a historical archive that you don't much use,
doign the deeper depth is definitely worth it.
Linus
next prev parent reply other threads:[~2006-09-14 15:31 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 [this message]
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
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.0609140824580.4388@g5.osdl.org \
--to=torvalds@osdl.org \
--cc=git@vger.kernel.org \
--cc=pasky@suse.cz \
--cc=tglx@linutronix.de \
/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).