Date: Mon, 5 Sep 2005 11:33:11 -0700 (PDT) From: haz hands <my_haz_runs@yahoo.com> To: freebsd-acpi@freebsd.org Subject: Q: CPU Throttle 5.4-RELEASE Message-ID: <20050905183312.87661.qmail@web50615.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
I just installed R5.4 from R5.3 and have yet to figure out if and how i can change the CPU throttle. I need to do this as my cpu fan is bad and the cpu will overheat under heavy load (i.e compiling a big program or playing gnuchess). Before i had a script that would throttle down the CPU if the temprature got above 75C without this guard the CPU comes very close to over heating ~85C. I know that there is passive cool down (basically doing what I like to do manually but at higher tempratures and with less controle) hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 46.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 89.5C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 93.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 Additionally [0] cyh:~/ $ uname -a FreeBSD cyh-fbsd-box 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Sat Sep 3 16:58:10 CEST 2005 cyh@.bredbandsbolaget.se:/usr/obj/usr/src/sys/GENERIC i386 [0] cyh:~/ $ dmesg| grep cpu cpu0: <ACPI CPU (3 Cx states)> on acpi0 acpi_throttle0: <ACPI CPU Throttling> on cpu0 [0] cyh:~/ $ sysctl -a | grep cpu kern.threads.virtual_cpu: 1 kern.ccpu: 1948 kern.smp.maxcpus: 1 kern.smp.cpus: 1 hw.ncpu: 1 hw.acpi.cpu.cx_supported: C1/1 C2/1 C3/85 hw.acpi.cpu.cx_lowest: C1 hw.acpi.cpu.cx_usage: 100.00% 0.00% 0.00% machdep.cpu_idle_hlt: 1 dev.cpu.0.%desc: ACPI CPU (3 Cx states) dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=\_PR_.CPU_ dev.cpu.0.%pnpinfo: _HID=none _UID=0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 1601 dev.cpu.0.freq_levels: 1601/-1 1400/-1 1200/-1 1000/-1 800/-1 600/-1 400/-1 200/-1 dev.acpi_throttle.0.%parent: cpu0 dev.cpufreq.0.%driver: cpufreq dev.cpufreq.0.%parent: cpu0 [0] cyh:~/ $ Now in R5.3 I could just use the very straight forward hw.acpi.cpu.throttle_state and change that as i cheked the temprature when needed. Cheers - Haz __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050905183312.87661.qmail>