LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* xfsaild causing 30+ wakeups/s on an idle system since 2.6.25-rcX
@ 2008-02-17 16:41 Török Edwin
  2008-02-17 16:51 ` Oliver Pinter
  2008-02-18 23:22 ` Linda Walsh
  0 siblings, 2 replies; 7+ messages in thread
From: Török Edwin @ 2008-02-17 16:41 UTC (permalink / raw)
  To: xfs; +Cc: Linux Kernel, Arjan van de Ven

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

Hi,

xfsaild is causing many wakeups, a quick investigation shows
xfsaild_push is always
returning 30 msecs timeout value.

This is on an idle system, running only gnome, and gnome-terminal.

I suggest changing the timeout logic in xfsaild to be more power
consumption friendly.

See below my original report to the powerTOP mailing list.

Best regards,
--Edwin

[-- Attachment #2: Re: new offender in 2.6.25-git: xfsaild.eml --]
[-- Type: message/rfc822, Size: 2550 bytes --]

From: Arjan van de Ven <arjan@linux.intel.com>
To: "Török Edwin" <edwintorok@gmail.com>
Cc: power@bughost.org
Subject: Re: new offender in 2.6.25-git: xfsaild
Date: Sun, 17 Feb 2008 08:09:06 -0800
Message-ID: <47B85C22.3070504@linux.intel.com>

Török Edwin wrote:
> Török Edwin wrote:
>> Hi,
>>
>> On latest -git of 2.6.25 I am getting lots of wakeups from xfsaild.
>>   23.5% ( 33.3)           xfsaild : schedule_timeout (process_timeout)
>>   
> 
> [Should I Cc: xfs mailing list / lkml on this?]
> 
> The problem seems to be with the timeout logic in xfsaild_push, which
> can return 3 timeout values (msecs): 1000, 10, 20, 30.
> I inserted a marker and attached a probe function, schedule_timeout
> always got called with 9 jiffies (which is 30 msecs, I have HZ=300).
> 
> Changing xfs_trans_ail.c:270 from "tout += 20" to "tout = 1000", made
> xfsaild only do 1 wakeup/s instead of 33!
> 
> For some reason xfs_aild always thinks it has work (I/O) to do, and
> never chooses the 1000 msec sleep value.
> 

sounds like an XFS bug... worth reporting to the xfs/lkml folks for sure.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-02-19  8:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-17 16:41 xfsaild causing 30+ wakeups/s on an idle system since 2.6.25-rcX Török Edwin
2008-02-17 16:51 ` Oliver Pinter
2008-02-17 22:47   ` David Chinner
2008-02-18  9:41     ` Török Edwin
2008-02-18 10:21       ` David Chinner
2008-02-18 23:22 ` Linda Walsh
2008-02-19  8:20   ` David Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).