Hi, Currently there is possibility to set lowest speed of cpu for scaling with cpufreq (debug.cpufreq.lowest), it would be good to include also a option to set the highest possible freq to use with cpufreq, some laptops get too hot and/or consume too much power when running on maximum power/speed of cpu. Regards vermaden ---------------------------------------------------------------------- Dzwon taniej na zagraniczne komorki! Sprawdz >> http://link.interia.pl/f1f6a
I've rolled a patchset to do this for 7.0-RELEASE (http://acm.poly.edu/~spawk/cpufreq/) if anyone's interested. -Boris vermaden wrote:> Hi, > > Currently there is possibility to set lowest speed of > cpu for scaling with cpufreq (debug.cpufreq.lowest), > it would be good to include also a option to set the > highest possible freq to use with cpufreq, some laptops > get too hot and/or consume too much power when running > on maximum power/speed of cpu. > > Regards > vermaden > > > ---------------------------------------------------------------------- > Dzwon taniej na zagraniczne komorki! > Sprawdz >> http://link.interia.pl/f1f6a > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >
Thank You mate. Works like a charm, why not merge it into STABLE and CURRENT branches? I assume that STABLE is currently frozen 'cause of the RELEASE process, but such a small (and tested as 'lowest') change should fit into RELEASE. Regards vermaden> I've rolled a patchset to do this for 7.0-RELEASE > (http://acm.poly.edu/~spawk/cpufreq/) if anyone's interested. > > -Boris > > vermaden wrote: > > Hi, > > > > Currently there is possibility to set lowest speed of > > cpu for scaling with cpufreq (debug.cpufreq.lowest), > > it would be good to include also a option to set the > > highest possible freq to use with cpufreq, some laptops > > get too hot and/or consume too much power when running > > on maximum power/speed of cpu. > > > > Regards > > vermaden---------------------------------------------------------------------- Dzwon taniej na zagraniczne komorki! Sprawdz >> http://link.interia.pl/f1f6a
On Sat, 2008-11-08 at 02:27 +0100, vermaden wrote:> Hi, > > Currently there is possibility to set lowest speed of > cpu for scaling with cpufreq (debug.cpufreq.lowest), > it would be good to include also a option to set the > highest possible freq to use with cpufreq, some laptops > get too hot and/or consume too much power when running > on maximum power/speed of cpu.If temperature is the concern, you could override passive cooling threshold by putting something like hw.acpi.thermal.user_override=1 hw.acpi.thermal.tz1._PSV=75C into your /etc/sysctl.conf You will need to figure out which thermal zone you need to override _PSV for (in my case tz1) and what do you want to cap temperature at (in my case 75C) HTH, -- Alexandre "Sunny" Kovalenko (????????? ?????????)