From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. R. Okajima" Subject: [RFC 0/2] squashfs parallel decompression Date: Sun, 11 Jul 2010 18:38:40 +0900 Message-ID: <1278841122-8913-1-git-send-email-hooanon05@yahoo.co.jp> References: <6909.1278827714@jrobl> Cc: linux-fsdevel@vger.kernel.org, "J. R. Okajima" To: phillip@lougher.demon.co.uk Return-path: Received: from mtoichi11.ns.itscom.net ([219.110.2.181]:55976 "EHLO mtoichi11.ns.itscom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752617Ab0GKJjn (ORCPT ); Sun, 11 Jul 2010 05:39:43 -0400 In-Reply-To: <6909.1278827714@jrobl> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: 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(-)