public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BISECTED] Lots of "rescheduling IPIs" in powertop
@ 2008-05-13 20:42 Vegard Nossum
  2008-05-13 20:54 ` Andi Kleen
  2008-05-14  6:56 ` Ingo Molnar
  0 siblings, 2 replies; 15+ messages in thread
From: Vegard Nossum @ 2008-05-13 20:42 UTC (permalink / raw)
  To: Andi Kleen, Ingo Molnar, Thomas Gleixner
  Cc: Andreas Herrmann, S.Çağlar Onur, Valdis.Kletnieks,
	Matt Mackall, linux-kernel

Hi,

Recap: powertop shows between 200-400 wakeups/second with the description
"<kernel IPI>: Rescheduling interrupts" when all processors have load (e.g.
I need to run two busy-loops on my 2-CPU system for this to show up).

The bisect resulted in this commit:

commit 0c07ee38c9d4eb081758f5ad14bbffa7197e1aec
Author: Andi Kleen <ak@suse.de>
Date:   Wed Jan 30 13:33:16 2008 +0100

    x86: use the correct cpuid method to detect MWAIT support for C states

    Previously there was a AMD specific quirk to handle the case of
    AMD Fam10h MWAIT not supporting any C states. But it turns out
    that CPUID already has ways to detectly detect that without
    using special quirks.

    The new code simply checks if MWAIT supports at least C1 and doesn't
    use it if it doesn't. No more vendor specific code.

    Note this is does not simply clear MWAIT because MWAIT can be still
    useful even without C states.

    Credit goes to Ben Serebrin for pointing out the (nearly) obvious.

    Cc: "Andreas Herrmann" <andreas.herrmann3@amd.com>
    Signed-off-by: Andi Kleen <ak@suse.de>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>

I was not able to revert this without conflicts, so I will leave that part
to you. Here is the bisect log in case it is useful:

git-bisect start 'v2.6.26-rc1' 'v2.6.24'
git-bisect bad 3f85d63ea4ff922f6abdb509f4aaf6993b3273a3
git-bisect bad f77bc6a420eba845605ff1d53cadf55f94c5e8b7
git-bisect good c76c04758b8fd24a1c38b19742e3437e954e945b
git-bisect good 0ba6c33bcddc64a54b5f1c25a696c4767dc76292
git-bisect good fde1b3fa947c2512e3715962ebb1d3a6a9b9bb7d
git-bisect bad d690b2afd5a7a02816386aa704c8c0b1aca8d2de
git-bisect good 773221f46f82dc2f277dacc331d9d2ef2c690cb6
git-bisect bad f8f76481bc2803aea03ff213c7e1405b53f7e488
git-bisect bad 9042219cd8d43b81322b826d463dd6e52acae6cf
git-bisect bad ca74a6f84e68b44867022f4a4f3ec17c087c864e
git-bisect good 064954761254ef17fae2b84fb5a034d48a769143
git-bisect good 30d432dfab2bcfd021d352e2058fae6b9405caeb
git-bisect bad 27cc2a812eb504f4aadff5baa862da715fb0f886
git-bisect bad 0c07ee38c9d4eb081758f5ad14bbffa7197e1aec

This initially showed up on my 2.6.24.5-85.fc8 (Fedora) kernel.

I have two different systems (one laptop, one desktop) which both show the
same symptoms, please do tell me if you need any more info.


Vegard

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

end of thread, other threads:[~2008-05-16  8:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-13 20:42 [BISECTED] Lots of "rescheduling IPIs" in powertop Vegard Nossum
2008-05-13 20:54 ` Andi Kleen
2008-05-13 21:09   ` Vegard Nossum
2008-05-13 21:19     ` Andi Kleen
2008-05-14  4:02       ` Arjan van de Ven
2008-05-14  6:58         ` Andi Kleen
2008-05-14 13:55           ` Arjan van de Ven
2008-05-14 15:21             ` Andi Kleen
2008-05-14  6:00       ` Vegard Nossum
2008-05-14  6:56 ` Ingo Molnar
2008-05-14  7:11   ` Vegard Nossum
2008-05-14  9:09   ` Andreas Herrmann
2008-05-14 11:42     ` Andi Kleen
2008-05-15 16:10       ` Andreas Herrmann
2008-05-16  8:40     ` Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox