From: Peter Zijlstra <peterz@infradead.org>
To: Luming Yu <luming.yu@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>, Len Brown <lenb@kernel.org>,
"H. Peter Anvin" <hpa@zytor.com>, tglx <tglx@linutronix.de>
Subject: Re: [PATCH] a patch to fix the cpu-offline-online problem caused by pm_idle
Date: Mon, 31 Jan 2011 11:16:46 +0100 [thread overview]
Message-ID: <1296469006.15234.359.camel@laptop> (raw)
In-Reply-To: <AANLkTinxHXqndfP79W0=zer70psi6Dmkcv7rZc4ew7ZF@mail.gmail.com>
On Sun, 2011-01-30 at 22:26 -0500, Luming Yu wrote:
> > Guessing is totally the wrong thing when you're sending stuff upstream,
> > esp ugly patches such as this. .32 is more than a year old, anything
> > could have happened.
>
> Ok. the default upstream kernel seems to have NMI watchdog disabled?
Then enable it already, its a whole CONFIG option away..
> It's not working because of NMI watchdog. If you ignore NMI watchdog,
> then I guess it works but just slow..
Don't guess, test it dammit. And then figure out why it triggers, I
haven't seen _anything_ that would cause it to trigger, nor a sane
explanation for your patch.
> > Ok, so one IPI costs 50-100 us, even with 64 cpu, that's at most 6.4ms
> > nowhere near enough to trigger the NMI watchdog. So what does go wrong?
>
> Good question!
> But we also can't forget there were large latency from C3.
Not 60+ seconds large I hope, I know NHM-EX has some suckage, but surely
not that bad?
> And I guess some reschedule ticks get lost to kick some CPUs out of
> idle due to the side effects of the CPU PM feature. if use nohz=off,
> everything seems to just work.
> Yes, I agree we need to dig it out either.
> But it's kind of combination problem between the special stop_machine
> context and CPU power management...
Yeah, so? Also, incidentally, stop-machine got a rewrite around .35 and
again significant changes in .37, so please do test mainline and not
your dinosaur.
> > Yeah, what are you smoking? Why do you wreck perfectly fine code for one
> > backward ass piece of hardware.
>
> Just make things less complex...
But its wrong, it very clearly works around a real problem, don't ever
do that, fix the problem!
next prev parent reply other threads:[~2011-01-31 10:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-24 7:34 [PATCH] a patch to fix the cpu-offline-online problem caused by pm_idle Luming Yu
2011-01-24 18:41 ` Peter Zijlstra
2011-01-25 1:59 ` Luming Yu
2011-01-25 9:12 ` Peter Zijlstra
2011-01-26 6:42 ` Luming Yu
2011-01-28 10:30 ` Peter Zijlstra
2011-01-29 5:44 ` Luming Yu
2011-01-30 16:36 ` Peter Zijlstra
2011-01-31 3:26 ` Luming Yu
2011-01-31 10:16 ` Peter Zijlstra [this message]
2011-01-31 14:10 ` Luming Yu
2011-01-31 14:17 ` Peter Zijlstra
2011-01-31 10:48 ` Peter Zijlstra
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=1296469006.15234.359.camel@laptop \
--to=peterz@infradead.org \
--cc=hpa@zytor.com \
--cc=lenb@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luming.yu@gmail.com \
--cc=tglx@linutronix.de \
/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