[PATCH] sched: mc/smt power savings sched policy

Danny Kukawka danny.kukawka at web.de
Wed Jun 13 05:10:17 PDT 2007


On Mittwoch, 13. Juni 2007, S.Çağlar Onur wrote:
> 13 Haz 2007 Çar tarihinde, Richard Hughes şunları yazmıştı:
> > On Mon, 2007-06-11 at 23:01 +0300, S.Çağlar Onur wrote:
> > > Following patch tries to add GetSchedPowerSavings/SetSchedPowerSavings
> > > methods to cpufreq-addon.
> >
> > We already do this in pm-utils, when the user calls SetPowerSave. IMO, I
> > don't think this needs to be in HAL also.
>
> But if i'm not wrong it also tries to enable laptop mode and other possible
> powersaving goodies to minimize the power usage (at least spec says so).
>
> But one may just want to use this feature (and also others) for different
> purposes (like overheat protection), what you think about providing all
> these (sched powersave, cpu online/offlining, laptop mode, maybe
> usb/bluetooth/wireless power management goodies etc) as seperate methods
> instead of bundled one?

I would prefer to see this feature in HAL instead of pm-utils/SetPowerSave. 
Some reasons:
* the CPU freq addon would the the logical correct place for this and not 
pm-utils
* the user can't config pm-utils/SetPowerSave and manipulate SchedPowerSavings 
tasks via the current way
* the addon would allow the user to control the settings and set them e.g. via 
KPowersave (or g-p-m) to have more control over power consumtion without 
pm-utils and some magic (and unknown) settings in the background.

Danny


More information about the hal mailing list