From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BD6AC3F2D7 for ; Sat, 29 Feb 2020 04:58:55 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DB24D246AF for ; Sat, 29 Feb 2020 04:58:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="MFp1Q196" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DB24D246AF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 48TvM06s62zDrCW for ; Sat, 29 Feb 2020 15:58:52 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=ebiggers@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: lists.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=default header.b=MFp1Q196; dkim-atps=neutral Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 48TvLv4SDlzDr3k for ; Sat, 29 Feb 2020 15:58:47 +1100 (AEDT) Received: from sol.localdomain (c-107-3-166-239.hsd1.ca.comcast.net [107.3.166.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4ABF9246AF; Sat, 29 Feb 2020 04:58:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582952324; bh=PbYe2sTXfJha/DRxbIuYOIqDKHr8Abe63putptB/wEo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MFp1Q196S7jnpLpi+rVZAmxsux1nh7En1AqaIqZJi/S3eZbdrofMlr5S6+1O5sK2P z+rn7xmn4hp4LLqqir5IlQLxNgMmfPw5GsR0NFxraeH9ZlPiE8ZduUugtB9xRcIbpn aDwRgKMinMWnZlxJzcKagocgIF3mnEBi4Ce83shc= Date: Fri, 28 Feb 2020 20:58:42 -0800 From: Eric Biggers To: Gao Xiang Subject: Re: [WIP] [PATCH v0.0-20200229 00/11] ez: LZMA fixed-sized output compression Message-ID: <20200229045842.GA930@sol.localdomain> References: <20200229045017.12424-1-hsiangkao.ref@aol.com> <20200229045017.12424-1-hsiangkao@aol.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200229045017.12424-1-hsiangkao@aol.com> X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-erofs@lists.ozlabs.org Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" On Sat, Feb 29, 2020 at 12:50:06PM +0800, Gao Xiang via Linux-erofs wrote: > From: Gao Xiang > > This is a WIP PREVIEW patchset, just for archiving to open > source community only. > > For now, it implements LZMA SDK-like GetOptimumFast approach > and GetOptimum is still on schedule. > > It's still buggy, lack of formal APIs and actively under > development for a while... > > Usage: > $ ./run.sh > $ ./a.out output.bin.lzma infile > > It will compress the beginning as much as possible into > 4k RAW LZMA block. Why not just use liblzma? Also, if you care enough about compression ratio to use LZMA instead of Zstandard, why use only a 4 KB blocksize? - Eric