Nils Goroll wrote: > OK, for everyone else, here's some background: > > power.conf edit is being done in: > http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/hal/addons/cpufreq/addon-cpufreq.c#138 > > Effectively, /apps/gnome-power-manager/cpufreq/performance_battery or > /apps/gnome-power-manager/cpufreq/performance_ac are being multiplied > with 15 (which seems to be arbitrary choice to me - who knows more?) and > this value is written as cpu-threshold to power.conf. > You are right. The "performance" attribute of Gnome Power Manager (GPM) is used to calculate cpu-threshold. The reason to multiply it by 15 is, in the current implementation of cpu power management, the PM framework scans for the usage of the cpu every 15 seconds. That is the reason, the performance value is multiplied by 15. Since in the current implementation the scan interval is 15s, a cpu-threshold of less than 15 will be of no much difference. But that is going to change soon where the scanning is of cpu is done every second. That putback will happen within a week or two. After that, \ the above calculation will be an issue and it has to be revisited. Thanks for bringing it up.
Anup > The values can be changed with gconf-editor > > Cheers, Nils > -- > This message posted from opensolaris.org > _______________________________________________ > pm-discuss mailing list > pm-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/pm-discuss > -- Anup Pemmaiah Sun Microsystems