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 20:24:14 +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=81X3CSxutP9eFSku ef2ELOhnOuxiy4u/nnNp09ndc/4=; b=TE4+WL/yWjel2ZT8g6yNNxIyFLlerYGW Lin7hc/3uke6dDjDH6wbLiPcFlrjmcHnTE9XZoQXUwOe40lqIFm/G57mMJ7fljcl ZyZ8Uwfp/fbnsoq+7IasqFIhLtN5Hpm78NrHsvE9BkmdATjOKk8aq2rDTvixvc9d cNSu4B0Hp4o=
In-reply-to: <20110621080219.GA1684@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> <20110621080219.GA1684@xxxxxxxxxxxxxx>
On 2011.06.21 at 10:02 +0200, Markus Trippelsdorf wrote:
> On 2011.06.21 at 14:25 +1000, Dave Chinner 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....
> 
> I've recorded a profile with "perf record -g /home/markus/rm_sync"
> ~ % cat rm_sync
> rm -fr /mnt/tmp/tmp/linux && sync

FWIW here are two links to svg time-charts produced by:

perf timechart record /home/markus/rm_sync

http://trippelsdorf.de/timechart1.svg
http://trippelsdorf.de/timechart2.svg

-- 
Markus

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