From owner-freebsd-questions@FreeBSD.ORG Mon Jan 21 15:34:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68A4A16A417 for ; Mon, 21 Jan 2008 15:34:53 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: from smtpgate1.pacific.net.sg (smtpgate1.pacific.net.sg [203.120.90.31]) by mx1.freebsd.org (Postfix) with SMTP id 8C2BA13C447 for ; Mon, 21 Jan 2008 15:34:52 +0000 (UTC) (envelope-from oceanare@pacific.net.sg) Received: (qmail 18460 invoked from network); 21 Jan 2008 15:34:50 -0000 Received: from adsl181.dyn229.pacific.net.sg (HELO P2120.somewherefaraway.com) (oceanare@210.24.229.181) by smtpgate1.pacific.net.sg with ESMTPA; 21 Jan 2008 15:34:49 -0000 Message-ID: <4794BB91.7070106@pacific.net.sg> Date: Mon, 21 Jan 2008 23:34:41 +0800 From: Erich Dollansky User-Agent: Thunderbird 2.0.0.6 (X11/20070826) MIME-Version: 1.0 To: Andreas Davour References: <20080121094451.N1777@wojtek.tensor.gdynia.pl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Wojciech Puchar , freebsd-questions@freebsd.org Subject: Re: Throttle the CPU when the system is idle X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jan 2008 15:34:53 -0000 Hi, Andreas Davour wrote: > On Mon, 21 Jan 2008, Wojciech Puchar wrote: > >>> >>> I have toyed a bit with the dev.cpu.0.freq sysctl setting, and tried >>> to lower it automatically when the system load goes down. For some >>> reason it don't seem to work, even though the script works for simple >>> debug output. >>> >>> Anyone have tried to do something similar? >> >> no but anyway - freebsd halts CPU when unused, even at full frequency >> it uses very little power wne unused. > > Really? Good to know. I was wondering if I could make this laptop of > mine a bit cooler, but then I guess not. I also believe that the CPU is actually halted when idle but using powerd brings the temperatures on my machine still down. As powerd can be adjusted in which interval it adjusts the CPU frequency, short tasks run actually at the minimum frequency if the CPU was idle. The negative side effect is, that a click takes some time before the machine really starts to react if the expected action results in more computing. Erich