From owner-freebsd-acpi@FreeBSD.ORG Wed Aug 13 16:02:02 2008 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEB811065673 for ; Wed, 13 Aug 2008 16:02:02 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id 8B4888FC0C for ; Wed, 13 Aug 2008 16:02:01 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so30167nfh.33 for ; Wed, 13 Aug 2008 09:02:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent:sender; bh=Hkiu99q3FxyRrjNfSD7r7OXk9P/KNm0vp0h/4fqwEf0=; b=QXQ/FfAbE/jHKGM2LH7RN+uoQIZuq5TvpFhTQxwHmz16Z4cuaWLltKrL+Y/ZMOt2cW boYzutH9pZtcvff0a4rkqTze8vvQN1mV4NPbFav7wcdaZyOkXPo+5hXnQBxKBRKvwYcH 5waKdMs0xcFeaEcDmxJSmfdPHPY/yG9WsENgM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent:sender; b=CVN9aPExFN4je3fhiX9usDvs+t1TyaiNHOvSGo9z2N6o1Ok1/T++QzdCNiro4z1Vvy fXDspe80ago0bMKfArK/XFDlakWY47UMYS+DmDQzTV6ijhbBIBe4waVcyO3xDILfxqW2 7QcMoMUJoCOwaEOZZk/RE0APTIb4kR/WUEy4s= Received: by 10.210.21.6 with SMTP id 6mr12035465ebu.153.1218641684973; Wed, 13 Aug 2008 08:34:44 -0700 (PDT) Received: from epsilon.local ( [89.214.74.64]) by mx.google.com with ESMTPS id g11sm653638gve.8.2008.08.13.08.34.41 (version=SSLv3 cipher=RC4-MD5); Wed, 13 Aug 2008 08:34:44 -0700 (PDT) Date: Wed, 13 Aug 2008 16:34:37 +0100 From: Rui Paulo To: Boris Kochergin Message-ID: <20080813153437.GA718@epsilon.local> References: <48A2EE7E.6050703@acm.poly.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48A2EE7E.6050703@acm.poly.edu> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: Rui Paulo Cc: freebsd-acpi@freebsd.org Subject: Re: Patches to add minimum and maximum frequencies to powerd(8) X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Aug 2008 16:02:03 -0000 On Wed, Aug 13, 2008 at 10:23:58AM -0400, Boris Kochergin wrote: > Hi, list. A friend asked me if it was possible to tell powerd(8) not to > throttle lower than a certain frequency, so I hacked something up, then > thought I'd try my hand at a more proper implementation of minimum and > maximum frequency specifications, as I recall similar requests on other > lists. > > For interested parties, the patches can be found at > http://acm.poly.edu/~spawk/powerd/ and are against RELENG_7_0 sources, but > the changes should be the same for -CURRENT. Comments are welcome. See the cpufreq(4) man page: debug.cpufreq.lowest Lowest CPU frequency in MHz to offer to users. This setting is also accessible via a tunable with the same name. This can be used to disable very low levels that may be unusable on some sys- tems. I think this is what you want. Regards, -- Rui Paulo