Re: What's the right value for idle= (was: Re: [linux-pm]regression on P-II SMP)

From: Arjan van de Ven
Date: Sun Feb 21 2010 - 16:10:15 EST


On Sun, 21 Feb 2010 21:36:03 +0100
"Rafael J. Wysocki" <rjw@xxxxxxx> wrote:

> On Sunday 21 February 2010, Guennadi Liakhovetski wrote:
> > Hi
> >
> > my 2xP-II@400MHz locks up with 2.6.32(.X) unless I specify "idle=*"
> > on the kernel command-line, where "*" is one of "poll," "mwait,"
> > "halt," and only "nomwait" indeed locks it up. Last kernel known to
> > work was 2.6.25. So, it doesn't bother me all that much - I have a
> > way to boot it, but maybe someone would be interested to fix this
> > (this system already has a few quirks on the kernel command line,
> > so, one more doesn't really hurt;)). What interests me more - which
> > of those shall I be using? From Documentation/kernel-parameters.txt
> > it looks like "mwait" should be best for me? Or should I be using
> > "halt?" "Poll" does indeed fry CPUs - raises sys temperatures to
> > 50 / 60 degrees C. Power-saving is not that much of a concern for
> > me - I only run that system occasionally, but it shouldn't produce
> > more heat than it must;) And since this system does have a broken
> > ACPI (Compaq AP400), I wouldn't try to be too smart with it.
>
> I guess "mwait" is the right one, but let's try to ask experts.

can you get us /proc/cpuinfo ?
(only one of the cpus, the other ones are just duplicates)

if the CPU advertizes mwait, we normally ought to use it,
but there's some exceptions to that due to buggy-as-**** bioses.

can you also run powertop -d and get that output ?
(preferably on a fully known working kernel)


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/