public inbox for linux-kernel@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; 26+ 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] 26+ messages in thread
* 2.6.14-rt13
@ 2005-11-15  9:08 Ingo Molnar
  2005-11-18 18:02 ` 2.6.14-rt13 Fernando Lopez-Lezcano
  0 siblings, 1 reply; 26+ messages in thread
From: Ingo Molnar @ 2005-11-15  9:08 UTC (permalink / raw)
  To: linux-kernel
  Cc: Paul E. McKenney, K.R. Foley, Steven Rostedt, Thomas Gleixner,
	pluto, john cooper, Benedikt Spranger, Daniel Walker, Tom Rini,
	George Anzinger

i have released the 2.6.14-rt13 tree, which can be downloaded from the 
usual place:

   http://redhat.com/~mingo/realtime-preempt/

lots of fixes in this release affecting all supported architectures, all 
across the board. Big MIPS update from John Cooper.

Changes since 2.6.14-rt1:

 - lots of RCU fixes and updates in signal handling and related areas
   (Paul E. McKenney)

 - big RCU torture-test update (Paul E. McKenney)

 - fix netfilter/conntrack crash reported by Paweł Sikora

 - big MIPS update (John Cooper)

 - ARM updates (Daniel Walker)

 - PPC updates (Benedikt Spranger)

 - ktimers rounding fix (Thomas Gleixner)

 - off by one fix in timespec normalization (George Anzinger)

 - lpptest Kconfig dependency fix (Tom Rini)

 - clean up get_cpu_tick() -> get_cycles() in blocker, lpptest and 
   latency.c. (Tom Rini)

 - fix ppc32 bootwrapper code for new zlib (Tom Rini)

 - rtc histogram fixes merged for real :-) (K.R. Foley)

 - fix NMI watchdog false positive (Steven Rostedt, me)

 - added the nsleep() kernel API, which uses high-resolution sleeps

 - build fix on !PREEMPT_RT

 - cleanup of the PER_CPU_LOCKED infrastructure

 - fix softlockup false positives triggered by the RCU torture-test.

 - do not send a false -ERESTART_RESTARTBLOCK to userspace if the
   HRT timer hardware wakes us up early.

to build a 2.6.14-rt13 tree, the following patches should be applied:

  http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.14.tar.bz2
  http://redhat.com/~mingo/realtime-preempt/patch-2.6.14-rt13

	Ingo

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

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

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-29 19:37 [RFC][PATCH] Runtime switching of the idle function [take 2] 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
  -- strict thread matches above, loose matches on Subject: below --
2005-11-15  9:08 2.6.14-rt13 Ingo Molnar
2005-11-18 18:02 ` 2.6.14-rt13 Fernando Lopez-Lezcano
2005-11-18 21:54   ` 2.6.14-rt13 Lee Revell
2005-11-18 22:05     ` 2.6.14-rt13 Fernando Lopez-Lezcano
2005-11-18 22:07       ` 2.6.14-rt13 Ingo Molnar
2005-11-18 22:41         ` 2.6.14-rt13 Fernando Lopez-Lezcano
2005-11-19  2:39           ` 2.6.14-rt13 Steven Rostedt
2005-11-24 15:07             ` 2.6.14-rt13 Ingo Molnar
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

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