From owner-freebsd-current@FreeBSD.ORG Sun Dec 20 08:04:21 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 7F7AB106566B for ; Sun, 20 Dec 2009 08:04:21 +0000 (UTC) (envelope-from varga.michal@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1630F8FC08 for ; Sun, 20 Dec 2009 08:04:20 +0000 (UTC) Received: by fxm27 with SMTP id 27so3944556fxm.3 for ; Sun, 20 Dec 2009 00:04:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=YAbH8iyQOMV3tgomjhKaUSGK3sPdGjPkius73qPhznM=; b=jMzQEM1zN407hchnxgV3nnypyC8Cbud+zNE+f/tsd62Q4phTTaxvEKNyqfqntGjluJ 50fxLY8RxXciLPMJQIjcetNZpVUjCGbEBiI4wzZUGYhpkXsw2sXA1CY9JRncUl31+pnh W/co8LN4X2sWiC6qWDheeYlC3b7nP7B/8nykU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DWF8oyk49wJwt+aJuEJ3icDhQz1n8/hV7zLdZTdMZVnNCGRTwBq9/aE+gWYLSuUFQb gT+9DEc2SdWKvhTdCjpv19MJgH/wu7zE8DlxydBIrsiXJ/3ep0ZVxv1jZDRfht6UsJDk nPPTTVeYnyHFdvdH5uBTBykfK1BfaBrH6gQCw= MIME-Version: 1.0 Received: by 10.223.4.144 with SMTP id 16mr3704964far.36.1261294794329; Sat, 19 Dec 2009 23:39:54 -0800 (PST) In-Reply-To: <4B2DCC83.1000402@FreeBSD.org> References: <20091220063318.49A8C1CC0B@ptavv.es.net> <4B2DCC83.1000402@FreeBSD.org> Date: Sun, 20 Dec 2009 08:39:54 +0100 Message-ID: <3f1fd1ea0912192339ob8bc80dx5b5f8ba0c6d6dad7@mail.gmail.com> From: Michal Varga To: freebsd-current@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Sun, 20 Dec 2009 08:04:21 -0000 Sorry to hijack the thread, but I'm curious - is anybody running powerd/throttling on a Phenom-based CPU? I see cpufreq attaching normally on /AMD Athlon(tm) 64 X2 Dual Core Processor 3600+ (2004.56-MHz 686-class CPU)/: # kldload -v cpufreq Loaded cpufreq, id=25 powernow0: on cpu0 powernow1: on cpu1 # /etc/rc.d/powerd start Starting powerd. 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"); >From AMD X2: # 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.freq: 995 dev.cpu.0.freq_levels: 1990/65000 1791/53913 995/25168 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: 39.0C >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? m.