All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [PATCH] If a CPU gets onlined set the governor to the one thatis run on other CPUs
@ 2006-11-27 21:49 Pallipadi, Venkatesh
  2006-11-27 22:10 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Pallipadi, Venkatesh @ 2006-11-27 21:49 UTC (permalink / raw)
  To: Dave Jones, Thomas Renninger; +Cc: cpufreq, Stefan Seyfried, Nakajima, Jun

 

>-----Original Message-----
>From: cpufreq-bounces@lists.linux.org.uk 
>[mailto:cpufreq-bounces@lists.linux.org.uk] On Behalf Of Dave Jones
>Sent: Monday, November 27, 2006 9:33 AM
>To: Thomas Renninger
>Cc: cpufreq@lists.linux.org.uk; Stefan Seyfried
>Subject: Re: [PATCH] If a CPU gets onlined set the governor to 
>the one thatis run on other CPUs
>
>On Mon, Nov 27, 2006 at 10:47:51AM +0100, Thomas Renninger wrote:
>
> > Thinking about x86 may get 16/32/64 CPU sockets the next 
>years, it may
> > be convenient for very specific guys to run some nodes at highest
> > performance to even avoid some 2% performance regression on database
> > nodes while others are run with ondemand.
>
>For the HPC folks I've spoken with, this doesn't seem likely.
>If they care at all about that 2% (which they do), they'll want that
>out of every CPU, and not leave anything idle.
>(Typically I hear from the HPC folks "how do I turn this 
>cpufreq thing off?")
>
>I'd rather we looked into merging conservative & ondemand, and have
>ondemand be tunable to not scale so frequently for such users.
>
>		Dave
>

Only usage model I can think of, where having per cpu governor is
helpful
is with virtualization.
Say Xen DOM 0 kernel does all the cpufreq enabling and each of the other
guests
asks for different governor, then DOM 0 can use per CPU governor and run
the guests with different governor requests.

Jun, who is looking at Power Management in Xen context, may have more
some
more thoughts on that.

Thanks,
Venki

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

* Re: [PATCH] If a CPU gets onlined set the governor to the one thatis run on other CPUs
  2006-11-27 21:49 [PATCH] If a CPU gets onlined set the governor to the one thatis run on other CPUs Pallipadi, Venkatesh
@ 2006-11-27 22:10 ` Dave Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2006-11-27 22:10 UTC (permalink / raw)
  To: Pallipadi, Venkatesh; +Cc: cpufreq, Stefan Seyfried, Nakajima, Jun

On Mon, Nov 27, 2006 at 01:49:20PM -0800, Pallipadi, Venkatesh wrote:

 > Only usage model I can think of, where having per cpu governor is
 > helpful
 > is with virtualization.
 > Say Xen DOM 0 kernel does all the cpufreq enabling and each of the other
 > guests
 > asks for different governor, then DOM 0 can use per CPU governor and run
 > the guests with different governor requests.
 > 
 > Jun, who is looking at Power Management in Xen context, may have more
 > some
 > more thoughts on that.

I put a little thought into this (but not too much) a while ago.
The proposal I came up with involved the guests not having governors at all.
For all intents, from the guests POV, they're running 'performance'
all the time.

Meanwhile, something like ondemand in DOM 0 would do the actual decision
making, based on the activity (or lack of) in each guest.  Basically instead
of ondemand looking at per-processor loadavg's, it'd need to take the loadavg
of the (potentially multiple) guests running on that CPU.

Having the guests able to control the governors could get messy when you
take multi-core CPUs into consideration and two guests running on pair of siblings
request different governors.   Put the decision making into DOM0, and this problem
just goes away.

Comments?

		Dave

-- 
http://www.codemonkey.org.uk

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

end of thread, other threads:[~2006-11-27 22:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-27 21:49 [PATCH] If a CPU gets onlined set the governor to the one thatis run on other CPUs Pallipadi, Venkatesh
2006-11-27 22:10 ` Dave Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.