On Tuesday 22 August 2006 06:08, Torfinn Ingolfsen wrote: > Hello, > > What ids the current way to control cpu speed (and power consumption) > in FreeBSD 6-stable? > Before, est was one way, but all traces of est has disappeared > from /etc/defaults/rc.conf and thereabouts. > I find something about powerd and power_profile, but they don't seem to > work, and I can't seem to find out what variables / configuration items > to set. 'man cpufreq' isn't much help in that regard either.
Loading cpufreq should give you sysctl's which control CPU frequency. powerd uses these to adjust frequency based on load. I have this in rc.conf powerd_enable="YES" powerd_flags="-i 70 -r 30 -a adaptive -b adaptive -n adaptive -p 200" And in dmesg.. cpu0: <ACPI CPU> on acpi0 est0: <Enhanced SpeedStep Frequency Control> on cpu0 p4tcc0: <CPU Frequency Thermal Control> on cpu0 And sysctl.. dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU0 dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 1225 dev.cpu.0.freq_levels: 1400/-1 1225/-1 1200/-1 1050/-1 1000/-1 875/-1 800/-1 700/-1 600/-1 525/-1 450/-1 375/-1 300/-1 225/-1 150/-1 75/-1 (This is a Pentium-M 1.4Ghz) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgpLlAb1SD7pe.pgp
Description: PGP signature