Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752144Ab3GVEAK (ORCPT ); Mon, 22 Jul 2013 00:00:10 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:20823 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1750705Ab3GVEAH (ORCPT ); Mon, 22 Jul 2013 00:00:07 -0400 X-IronPort-AV: E=Sophos;i="4.89,716,1367942400"; d="scan'208";a="7971837" Message-ID: <51ECA17A.3060401@cn.fujitsu.com> Date: Mon, 22 Jul 2013 11:05:30 +0800 From: Gu Zheng User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1 MIME-Version: 1.0 To: Phillip Lougher CC: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-embedded@vger.kernel.org Subject: Re: [PATCH 0/2] Squashfs: add LZ4 compression References: <1374459663-15363-1-git-send-email-phillip@squashfs.org.uk> In-Reply-To: <1374459663-15363-1-git-send-email-phillip@squashfs.org.uk> X-MIMETrack: Itemize by SMTP Server on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/07/22 11:07:07, Serialize by Router on mailserver/fnst(Release 8.5.3|September 15, 2011) at 2013/07/22 11:07:11, Serialize complete at 2013/07/22 11:07:11 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2328 Lines: 64 Hi Phillip, Have some tests been carried out to confirm that Squashfs really can get benefit from LZ4 compression, comparing with lzo? Thanks, Gu On 07/22/2013 10:21 AM, Phillip Lougher wrote: > Hi > > Now that LZ4 compression support is in 3.11-rc1, I have written the > following two patches for Squashfs to use it. > > Phillip Lougher (2): > Squashfs: add LZ4 compression support > Squashfs: Add LZ4 compression configuration option > > Documentation/filesystems/squashfs.txt | 8 +- > fs/squashfs/Kconfig | 15 +++ > fs/squashfs/Makefile | 1 + > fs/squashfs/decompressor.c | 7 ++ > fs/squashfs/decompressor.h | 4 + > fs/squashfs/lz4_wrapper.c | 163 ++++++++++++++++++++++++++++++++ > fs/squashfs/squashfs_fs.h | 1 + > 7 files changed, 195 insertions(+), 4 deletions(-) > create mode 100644 fs/squashfs/lz4_wrapper.c > > These patches are also available in the git tree here: > > browse: https://git.kernel.org/cgit/linux/kernel/git/pkl/squashfs-lz4.git > git clone: git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-lz4.git > > LZ4 support has (obviously) also been added to the squashfs-tools > (Mksquashfs and Unsquashfs). This is available from the Squashfs-tools > git repository here: > > browse: https://git.kernel.org/cgit/fs/squashfs/squashfs-tools.git > git clone: git://git.kernel.org/pub/scm/fs/squashfs/squashfs-tools.git > > When building the squashfs-tools edit the Makefile to enable LZ4 > support (by default it is disabled). > > LZ4 compression can be specified by using the -comp option, e.g. > % mksquashfs xxx img.sqsh -comp lz4 > > The use of LZ4 high compression can be specified using -Xhc, e.g. > > % mksquashfs xxx img.sqsh -comp lz4 -Xhc > > Phillip > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/