kern/140361: [cpufreq] speed-stepping broken on PhenomII (acpi?)
Hannes
freebsd at soulrebel.in-berlin.de
Thu Mar 25 13:20:09 UTC 2010
The following reply was made to PR kern/140361; it has been noted by GNATS.
From: Hannes <freebsd at soulrebel.in-berlin.de>
To: bug-followup at freebsd.org
Cc: Alexander Best <alexbestms at wwu.de>, brucec at freebsd.org
Subject: Re: kern/140361: [cpufreq] speed-stepping broken on PhenomII (acpi?)
Date: Thu, 25 Mar 2010 13:12:59 +0000
Thanks for your replies!
> i don't think you're looking at the right sysctl values. you should
> be checking `sysctl dev.cpu.0.freq dev.cpu.0.freq_levels`.
>
I checked those, they looked fine, so i didnt mention it:
dev.cpu.0.freq: 3000
dev.cpu.0.freq_levels: 3000/23530 2300/17400 1800/14520 800/7315
(freq just never goes down [unlike my intel laptop])
> 'dev.cpu.0.freq_levels' tells you what steppings are available and
> 'dev.cpu.0.freq' which current stepping your cpu is using.
They look right, or not?
> also be
> sure you're running powerd (`/etc/rc.d/powerd onestart`).
hannes at fbsdmain /c/h/hannes> ps ax | grep powerd
925 ?? Ss 0:05,09 /usr/sbin/powerd -a adaptive -i adaptive
> i'm not an expert on est though. `dmesg -a|egrep '^est[0-9]*'`
> reports:
>
> est0: <Enhanced SpeedStep Frequency Control> on cpu0
> est: CPU supports Enhanced Speedstep, but is not recognized.
> est: cpu_vendor GenuineIntel, msr 925092506000925
> est1: <Enhanced SpeedStep Frequency Control> on cpu1
> est: CPU supports Enhanced Speedstep, but is not recognized.
> est: cpu_vendor GenuineIntel, msr 925092506000925
>
> on my machine so i'm not sure how much powersaving is really being
> performed. your cpu might report the same.
fbsdmain# dmesg -a | egrep '^est[0-9]*'
fbsdmain#
Hm, whats this? Never saw it before, and it isnt mentioned in the
freebsd-wiki and has no man-page, also i can't load it as module and
dont have it built-in. Are you on current maybe?
Concerning bruce's input:
hannes at fbsdmain /c/h/hannes> sysctl dev.cpu | grep cx
dev.cpu.0.cx_supported: C1/0
dev.cpu.0.cx_lowest: C1
dev.cpu.0.cx_usage: 100.00% last 500us
dev.cpu.1.cx_supported: C1/0
dev.cpu.1.cx_lowest: C1
dev.cpu.1.cx_usage: 100.00% last 500us
dev.cpu.2.cx_supported: C1/0
dev.cpu.2.cx_lowest: C1
dev.cpu.2.cx_usage: 100.00% last 500us
dev.cpu.3.cx_supported: C1/0
dev.cpu.3.cx_lowest: C1
dev.cpu.3.cx_usage: 100.00% last 500us
-> FreeBSD doesnt recognize any other states. Thats probably the issue,
or not?
> anyway it's probably better to send a message to stable at .
So this is not a Bug?
Thanks for your help!
More information about the freebsd-bugs
mailing list