From: Chris Mason Subject: Re: [Regression] Filesystem I/O is CPU-bound in rc7 and rc8 Date: Mon, 15 Feb 2010 10:45:16 -0500 Message-ID: <20100215154516.GB11057@think> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-btrfs@vger.kernel.org, jfs-discussion@lists.sourceforge.net To: James Cloos Return-path: Received: from acsinet11.oracle.com ([141.146.126.233]:31925 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752572Ab0BOPrW (ORCPT ); Mon, 15 Feb 2010 10:47:22 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-ext4-owner@vger.kernel.org List-ID: On Sat, Feb 13, 2010 at 10:11:07PM -0500, James Cloos wrote: > Sometime between rc6 and rc7 all filesystem I/O started using 100% CPU, > usually on the order of 60% sys, 40% user. > > I've tried this with each of ext4, jfs and btrfs filesystems. All show > the same issue. > > Using dd(1) to read from the block specials directly works as well and > as fast as it always has; only reading or writing to mounted filesystems > is affected. > > Box is 32-bit x86, PentiumIII-M; drives are ide using libata. > > If the btrfs fs is mounted, the slowdown is enought to trigger the > hung_task call trace (120s) on the btrfs-transac process. > > But the regression is just as apparent when only jfs and ext4 are mounted. > > The only filesystems I've found which avoid the regression are tmpfs and > devtmpfs. Could you please hit sysrq-l a few times during the high CPU usage and send us the results? Also, please send along the full dd command line you are using and how much ram your system has. (Even better would be running perf record , if you're willing to setup perf) Thanks!