From owner-freebsd-acpi@FreeBSD.ORG Sun Jun 28 20:42:58 2009 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 CD6C910656DB for ; Sun, 28 Jun 2009 20:42:58 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from cmail.optima.ua (cmail.optima.ua [195.248.191.121]) by mx1.freebsd.org (Postfix) with ESMTP id 580878FC2C for ; Sun, 28 Jun 2009 20:42:57 +0000 (UTC) (envelope-from mav@FreeBSD.org) Received: from [212.86.226.226] (account mav@alkar.net HELO mavbook.mavhome.dp.ua) by cmail.optima.ua (CommuniGate Pro SMTP 5.2.9) with ESMTPSA id 247033848; Sun, 28 Jun 2009 23:42:55 +0300 Message-ID: <4A47D5C8.4090701@FreeBSD.org> Date: Sun, 28 Jun 2009 23:42:48 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.21 (X11/20090405) MIME-Version: 1.0 To: Kevin Oberman References: <20090628203245.B10F01CC2E@ptavv.es.net> In-Reply-To: <20090628203245.B10F01CC2E@ptavv.es.net> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: acpi/cpu scaling probs? Dell D820 FreeBSD current 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: Sun, 28 Jun 2009 20:42:59 -0000 Kevin Oberman wrote: >> Date: Sun, 28 Jun 2009 21:55:48 +0300 >> From: Alexander Motin >> Sender: owner-freebsd-acpi@freebsd.org >> >> Ron Freidel wrote: >>> I hope I am posting to the correct list... >>> >>> I have updated to FreeBSD current to try out acpi sleep, which works great >>> by the way, and the improvements to wifi and the addition of sleep are >>> enough to keep current on the laptop. >>> >>> Here's the problem, the cpu is maxed out, no scaling at all. >>> >>> Here's the output of powerd -v >>> >>> load 108%, current freq 2000 MHz ( 0), wanted freq 4000 MHz >>> load 109%, current freq 2000 MHz ( 0), wanted freq 4000 MHz >>> load 102%, current freq 2000 MHz ( 0), wanted freq 4000 MHz >>> load 124%, current freq 2000 MHz ( 0), wanted freq 4000 MHz >>> load 108%, current freq 2000 MHz ( 0), wanted freq 4000 MHz >>> >> ^^^ >> This is the reason. powerd sees that one of your CPUs is constantly >> busy. You should investigate why and what that CPU does. > > Agreed, but that still does not explain why it keeps trying to set the > clock to 4 GHz on a 2 GHz system. Not too surprising that it does not > work. :-) It is not a bug, but feature. It is specific of the "hiadaptive" mode. It means that CPU is too busy now and should not drop frequency immediately after load drops to not loose system interactivity and performance. -- Alexander Motin