From owner-freebsd-ports@FreeBSD.ORG Sat Jul 7 23:22:01 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [IPv6:2001:4f8:fff6::35]) by hub.freebsd.org (Postfix) with ESMTP id 9031D1065670 for ; Sat, 7 Jul 2012 23:22:01 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from opti.dougb.net (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 464AD153168; Sat, 7 Jul 2012 23:21:02 +0000 (UTC) Message-ID: <4FF8C45D.9060007@FreeBSD.org> Date: Sat, 07 Jul 2012 16:21:01 -0700 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120621 Thunderbird/13.0.1 MIME-Version: 1.0 To: Chris Rees References: <20120707191830.GA83424@mech-cluster241.men.bris.ac.uk> In-Reply-To: X-Enigmail-Version: 1.4.2 OpenPGP: id=1A1ABC84 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Anton Shterenlikht , freebsd-ports@freebsd.org Subject: Re: compress INDEX with xz, instead of bz2? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jul 2012 23:22:01 -0000 On 07/07/2012 14:35, Chris Rees wrote: > On Jul 7, 2012 8:19 PM, "Anton Shterenlikht" 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