From: Phillip Lougher Subject: Re: [RFC 0/2] squashfs parallel decompression Date: Wed, 23 Feb 2011 03:23:15 +0000 Message-ID: <4D647DA3.6000102@lougher.demon.co.uk> References: <6909.1278827714@jrobl> <1278841122-8913-1-git-send-email-hooanon05@yahoo.co.jp> <4D641184.6080405@cfl.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "J. R. Okajima" , linux-fsdevel@vger.kernel.org To: Phillip Susi Return-path: Received: from lon1-post-3.mail.demon.net ([195.173.77.150]:40426 "EHLO lon1-post-3.mail.demon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755683Ab1BWDm1 (ORCPT ); Tue, 22 Feb 2011 22:42:27 -0500 In-Reply-To: <4D641184.6080405@cfl.rr.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Phillip Susi wrote: > Did anything ever come of this? Nobody ever responded and I don't see > it ever having been merged to Linus' tree. > They're on my TO DO list. Unfortunately the patches are against 2.6.33 and are based on Squashfs with only gzip compression support. At the time of posting mainline was 2.6.36 or so with a new compression framework backend in Squashfs with support for gzip, lzo and (now) xz. So the patches need a re-work to fit in with this new framework. When I get time I'll look into refactoring the patches so they can apply to mainline. I've been tied up with xz compression support for the last couple of months. Phillip > On 7/11/2010 5:38 AM, J. R. Okajima wrote: >> Discussing about the performance of squashfs, I have tried enabling >> parallel decompression. >> On my test system, the elapsed time to read 59171 files randomly 10 >> times becomes 33.25sec to 20.54sec (of course, CPU usage increases). >> >> The base version is v2.6.33. >> >> J. R. Okajima (2): >> squashfs parallel decompression, early wait_on_buffer >> squashfs parallel decompression, z_stream per cpu >> >> fs/squashfs/block.c | 81 +++++++++++++++++------------------------ >> fs/squashfs/cache.c | 1 + >> fs/squashfs/dir.c | 1 + >> fs/squashfs/export.c | 1 + >> fs/squashfs/file.c | 1 + >> fs/squashfs/fragment.c | 1 + >> fs/squashfs/id.c | 1 + >> fs/squashfs/inode.c | 1 + >> fs/squashfs/namei.c | 1 + >> fs/squashfs/squashfs.h | 3 ++ >> fs/squashfs/squashfs_fs_sb.h | 2 - >> fs/squashfs/super.c | 48 +++++++++++++++++++------ >> fs/squashfs/symlink.c | 1 + >> 13 files changed, 83 insertions(+), 60 deletions(-) > >