From owner-ctm-users@FreeBSD.ORG Wed Aug 10 14:32:03 2011 Return-Path: Delivered-To: ctm-users@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AC961065825 for ; Wed, 10 Aug 2011 14:32:03 +0000 (UTC) (envelope-from stephen@missouri.edu) Received: from wilberforce.math.missouri.edu (wilberforce.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id CA0478FC16 for ; Wed, 10 Aug 2011 14:32:02 +0000 (UTC) Received: from [127.0.0.1] (wilberforce.math.missouri.edu [128.206.184.213]) by wilberforce.math.missouri.edu (8.14.4/8.14.4) with ESMTP id p7AEVxLL004092; Wed, 10 Aug 2011 09:31:59 -0500 (CDT) (envelope-from stephen@missouri.edu) Message-ID: <4E42965F.60501@missouri.edu> Date: Wed, 10 Aug 2011 09:31:59 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11 MIME-Version: 1.0 To: Peter Jeremy References: <4E41F59F.9020201@missouri.edu> <20110810052444.GM6142@pjdesk.au.alcatel-lucent.com> In-Reply-To: <20110810052444.GM6142@pjdesk.au.alcatel-lucent.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "ctm-users@freebsd.org" Subject: Re: Use of xz instead of gzip X-BeenThere: ctm-users@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CTM User discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2011 14:32:03 -0000 On 08/10/2011 12:24 AM, Peter Jeremy wrote: > On 2011-Aug-10 11:06:07 +0800, Stephen Montgomery-Smith wrote: >> It seems that xz has much better compression than gzip. How do people >> feel about moving CTM to use xz instead of gzip? > > Seems like a reasonable idea except for the 7.x issues. Have you > considered bzip2? I created a .0001 delta for svn. It is about 5G. When compressed with gzip, it goes down to 1.8G. When compressed with bzip2, it goes down to 1.4G. When compressed with xz, it goes down to 1G. These are some huge differences in my opinion. >> First, the attached patch needs to be applied to /usr/src. (Any >> committers willing to commit it? It needs to MFC'ed rather quickly if I >> start using xz.) > > You're unlikely to find any here apart from yourself. I am merely a ports committer. And now that I have been in this "exclusive club" for a few weeks, it bestows far less power and romance than an outsider might imagine. >> Secondly, if your version of FreeBSD is old (like 7.x or older) you need >> to install the archivers/xz port. If you don't, when you attempt to >> apply ctm to a "xz" compressed file, it replies with a rather helpful >> message "xz not found." > > I can see this presenting a problem on 7.x (and earlier, but they are > no longer supported) because the base system shouldn't have dependencies > on ports. The options would seem to be: > 1) Stick with gzip for 7-src and earlier (as well as ports until 7.x > goes EOL) By far most of CTM space is taken by the cvs-cur xEmpty files. And these are agnostic to which version of FreeBSD is being used. Stephen