public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Patrick Lauer <patrick@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: [gentoo-dev] Having fun with compression
Date: Sun, 30 Apr 2006 18:30:23 +0200	[thread overview]
Message-ID: <1146414623.8541.10.camel@localhost> (raw)

[-- Attachment #1: Type: text/plain, Size: 734 bytes --]

Hi all,

I had this random idea that many of our distfiles are .tar.gz while more
efficient compression methods exist. So I did some testing for fun:

We have ~15k .tar.gz in distfiles. ~6500 .tar.bz2, ~2000 others.
A short run over 477 distfiles spanning 833M gave me 586M of .tar.bz2 -
roughly 30% more efficient!
A comparison run with 7zip gave me 590M files, so bzip2 seems to be
quite good.

I don't think repackaging every .tar.gz as .tar.bz2 is a reasonable
option (breaks MD5 digests, we lose the fallback download from the
homepage), but maybe this motivates people to save bandwidth and migrate
their packaging to bzip2.

Happy hacking,

Patrick

-- 
Stand still, and let the rest of the universe move

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

             reply	other threads:[~2006-04-30 17:18 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-30 16:30 Patrick Lauer [this message]
2006-04-30 17:30 ` [gentoo-dev] Having fun with compression Robin H. Johnson
2006-04-30 19:03   ` Patrick Lauer
2006-05-02 15:33   ` Francesco Riosa
2006-05-01  3:36 ` Jon Hood
2006-05-01  8:56   ` Patrick Lauer
2006-05-01 12:11 ` Chris Bainbridge
2006-05-02 15:50 ` Ryan Phillips
2006-05-02 16:27   ` Patrick Lauer
2006-05-02 17:36     ` Chris Gianelloni
2006-05-02 17:59   ` Jan Kundrát

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=1146414623.8541.10.camel@localhost \
    --to=patrick@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.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