From nobody@FreeBSD.org  Sun Feb 10 05:39:27 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 7A92316A417
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Feb 2008 05:39:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 647D713C459
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Feb 2008 05:39:27 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m1A5bHDL019074
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 10 Feb 2008 05:37:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m1A5bGK6019073;
	Sun, 10 Feb 2008 05:37:16 GMT
	(envelope-from nobody)
Message-Id: <200802100537.m1A5bGK6019073@www.freebsd.org>
Date: Sun, 10 Feb 2008 05:37:16 GMT
From: Nate Eldredge <neldredge@ucsd.edu>
To: freebsd-gnats-submit@FreeBSD.org
Subject: powerd should let me specify desired frequencies
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120490
>Category:       bin
>Synopsis:       [request] powerd(8) should let me specify desired frequencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 10 05:40:02 UTC 2008
>Closed-Date:    Sun Mar 16 18:59:39 UTC 2008
>Last-Modified:  Sun Mar 16 18:59:39 UTC 2008
>Originator:     Nate Eldredge
>Release:        6.2-RELEASE-p8
>Organization:
>Environment:
FreeBSD vulcan.lan 6.2-RELEASE-p8 FreeBSD 6.2-RELEASE-p8 #24: Thu Nov 29 09:52:48 PST 2007     nate@vulcan.lan:/usr/obj/usr/src/sys/VULCAN  amd64
>Description:
powerd(8) in adaptive mode adjusts the CPU frequency based on the list
from dev.cpu.0.freq_levels, it gradually moves through all available
frequencies.  However, in my case this is not desirable; only two of the
available frequencies are actually useful.  The CPU's full speed is 1800
MHz; powernow also has a 1000 MHz setting that saves about 20W.  But
there are a bunch of other frequencies that apparently come from ACPI.

They do slow down the CPU, but based on my tests the machine's power
consumption does not actually change, so there is not much point in
using them.  Furthermore, the ACPI frequencies include some really low
ones (250MHz or so) which crash the machine if selected.  So I really
just want powerd to switch between 1800 and 1000.

It would be useful for powerd to have an option to manually specify a
list of desired frequencies.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: kris 
State-Changed-When: Sun Feb 17 12:02:38 UTC 2008 
State-Changed-Why:  
Workaround provided. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120490 

From: Kris Kennaway <kris@FreeBSD.org>
To: Nate Eldredge <neldredge@ucsd.edu>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/120490: powerd should let me specify desired frequencies
Date: Sun, 17 Feb 2008 13:02:21 +0100

 Just disable the services that are providing the alternate frequencies. 
   Probably acpi_throttle.
 
 Kris
 

From: Nate Eldredge <neldredge@math.ucsd.edu>
To: Kris Kennaway <kris@FreeBSD.org>
Cc: Nate Eldredge <neldredge@ucsd.edu>, freebsd-gnats-submit@FreeBSD.org
Subject: Re: bin/120490: powerd should let me specify desired frequencies
Date: Sat, 15 Mar 2008 08:52:55 -0700 (PDT)

 On Sun, 17 Feb 2008, Kris Kennaway wrote:
 
 Just to follow up: that worked.  I put hint.acpi_throttle.0.disabled="1" 
 in /boot/device.hints.  Thanks!
 
 -- 
 
 Nate Eldredge
 neldredge@math.ucsd.edu

From: linimon@lonesome.com (Mark Linimon)
To: Nate Eldredge <neldredge@math.ucsd.edu>
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/120490: powerd should let me specify desired frequencies
Date: Sun, 16 Mar 2008 02:29:13 -0500

 So does that mean that this PR can be closed?
 
 mcl

From: Nate Eldredge <neldredge@math.ucsd.edu>
To: Mark Linimon <linimon@lonesome.com>
Cc: bug-followup@FreeBSD.org
Subject: Re: bin/120490: powerd should let me specify desired frequencies
Date: Sun, 16 Mar 2008 08:58:35 -0700 (PDT)

 On Sun, 16 Mar 2008, Mark Linimon wrote:
 
 > So does that mean that this PR can be closed?
 
 Yes, I suppose so.
 
 -- 
 
 Nate Eldredge
 neldredge@math.ucsd.edu
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Sun Mar 16 18:59:11 UTC 2008 
State-Changed-Why:  
There's a hint that can be set to accomplish something similar. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120490 
>Unformatted:
