compress INDEX with xz, instead of bz2?
Doug Barton
dougb at FreeBSD.org
Sat Jul 7 23:22:01 UTC 2012
On 07/07/2012 14:35, Chris Rees wrote:
> On Jul 7, 2012 8:19 PM, "Anton Shterenlikht" <mexas at bristol.ac.uk> wrote:
>>
>> A very minor point
>>
>> # make fetchindex
>> /usr/ports/INDEX-10.bz2 100% of 1621 kB 208 kBps
>> # ls -al INDEX-10
>> -rw-r--r-- 1 root wheel 26284787 Jul 7 20:08 INDEX-10
>> # xz INDEX-10
>> # ls -al INDEX-10.xz
>> -rw-r--r-- 1 root wheel 1350156 Jul 7 20:08 INDEX-10.xz
>> #
>>
>> So xz saves ~19% compared to bz2 for this file.
>>
>> Now that xz is in the base,
>> perhaps making INDEX available compressed
>> with xz would help some people who are still
>> on slow download lines.
>
> We still have to support 7.x, which does not have xz.
So compress INDEX-7 with bz2, and the others with xz. The more
interesting question is whether or not xz is in the base for all
currently supported versions of FreeBSD 8 and 9, minus 1 or 2 versions
to be safe.
... and insert obligatory rant about how we need to totally rethink what
"the base system" is because our historical model stifles innovation in
exactly this way ...
Doug
--
This .signature sanitized for your protection
More information about the freebsd-ports
mailing list