From owner-freebsd-bugs@FreeBSD.ORG Sat Mar 15 16:20:04 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54030106564A for ; Sat, 15 Mar 2008 16:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 50A548FC12 for ; Sat, 15 Mar 2008 16:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2FGK3P6050429 for ; Sat, 15 Mar 2008 16:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2FGK31S050427; Sat, 15 Mar 2008 16:20:03 GMT (envelope-from gnats) Date: Sat, 15 Mar 2008 16:20:03 GMT Message-Id: <200803151620.m2FGK31S050427@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Nate Eldredge Cc: Subject: Re: bin/120490: powerd should let me specify desired frequencies X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nate Eldredge List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Mar 2008 16:20:04 -0000 The following reply was made to PR bin/120490; it has been noted by GNATS. From: Nate Eldredge To: Kris Kennaway Cc: Nate Eldredge , 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: > Nate Eldredge wrote: > >> 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. > > Just disable the services that are providing the alternate frequencies. > Probably acpi_throttle. 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