public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* RE: [RFC][PATCH] Runtime switching of the idle function [take 2]
@ 2005-11-29 19:37 Brown, Len
  2005-11-29 19:53 ` Andi Kleen
  0 siblings, 1 reply; 28+ messages in thread
From: Brown, Len @ 2005-11-29 19:37 UTC (permalink / raw)
  To: Nick Piggin, Ingo Molnar, Steven Rostedt, Andi Kleen
  Cc: Andrew Morton, acpi-devel, nando, rlrevell, linux-kernel, paulmck,
	kr, tglx, pluto, john.cooper, bene, dwalker, trini, george

idle=poll is a really bad way to go from a power perspective.
While it is diminishing returns to get into deeper C-states,
getting into at least C1 (HALT or MONITOR/MWAIT) is very important
on many processors.

Note that if the issue at hand is the TSC stopping in deep
ACPI C-states, that there is a flag already available to limit
how deep the C-states go.  eg.

processor.max_cstate=2 will disable C3, C4 etc
You can do this at run-time by writing to
/sys/module/processor/parameters/max_cstate

I agree with Andi that we have some work to do to address
the issue directly, which is that the TSC is not reliable
under all conditions on all processors.  I think we need
some modes for TSC to detect and handle the cases where it either
stops in C3 or changes speeds, vs the systems where it actually
works the way we want it to -- constant rate that never stops.
 
>Why not just slightly cleanup and extend (eg. to ACPI) the
>hlt_counter thingy that many architectures already have?

Hmmm, I see the floppy driver invoking hlt_counter,
but it isn't clear what the general semantics and general
users are supposd to be.  Can you clue me in?

thanks,
-Len

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

end of thread, other threads:[~2005-12-18 15:26 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20051115090827.GA20411@elte.hu>
     [not found] ` <1132336954.20672.11.camel@cmn3.stanford.edu>
     [not found]   ` <1132350882.6874.23.camel@mindpipe>
     [not found]     ` <1132351533.4735.37.camel@cmn3.stanford.edu>
     [not found]       ` <20051118220755.GA3029@elte.hu>
     [not found]         ` <1132353689.4735.43.camel@cmn3.stanford.edu>
     [not found]           ` <1132367947.5706.11.camel@localhost.localdomain>
     [not found]             ` <20051124150731.GD2717@elte.hu>
2005-11-25 20:56               ` [RFC][PATCH] Runtime switching to idle_poll (was: Re: 2.6.14-rt13) Steven Rostedt
2005-11-26 13:05                 ` Ingo Molnar
2005-11-29  2:48                   ` [RFC][PATCH] Runtime switching of the idle function [take 2] Steven Rostedt
2005-11-29  3:02                     ` Andrew Morton
2005-11-29  3:42                       ` Steven Rostedt
2005-11-29  4:01                         ` Andrew Morton
2005-11-29  6:44                           ` Ingo Molnar
2005-11-29  6:55                             ` Nick Piggin
2005-11-29 18:05                             ` Andi Kleen
2005-11-29 14:19                               ` Steven Rostedt
2005-11-29 14:50                                 ` Andi Kleen
2005-11-29 15:42                                   ` Steven Rostedt
2005-12-02  1:27                               ` Max Krasnyansky
2005-12-02  1:45                                 ` Andi Kleen
2005-12-03  2:17                                   ` Max Krasnyansky
2005-11-29  4:22                         ` john stultz
2005-11-29 14:22                           ` Steven Rostedt
2005-11-29 13:08                     ` Pavel Machek
2005-12-18 15:26                       ` Steven Rostedt
2005-11-29 19:37 Brown, Len
2005-11-29 19:53 ` Andi Kleen
2005-11-29 20:35   ` Lee Revell
2005-11-29 20:51     ` Andi Kleen
2005-11-29 23:55       ` Lee Revell
2005-11-30  1:06         ` Andi Kleen
2005-11-30  1:22           ` Lee Revell
2005-11-30  1:58             ` Andi Kleen
2005-11-30  2:19               ` john stultz

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