From owner-freebsd-current@FreeBSD.ORG Tue Dec 7 17:00:13 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from pelsia.ninth-nine.com (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with SMTP id 651261065670; Tue, 7 Dec 2010 17:00:12 +0000 (UTC) (envelope-from nork@FreeBSD.org) Date: Wed, 8 Dec 2010 01:59:29 +0900 From: Norikatsu Shigemura To: freebsd-current@freebsd.org Message-Id: <20101208015929.4aec1bdb.nork@FreeBSD.org> In-Reply-To: <1639A255-7C84-4D81-A97E-AEB624E68A70@kientzle.com> References: <20101206171358.GA17125@ravenloft.kiev.ua> <9132C068-A9C7-41EE-AA98-714385441EE3@mac.com> <1639A255-7C84-4D81-A97E-AEB624E68A70@kientzle.com> X-Mailer: Sylpheed 3.0.3 (GTK+ 2.22.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Alex, Norikatsu Shigemura , Kozlov Subject: Re: trying to use xz on manuals. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2010 17:00:13 -0000 On Mon, 6 Dec 2010 22:50:44 -0800 Tim Kientzle wrote: > >> Some time ago I do similar tests. Changing compression for base man's to bz2 or xz doesn't make much sense. > > Oh, agreed. The issue with small files is that they will always take up at least one sector [*]; different compression routines don't gain any benefit if they don't change the number of sectors needed to store the file. > > More than half of the manpages end up as 1K .gz catman files as it is; ~90% are 2K or smaller. > It might make sense if XZ decompression were significantly > faster than GZip decompression. (Especially since man pages > are decompressed much more often than they are compressed.) Oh, that's good! But this setting causes pkg-plist break of ports. Maybe, some ports chase bsd.own.mk (COMPRESS_CMD, COMPRESS_EXT), but it assumed that MANEXT is .gz:-(. Thank you. -- Norikatsu Shigemura