From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: "Vegard Nossum" <vegard.nossum@gmail.com>,
Andrew Morton <akpm@linux-foundation.org>
Cc: "Pavel Machek" <pavel@suse.cz>,
"Robert Richter" <robert.richter@amd.com>,
"Ingo Molnar" <mingo@elte.hu>, "Andi Kleen" <ak@linux.intel.com>,
"Philippe Elie" <phil.el@wanadoo.fr>,
"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: oprofile + hibernation = badness
Date: Mon, 18 Aug 2008 23:15:59 +0200 [thread overview]
Message-ID: <200808182316.00854.rjw@sisk.pl> (raw)
In-Reply-To: <19f34abd0808181408q8a38fc0hfaff02fab6e20681@mail.gmail.com>
On Monday, 18 of August 2008, Vegard Nossum wrote:
> On Mon, Aug 18, 2008 at 10:51 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
> > Apparently nmi_suspend() conflicts with oprofile somehow. Also, the offlining
> > of non-boot CPUs may confuse it. It would be helpful to check if the CPU
> > hotplug works with oprofile.
>
> That is a good suggestion :-)
>
> Here is offlining:
>
> CPU 1 is now offline
> lockdep: fixing up alternatives.
> SMP alternatives: switching to UP code
> CPU0 attaching NULL sched-domain.
> WQ on CPU0, prefer CPU1
> CPU1 attaching NULL sched-domain.
> CPU0 attaching sched-domain:
> domain 0: span 0 level CPU
> groups: 0
> WQ on CPU0, prefer CPU1
> WQ on CPU0, prefer CPU1
> WQ on CPU0, prefer CPU1
> [repeat last message indefinitely]
>
> Here is onlining:
>
> Booting processor 1/1 ip 6000
> Initializing CPU#1
> WQ on CPU0, prefer CPU1
> WQ on CPU0, prefer CPU1
> Calibrating delay using timer specific routine.. 5986.15 BogoMIPS (lpj=29930790)
> CPU: Trace cache: 12K uops, L1 D cache: 16K
> CPU: L2 cache: 2048K
> CPU: Physical Processor ID: 0
> Intel machine check architecture supported.
> Intel machine check reporting enabled on CPU#1.
> CPU1: Intel P4/Xeon Extended MCE MSRs (24) available
> CPU1: Thermal monitoring enabled
> x86 PAT enabled: cpu 1, old 0x7040600070406, new 0x7010600070106
> CPU1: Intel(R) Pentium(R) 4 CPU 3.00GHz stepping 05
> checking TSC synchronization [CPU#0 -> CPU#1]:
> Measured 120 cycles TSC warp between CPUs, turning off TSC clock.
> Marking TSC unstable due to check_tsc_sync_source failed
> APIC error on CPU1: 00(40)
> Clockevents: could not switch to one-shot mode:<7>APIC error on CPU1: 40(40)
> lapic is not functional.
> Could not switch to high resolution mode on CPU 0
> Clockevents: could not switch to one-shot mode: lapic is not functional.
> Could not switch to high resolution mode on CPU 1
> APIC error on CPU1: 40(40)
> [sched domains messages
> WQ on CPU0, prefer CPU1
> APIC error on CPU1: 40(40)
> [repeat last message 9 times]
>
> Then follows this pattern indefinitely:
>
> WQ on CPU0, prefer CPU1
> APIC error on CPU1: 40(40)
> [repeat last message 9 times]
>
> That's basically the same thing as I saw with suspend. So it can be
> reproduced easily with CPU hotplug.
Well, I don't know who's the right person to ask about the CPU hotplug.
Andrew, can you help please?
Rafael
next prev parent reply other threads:[~2008-08-18 21:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-18 20:32 Vegard Nossum
2008-08-18 20:51 ` Rafael J. Wysocki
2008-08-18 21:08 ` Vegard Nossum
2008-08-18 21:15 ` Rafael J. Wysocki [this message]
2008-08-18 21:29 ` Andrew Morton
2008-08-19 1:13 ` Andi Kleen
2008-08-19 7:12 ` Vegard Nossum
2008-08-19 9:49 ` Ingo Molnar
2008-08-19 12:12 ` Andi Kleen
2008-08-19 12:37 ` Robert Richter
2008-08-19 12:56 ` Johannes Weiner
2008-08-19 13:18 ` Andi Kleen
2008-08-19 13:18 ` Ingo Molnar
2008-09-01 16:34 ` Robert Richter
2008-09-05 17:58 ` Ingo Molnar
2008-09-05 18:59 ` Robert Richter
2008-09-05 20:31 ` Ingo Molnar
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=200808182316.00854.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=ak@linux.intel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=pavel@suse.cz \
--cc=phil.el@wanadoo.fr \
--cc=robert.richter@amd.com \
--cc=vegard.nossum@gmail.com \
/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®