mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arjan van de Ven <arjan@infradead.org>
To: Ingo Molnar <mingo@elte.hu>
Cc: Mark Lord <lkml@rtr.ca>, "Rafael J. Wysocki" <rjw@sisk.pl>,
	LKML <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Adrian Bunk <bunk@kernel.org>
Subject: Re: 2.6.24-rc6-git12: Reported regressions from 2.6.23
Date: Sun, 6 Jan 2008 14:23:33 -0800	[thread overview]
Message-ID: <20080106142333.7e7053e7@laptopd505.fenrus.org> (raw)
In-Reply-To: <20080106095501.GG26291@elte.hu>

On Sun, 6 Jan 2008 10:55:01 +0100
Ingo Molnar <mingo@elte.hu> wrote:

> 
> * Mark Lord <lkml@rtr.ca> wrote:
> 
> > Rafael J. Wysocki wrote:
> >> This message contains a list of some regressions from 2.6.23
> >> reported since 2.6.24-rc1 was released, for which there are no
> >> fixes in the mainline I know of.  If any of them have been fixed
> >> already, please let me know.
> > ..
> >> Subject		: 20000+ wake-ups/second in 2.6.24
> >> Submitter	: Mark Lord <lkml@rtr.ca>
> >> Date		: 2007-12-02 04:23
> >> References	: http://lkml.org/lkml/2007/12/1/141
> >> 		  http://bugzilla.kernel.org/show_bug.cgi?id=9489
> >> Handled-By	: Arjan van de Ven <arjan@infradead.org>
> >>
> >
> > I wonder if it's just a babbling IRQ on resume, before the driver
> > has run it's resume code or something ?
> 
> i've read the discussions, and i cannot see it analyzed anywhere
> _what_ causes the wakeups. And how are these wakeups counted? Is this
> based on powertop output:
> 
>  Wakeups-from-idle per second : 20.4     interval: 1.8s
> 
> ? Somewhere i saw it mentioned that "the CPU throws out of C mode".
> What does that mean - does it mean we try to idle again and again,
> but we immediately return from C mode - while this all looks like
> "idle" time to the scheduler (so 'top' will show lots of idle time),
> but the ACPI wakeup counters are going up like mad? What
> is /proc/interrupts doing when this happens - is any of the irq
> sources going upwards?
> 

what seems to happen (and this is based on seeing this on my own devel laptop, as well
as several other reports; Mark is by far not the only one) is something hardware
related, it's been seen on lots of different kernel versions.

It seems to mostly (but not 100%) happen with TI cardbus bridges, where for some reason,
once the yenta driver is loaded (unloading it later makes no difference), once in a while
we get into a mode where the CPU always immediately goes out of the C-state again.
On a hardware level, there are only a few things that cause a CPU to exit a C-state,
and one of them is a pending interrupt of some kind, which is the most likely thing going on here;
some device or apic being stuck with interrupt high, but somehow the CPU isn't actually
seeing the interrupt itself (or has it blocked!)

To call this a 2.6.24 regression is a mistake (as I've said before), it's not new to .24
by any means.

-- 
If you want to reach me at my work email, use arjan@linux.intel.com
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org

  reply	other threads:[~2008-01-06 22:24 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-05 19:42 Rafael J. Wysocki
2008-01-05 20:06 ` Alan Cox
2008-01-05 23:39   ` Rafael J. Wysocki
2008-01-05 23:45 ` Mark Lord
2008-01-06  9:55   ` Ingo Molnar
2008-01-06 22:23     ` Arjan van de Ven [this message]
2008-01-06 22:36       ` Rafael J. Wysocki
2008-01-06  9:38 ` Ingo Molnar
2008-01-06 12:56   ` Rafael J. Wysocki
2008-01-06 14:24   ` Stefano Brivio
2008-01-06  9:45 ` Ingo Molnar
2008-01-06 12:57   ` Rafael J. Wysocki
2008-01-06 16:21     ` Parag Warudkar
2008-01-06 19:11       ` Rafael J. Wysocki
2008-01-07 23:21         ` Parag Warudkar
2008-01-07 23:54           ` Rafael J. Wysocki
2008-01-08  0:49             ` Parag Warudkar
2008-01-08  8:02               ` Thomas Gleixner

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=20080106142333.7e7053e7@laptopd505.fenrus.org \
    --to=arjan@infradead.org \
    --cc=akpm@linux-foundation.org \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkml@rtr.ca \
    --cc=mingo@elte.hu \
    --cc=rjw@sisk.pl \
    --cc=torvalds@linux-foundation.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®