From owner-freebsd-bugs@FreeBSD.ORG Thu Mar 25 13:20:09 2010 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D88BD106566C for ; Thu, 25 Mar 2010 13:20:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AD0A88FC18 for ; Thu, 25 Mar 2010 13:20:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o2PDK97O052783 for ; Thu, 25 Mar 2010 13:20:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o2PDK9ro052780; Thu, 25 Mar 2010 13:20:09 GMT (envelope-from gnats) Date: Thu, 25 Mar 2010 13:20:09 GMT Message-Id: <201003251320.o2PDK9ro052780@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Hannes Cc: Subject: Re: kern/140361: [cpufreq] speed-stepping broken on PhenomII (acpi?) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hannes List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Mar 2010 13:20:09 -0000 The following reply was made to PR kern/140361; it has been noted by GNATS. From: Hannes To: bug-followup@freebsd.org Cc: Alexander Best , brucec@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@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: on cpu0 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 925092506000925 > est1: 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@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@. So this is not a Bug? Thanks for your help!