[Top] [All Lists]

Re: xfsaild causing 30+ wakeups/s on an idle system since 2.6.25-rcX

To: Török Edwin <edwintorok@xxxxxxxxx>
Subject: Re: xfsaild causing 30+ wakeups/s on an idle system since 2.6.25-rcX
From: David Chinner <dgc@xxxxxxx>
Date: Mon, 18 Feb 2008 21:21:50 +1100
Cc: David Chinner <dgc@xxxxxxx>, Oliver Pinter <oliver.pntr@xxxxxxxxx>, xfs@xxxxxxxxxxx, Linux Kernel <linux-kernel@xxxxxxxxxxxxxxx>, Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>, Christoph Lameter <clameter@xxxxxxx>, Christoph Hellwig <hch@xxxxxxxxxxxxx>
In-reply-to: <47B952D3.2030900@xxxxxxxxx>
References: <47B863A9.5070206@xxxxxxxxx> <6101e8c40802170851w73db8130t9bcfdc5cf053f0dc@xxxxxxxxxxxxxx> <20080217224736.GX155407@xxxxxxx> <47B952D3.2030900@xxxxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/
On Mon, Feb 18, 2008 at 11:41:39AM +0200, Török Edwin wrote:
> David Chinner wrote:
> > On Sun, Feb 17, 2008 at 05:51:08PM +0100, Oliver Pinter wrote:
> >   
> >> On 2/17/08, Török Edwin <edwintorok@xxxxxxxxx> wrote:
> >>     
> >>> Hi,
> >>>
> >>> xfsaild is causing many wakeups, a quick investigation shows
> >>> xfsaild_push is always
> >>> returning 30 msecs timeout value.
> >>>       
> >
> > That's a bug
> Ok. Your patches fixes the 30+ wakeups :)

Good. I'll push it out for review then.

> > , and has nothing to do with power consumption. ;)
> >   
> I suggest using a sysctl value (such as
> /proc/sys/vm/dirty_writeback_centisecs), instead of a hardcoded default
> 1000.

No, too magic. I dislike adding knobs to workaround issues that
really should be fixed by having sane default behaviour.  Further
down the track as we correct know issues with the AIL push code
we'll be able to increase this idle timeout or even make it purely
wakeup driven once we get back to an idle state. However, right now
it still needs that once a second wakeup to work around a nasty
corner case that can hang the filesystem....


Dave Chinner
Principal Engineer
SGI Australian Software Group

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