LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: "Török Edwin" <edwintorok@gmail.com>
To: xfs@oss.sgi.com
Cc: Linux Kernel <linux-kernel@vger.kernel.org>,
Arjan van de Ven <arjan@linux.intel.com>
Subject: xfsaild causing 30+ wakeups/s on an idle system since 2.6.25-rcX
Date: Sun, 17 Feb 2008 18:41:13 +0200 [thread overview]
Message-ID: <47B863A9.5070206@gmail.com> (raw)
[-- 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.
next reply other threads:[~2008-02-17 16:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-17 16:41 Török Edwin [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47B863A9.5070206@gmail.com \
--to=edwintorok@gmail.com \
--cc=arjan@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=xfs@oss.sgi.com \
--subject='Re: xfsaild causing 30+ wakeups/s on an idle system since 2.6.25-rcX' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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).