From owner-freebsd-stable@FreeBSD.ORG Tue Nov 11 02:03:20 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C0101065670 for ; Tue, 11 Nov 2008 02:03:20 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id C0AF88FC21 for ; Tue, 11 Nov 2008 02:03:19 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so1784038qwb.7 for ; Mon, 10 Nov 2008 18:03:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=6Ky9ue5PcT0rVAOu+SeNOxISv5DbVrbsTpGWbTSs80E=; b=dTLrHxqLr2Rl+9gWxJJqCu7odMVwiXn+ZdDXOenKBwy0PPCh7nrd985ac3yUZBzWzK u3ia4fBMcwECULPEZUJdBPMrcFtA0+mgjzEwdUZcsNK1VNxITJFHoLTB5Y1/xo0ESH2a C9rHeTTCGL2WzL7p9OAFgAnWIAYdcyguC0/uE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=b2JJj1juXSz9BW9ntd2ZH5gativcTa77Gl6R0YckhV1Xo1iK7iuJd0NbHDxRENwP3d KXZabwdUIeCoHsjGMazv6Mw2J/xJU/hIVxPTNNeQ8dFeaw0xuWNeCpFnduw7cf4x3Udk G0fznkV5HF3s5/Ly4m6NJINZSVF+fticJe37w= Received: by 10.214.148.17 with SMTP id v17mr7609634qad.257.1226368998906; Mon, 10 Nov 2008 18:03:18 -0800 (PST) Received: from ?10.0.3.231? (pool-70-111-21-88.nwrk.east.verizon.net [70.111.21.88]) by mx.google.com with ESMTPS id 34sm19691046yxl.8.2008.11.10.18.03.16 (version=SSLv3 cipher=RC4-MD5); Mon, 10 Nov 2008 18:03:18 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: vermaden In-Reply-To: <20081108012734.3274F1E3055@f03.poczta.interia.pl> References: <20081108012734.3274F1E3055@f03.poczta.interia.pl> Content-Type: text/plain; charset=utf-8 Date: Mon, 10 Nov 2008 21:03:08 -0500 Message-Id: <1226368988.1244.3.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: sysctl debug.cpufreq.highest X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2008 02:03:20 -0000 On Sat, 2008-11-08 at 02:27 +0100, vermaden wrote: > Hi, > > Currently there is possibility to set lowest speed of > cpu for scaling with cpufreq (debug.cpufreq.lowest), > it would be good to include also a option to set the > highest possible freq to use with cpufreq, some laptops > get too hot and/or consume too much power when running > on maximum power/speed of cpu. If temperature is the concern, you could override passive cooling threshold by putting something like hw.acpi.thermal.user_override=1 hw.acpi.thermal.tz1._PSV=75C into your /etc/sysctl.conf You will need to figure out which thermal zone you need to override _PSV for (in my case tz1) and what do you want to cap temperature at (in my case 75C) HTH, -- Alexandre "Sunny" Kovalenko (Олександр Коваленко)