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 |