Re: Systems running hot?

From: Andriy Gapon <avg_at_icyb.net.ua>
Date: Mon, 21 Dec 2009 15:33:15 +0200
on 20/12/2009 09:39 Michal Varga said the following:
> But not so on much newer /AMD Phenom(tm) 8450 Triple-Core Processor
> (2109.74-MHz 686-class CPU)/:
> 
> # kldload -v cpufreq
> Loaded cpufreq, id=23
> 
> # /etc/rc.d/powerd start
> Starting powerd.
> powerd: lookup freq: No such file or directory
> 
> 
> Cue in src/usr.sbin/powerd/powerd.c:
>         if (sysctlnametomib("dev.cpu.0.freq", freq_mib, &len))
>                 err(1, "lookup freq");
> 
[snip]
> 
>>From the offending Phenom:
> # sysctl dev.cpu.0.
> dev.cpu.0.%desc: ACPI CPU
> dev.cpu.0.%driver: cpu
> dev.cpu.0.%location: handle=\_PR_.C000
> dev.cpu.0.%pnpinfo: _HID=none _UID=0
> dev.cpu.0.%parent: acpi0
> dev.cpu.0.cx_supported: C1/0
> dev.cpu.0.cx_lowest: C1
> dev.cpu.0.cx_usage: 100.00% last 500us
> dev.cpu.0.temperature: 27.5C
> 
> This is from latest 7.2. Were there any changes in 8/9-CURRENT to
> bring some love to Phenoms too?

No such problems here:
CPU: AMD Athlon(tm) II X2 250 Processor (3013.74-MHz K8-class CPU)
...
hwpstate0: <Cool`n'Quiet 2.0> on cpu0

dev.cpu.0.freq: 1800
dev.cpu.0.freq_levels: 3000/30375 2300/25500 1800/21735 800/7900
dev.cpu.0.temperature: 37.0C

It seems that hwpstate, which adds support for 10h and 11h AMD families, was never
MFC-ed by mr_at_.
Perhaps I'd be able to do MFC to stable/7.

-- 
Andriy Gapon
Received on Mon Dec 21 2009 - 12:33:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:59 UTC