Gentoo Archives: gentoo-dev

From: Patrick Lauer <patrick@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Having fun with compression
Date: Sun, 30 Apr 2006 17:18:40
Message-Id: 1146414623.8541.10.camel@localhost
1 Hi all,
2
3 I had this random idea that many of our distfiles are .tar.gz while more
4 efficient compression methods exist. So I did some testing for fun:
5
6 We have ~15k .tar.gz in distfiles. ~6500 .tar.bz2, ~2000 others.
7 A short run over 477 distfiles spanning 833M gave me 586M of .tar.bz2 -
8 roughly 30% more efficient!
9 A comparison run with 7zip gave me 590M files, so bzip2 seems to be
10 quite good.
11
12 I don't think repackaging every .tar.gz as .tar.bz2 is a reasonable
13 option (breaks MD5 digests, we lose the fallback download from the
14 homepage), but maybe this motivates people to save bandwidth and migrate
15 their packaging to bzip2.
16
17 Happy hacking,
18
19 Patrick
20
21 --
22 Stand still, and let the rest of the universe move

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Having fun with compression "Robin H. Johnson" <robbat2@g.o>
Re: [gentoo-dev] Having fun with compression Jon Hood <squinky86@g.o>
Re: [gentoo-dev] Having fun with compression Chris Bainbridge <chris.bainbridge@×××××.com>
Re: [gentoo-dev] Having fun with compression Ryan Phillips <rphillips@g.o>