Date: Mon, 21 Dec 2009 15:33:15 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: Michal Varga <varga.michal@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: Systems running hot? Message-ID: <4B2F791B.4060804@icyb.net.ua> In-Reply-To: <3f1fd1ea0912192339ob8bc80dx5b5f8ba0c6d6dad7@mail.gmail.com> References: <20091220063318.49A8C1CC0B@ptavv.es.net> <4B2DCC83.1000402@FreeBSD.org> <3f1fd1ea0912192339ob8bc80dx5b5f8ba0c6d6dad7@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@.
Perhaps I'd be able to do MFC to stable/7.
--
Andriy Gapon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B2F791B.4060804>
