From owner-freebsd-acpi@FreeBSD.ORG Mon Sep 5 18:33:13 2005 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4290116A41F for ; Mon, 5 Sep 2005 18:33:13 +0000 (GMT) (envelope-from my_haz_runs@yahoo.com) Received: from web50615.mail.yahoo.com (web50615.mail.yahoo.com [206.190.39.115]) by mx1.FreeBSD.org (Postfix) with SMTP id C3E1543D45 for ; Mon, 5 Sep 2005 18:33:12 +0000 (GMT) (envelope-from my_haz_runs@yahoo.com) Received: (qmail 87663 invoked by uid 60001); 5 Sep 2005 18:33:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=A9ZCFfyhbiyil7Ik7W6iyUTMoqozQr1sgZPsukcFn3ftjq8HDMQzea/4ka3wzn2N6MUJbtXP/fFqo/5E2EaTwxFg2wKkYCgckuZ/lQ3NcokbdY6FAzrpIUQxr0YYv6DliVTeKxFNGSpJq/E3ycC1dgNodzOyB2VjcQiHA60Wc4I= ; Message-ID: <20050905183312.87661.qmail@web50615.mail.yahoo.com> Received: from [213.113.80.248] by web50615.mail.yahoo.com via HTTP; Mon, 05 Sep 2005 11:33:11 PDT Date: Mon, 5 Sep 2005 11:33:11 -0700 (PDT) From: haz hands To: freebsd-acpi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Q: CPU Throttle 5.4-RELEASE X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2005 18:33:13 -0000 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: on acpi0 acpi_throttle0: 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