From owner-freebsd-questions@FreeBSD.ORG Tue May 22 16:35:25 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F1C0116A46B for ; Tue, 22 May 2007 16:35:25 +0000 (UTC) (envelope-from ghirai@ghirai.com) Received: from p28.ich-19.com (fa.ea.5646.static.theplanet.com [70.86.234.250]) by mx1.freebsd.org (Postfix) with ESMTP id C690C13C469 for ; Tue, 22 May 2007 16:35:25 +0000 (UTC) (envelope-from ghirai@ghirai.com) Received: from [89.122.159.160] (helo=Unknown-00-16-36-ae-62-05.lan) by p28.ich-19.com with esmtpa (Exim 4.63) (envelope-from ) id 1HqXKU-0006Og-Mz; Tue, 22 May 2007 11:35:23 -0500 Date: Tue, 22 May 2007 19:35:10 +0300 From: Ghirai X-Mailer: The Bat! (v3.99.3) Professional X-Priority: 3 (Normal) Message-ID: <1668991888.20070522193510@ghirai.com> To: Ian Smith , freebsd-questions@freebsd.org In-Reply-To: References: <20070521230318.3337C16A4A5@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - p28.ich-19.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ghirai.com Cc: Subject: Re[2]: notebook cpu throttling X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ghirai List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 16:35:26 -0000 Hello Ian, Tuesday, May 22, 2007, 5:08:19 PM, you wrote: > On Tue, 22 May 2007 00:56:08 +0300 Ghirai wrote: >> Hello Roland, >> >> Monday, May 21, 2007, 11:08:13 PM, you wrote: >> >> > On Mon, May 21, 2007 at 09:52:22PM +0300, Ghirai wrote: >> >> Hello list, >> >> >> >> I'm running 6.2-RELEASE, SMP, on a >> >> Fujitsu-Siemens Amilo Pro v3205 (Core Duo). >> >> >> >> Everything works fine, except the cpu throttling, >> >> which makes the fan start quite often. >> >> >> >> Is there any way to fix this? >> >> > You need to do three things (as root); >> >> > 1) Load the cpufreq module 'kldload cpufreq'. >> > 2) Put 'powerd_enable="YES"' in your /etc/rc.conf >> > 2) Start powerd: '/etc/rc.d/powerd start' >> >> > Roland >> >> Thanks for the hint. >> >> I did that, but now xorg constantly uses 20-30% CPU. >> >> CPUs were running cooler indeed, but everything ran jerky, >> because of the xorg cpu usage. >> >> Note that i haven't upgraded to 7.2 yet, >> but i don't think this is the problem. > This might not really indicate any problem. Firstly, what are your > # sysctl dev.cpu.0.freq_levels > Try watching the current cpu speed (dev.cpu.0.freq) while running under > powerd. You can watch it shift under various loads by running 'powerd > -v' in foreground, show it by running a script sleeping for eg a minute, > or use (say) gkrellm with gkfreq plugin to display cpu speed constantly. > Point being, if powerd has selected your lowest cpu frequency because > load is less than default (or as specified by -i and -r switches) and > this is (say) 1/4 of full speed, then something that normally showed 5% > cpu will now show as using 20% (of available cpu cycles at that speed) > You can tune your powerd idle levels more towards performance, and/or > you can set a higher minimum cpu freq with sysctl debug.cpufreq.lowest > from among your available levels. > powerd's default shiftpoints work on my T23, but it's only a 2-speed :) > Cheers, Ian I suspected this; xorg just reporting to use 20-30% cpu doesn't bother my, what bothers me is the fact that mouse cursor and everything moves jerky. I'll try to raise the min. freq., maybe powerd lowers it too much.. -- Best regards, Ghirai.