From owner-freebsd-current@FreeBSD.ORG Tue Sep 23 08:04:38 2008 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 25ED7106567B for ; Tue, 23 Sep 2008 08:04:38 +0000 (UTC) (envelope-from bsd@fluffles.net) Received: from mail.fluffles.net (fluffles.net [80.69.95.190]) by mx1.freebsd.org (Postfix) with ESMTP id DE4428FC17 for ; Tue, 23 Sep 2008 08:04:37 +0000 (UTC) (envelope-from bsd@fluffles.net) Received: from [10.10.0.2] (cust.95.160.adsl.cistron.nl [195.64.95.160]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: info@fluffles.net) by mail.fluffles.net (Postfix) with ESMTP id 397C2B29D66; Tue, 23 Sep 2008 10:05:28 +0200 (CEST) Message-ID: <48D8A3A7.5090207@fluffles.net> Date: Tue, 23 Sep 2008 10:07:03 +0200 From: "fluffles.net" User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: FreeBSD Current References: <200809070036.m870a3NC001532@softbank219001162114.bbtec.net> <48D72F0E.7040501@fluffles.net> <200809222333.m8MNXiuS064364@softbank219001162114.bbtec.net> <48D85FC0.5050807@fluffles.net> <200809230623.m8N6N5rV002035@softbank219001162114.bbtec.net> In-Reply-To: <200809230623.m8N6N5rV002035@softbank219001162114.bbtec.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "G .Otsuji" Subject: Re: AMD Family 10h cpufreq driver 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: Tue, 23 Sep 2008 08:04:38 -0000 G .Otsuji wrote: > Hi Veronica, > I 've tested in amd64 environment. But ... > Here's a temprorary patch, > Hey, funny i tried the exact same thing ;-) Only with string 9350 instead of 9350e, i guess both should work. Now when loading cpufreq.ko driver, i get 4 lines of Cool'N'Quiet 2.0. I can change the dev.cpu.0.freq sysctl variable and that appears to work. =) when loading powerd, however, it does not change the frequency when there is 100% load on one core (so total idle cpu time is 75% since i have a quadcore). Manually changing the frequency works though, very cool! Here are some idle power measurements i took: cpu: Phenom 9350e quadcore 4x 2.0GHz (energy efficient 65W version, not black edition) mem: 1GB DDR2/666 CL5 (1 DIMM) mobo: Asus M3N72-D Socket AM2+ with nVidia 750a SLI chipset. hdd: 2,5" 40GB Hitachi notebook HDD on Parallel ATA (udma33) power supply: Huntkey Greenstar 400W measurement: average real power drain at wall socket, tested with Voltcraft Energycheck 3000 @2000: 88.4W @1200: 75.0W @1000: 68.5W @800: 65.0 @600: 60.7W @400: 58.0W So in total i shave off 30.4W when idling using cool'n'quiet!! This is very very cool. =) Another power supply (Amacrox 400W Passive) gets some 3-6W lower scores. The only thing missing now is auto-adapting of the frequency by powerd. I do see powerd active in top, but it appears not to change the frequency. Anything i can do to fix that? Aside from that issue, i would say your driver works for me. Congratulations! Regards, Veronica