From owner-freebsd-current@FreeBSD.ORG Mon Jan 19 11:54:25 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6751C16A4CE; Mon, 19 Jan 2004 11:54:25 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id E874243D31; Mon, 19 Jan 2004 11:54:23 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id i0JJs8Cf098093; Mon, 19 Jan 2004 20:54:08 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Max Khon From: "Poul-Henning Kamp" In-Reply-To: Your message of "Tue, 20 Jan 2004 00:29:55 +0600." <20040119182955.GA60760@iclub.nsu.ru> Date: Mon, 19 Jan 2004 20:54:08 +0100 Message-ID: <98092.1074542048@critter.freebsd.dk> cc: freebsd-fs@freebsd.org cc: freebsd-current@freebsd.org Subject: Re: read-only compressed fs (call for testers) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 19 Jan 2004 19:54:25 -0000 In message <20040119182955.GA60760@iclub.nsu.ru>, Max Khon writes: >Hello! > >I have seen some requests for read-only compressed fs support recently. >Last weekend I had a few spare cycles and implemented GEOM class that >allows to use cloop V2.0 (compressed loopback device for Linux) fs images. > >More details, tarballs with geom_ugz and a port for tools needed >to create/extract compressed fs images are available at >http://people.freebsd.org/~fjoe/geom_ugz/ I quickly glanced at this: The one thing which stuck in my mind is that for performance reasons running inflate in the "up" geom path may be wrong. Doing CPU intensive stuff in the "up" and "down" paths is generally a bad idea and should be avoided because it will hold up other disk-trafic while the CPU chews. In GBDE I stuck all the crypto off to a kthread for this reason. In this case it may be a valid trade-off, I can't tell, just keep it in mind down the road. Ohh, Have I told anyone how positively delighted I am to see people grow GEOM classes all the places ? Wheeeeeeee! :-> Poul-Henning -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.