xfs
[Top] [All Lists]

Re: long hangs when deleting large directories (3.0-rc3)

To: Dave Chinner <david@xxxxxxxxxxxxx>
Subject: Re: long hangs when deleting large directories (3.0-rc3)
From: Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>
Date: Tue, 21 Jun 2011 12:40:53 +0200
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=simple; d=mail.ud10.udmedia.de; h= date:from:to:cc:subject:message-id:references:mime-version: content-type:in-reply-to; q=dns/txt; s=beta; bh=j8rOyFtK4sTzobwQ +YDmK4ElLeTJbwSYN0a4agOY3YI=; b=R94XR+Ozrk69P3BGtozlV08QzapUN8DL +hHkH9ucbHV+jNk3McfreyEaSya/ttyPFy0SZOUaECxZSDGdUnk56aulf0+QFG4x eBkeHWnQNp06h4wSLc3yQt2VCAaMUa1K8kBjq3UaHCpRlD+CYSALBuGWlVmfaC9R ICLRVRGtv20=
In-reply-to: <20110621101837.GA1733@xxxxxxxxxxxxxx>
References: <20110618141950.GA1685@xxxxxxxxxxxxxx> <20110619222447.GI561@dastard> <20110620005415.GA1730@xxxxxxxxxxxxxx> <20110620013449.GO561@dastard> <20110620020236.GB1730@xxxxxxxxxxxxxx> <20110620023625.GP561@dastard> <20110620060351.GC1730@xxxxxxxxxxxxxx> <20110620111359.GA12632@xxxxxxxxxxxxxx> <20110621042513.GN32466@dastard> <20110621101837.GA1733@xxxxxxxxxxxxxx>
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

<Prev in Thread] Current Thread [Next in Thread>