From owner-freebsd-current@FreeBSD.ORG Mon Dec 21 13:33:19 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C56961065670 for ; Mon, 21 Dec 2009 13:33:19 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 170AB8FC13 for ; Mon, 21 Dec 2009 13:33:18 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA15131; Mon, 21 Dec 2009 15:33:16 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <4B2F791B.4060804@icyb.net.ua> Date: Mon, 21 Dec 2009 15:33:15 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.23 (X11/20091206) MIME-Version: 1.0 To: Michal Varga References: <20091220063318.49A8C1CC0B@ptavv.es.net> <4B2DCC83.1000402@FreeBSD.org> <3f1fd1ea0912192339ob8bc80dx5b5f8ba0c6d6dad7@mail.gmail.com> In-Reply-To: <3f1fd1ea0912192339ob8bc80dx5b5f8ba0c6d6dad7@mail.gmail.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Systems running hot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Dec 2009 13:33:19 -0000 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: 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