Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p5LAetqv252410 for ; Tue, 21 Jun 2011 05:40:56 -0500 Received: from mail.ud10.udmedia.de (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 806F31F630 for ; Tue, 21 Jun 2011 03:40:54 -0700 (PDT) Received: from mail.ud10.udmedia.de (ud10.udmedia.de [194.117.254.50]) by cuda.sgi.com with ESMTP id UAmVLBvCAVrednSp for ; Tue, 21 Jun 2011 03:40:54 -0700 (PDT) Date: Tue, 21 Jun 2011 12:40:53 +0200 From: Markus Trippelsdorf Subject: Re: long hangs when deleting large directories (3.0-rc3) Message-ID: <20110621104053.GB1733@x4.trippels.de> References: <20110618141950.GA1685@x4.trippels.de> <20110619222447.GI561@dastard> <20110620005415.GA1730@x4.trippels.de> <20110620013449.GO561@dastard> <20110620020236.GB1730@x4.trippels.de> <20110620023625.GP561@dastard> <20110620060351.GC1730@x4.trippels.de> <20110620111359.GA12632@x4.trippels.de> <20110621042513.GN32466@dastard> <20110621101837.GA1733@x4.trippels.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20110621101837.GA1733@x4.trippels.de> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: Dave Chinner Cc: xfs@oss.sgi.com On 2011.06.21 at 12:18 +0200, Markus Trippelsdorf wrote: > On 2011.06.21 at 14:25 +1000, Dave Chinner wrote: > > On Mon, Jun 20, 2011 at 01:13:59PM +0200, Markus Trippelsdorf wrote: > > > > That is, you really need to get a profile of the rm -rf process - or > > whatever is consuming the CPU time - (e.g. via perf or ftrace) > > across the hang to so we can narrow down the potential cause of the > > latency. Speaking of which, latencytop might be helpful in > > identifying where input is getting held up.... > > Just ran latencytop and this the result: > > [xlog_state_get_iclog_space] 2104.4 msec 38.1 % And another example: Cause Maximum Percentage [xlog_state_get_iclog_space] 2098.7 msec 38.0 % Waiting for TTY data 1953.4 msec 29.7 % Syncing filesystem 723.0 msec 12.1 % Unlinking file 25.8 msec 7.7 % -- Markus _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs