Re: [RFC PATCH v2 0/2] Saving power by cpu evacuation sched_max_capacity_pct=n

Pavel Machek
2009-05-22T06:13:34Z

On Wed 2009-05-13 17:01:00, Andi Kleen wrote:
> > >From what I've been told its popular to over-commit the cooling capacity
> > in a rack, so that a number of servers can run at full thermal capacity
> > but not all.
>
> Yes. But in this case you don't want to use throttling, you want
> to use p-states which actually safe power unlike throttling.
>
> > I've also been told that hardware sucks at throttling,
>
> Throttling is not really something you should use in normal
> operation, it's just a emergency measure. For that it works
> quite well, but you really don't want it in normal operation.
>
> > therefore people
> > want to fix the OS so as to limit the thermal capacity and avoid the
> > hardware throttle from kicking in, whilst still not exceeding the rack
> > capacity or similar nonsense.
>
> Yes that's fine and common, but you actually need to save power for this,
> which throttling doesn't do.

Actually throttling will lower power consumption at any given moment
(not power consumption for any given task!) and will keep your rack
from melting.

But I don't see why it is neccessary to evacuate cores for this. Why
not just schedule special task that enters C3 instead of computing?

That was what I planned to do on athlon 900 (1 core) with broken
fan...

For what you are doing, cpu hotplug seems more suitable. Can you
enhance it so that it is fast enough for you?

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html