From owner-freebsd-current@FreeBSD.ORG Tue Mar 13 20:22:07 2012 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 D78D51065672; Tue, 13 Mar 2012 20:22:07 +0000 (UTC) (envelope-from john@theusgroup.com) Received: from theusgroup.com (theusgroup.com [64.122.243.222]) by mx1.freebsd.org (Postfix) with ESMTP id BF1C88FC1F; Tue, 13 Mar 2012 20:22:07 +0000 (UTC) To: Ian Lepore In-reply-to: <1331648560.86770.13.camel@revolution.hippie.lan> References: <4F5E4B57.1050605@FreeBSD.org> <1331585159.1084.3.camel@revolution.hippie.lan> <4F5E61FA.5080306@FreeBSD.org> <1331648560.86770.13.camel@revolution.hippie.lan> Comments: In-reply-to Ian Lepore message dated "Tue, 13 Mar 2012 08:22:40 -0600." Date: Tue, 13 Mar 2012 13:22:01 -0700 From: John Message-Id: <20120313202201.0DCE939F@server.theusgroup.com> X-Mailman-Approved-At: Tue, 13 Mar 2012 20:31:10 +0000 Cc: Alexander Motin , FreeBSD current Subject: Re: Improved Intel Turbo Boost status/control 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, 13 Mar 2012 20:22:07 -0000 >I found that setting performance_cpu_freq="HIGH" doesn't work on my >desktop system, I guess because devd never gets any AC adapter events >that trigger running the power_profile script. I enabled it manually by >adding these lines to my /etc/sysctl.conf: > > hw.acpi.cpu.cx_lowest=C2 > dev.cpu.0.freq=3334 > >It would be nice to come up with a way to automatically enable this for >desktop users. If not fully automatic, hopefully require no more than a >simple =YES knob in rc.conf. I applied the patch to 2 desktop machines and added performance_cpu_freq="HIGH" to rc.conf: 8.3-PRERELEASE #3 r232864M: Mon Mar 12 16:11:47 PDT 2012 dev.cpu.0.freq: 2927 dev.cpu.0.freq_levels: 2927/95000 2926/95000 2793/78000 2660/70000 ... 9.0-STABLE FreeBSD 9.0-STABLE #0 r232923M: Tue Mar 13 10:06:33 PDT 2012 dev.cpu.0.freq: 3301 dev.cpu.0.freq_levels: 3301/95000 3300/95000 3100/87000 2900/80000 ... so it appears to be working for me automatically. John Theus TheUs Group TheUsGroup.com