From owner-freebsd-acpi@FreeBSD.ORG Wed May 23 12:09:33 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A861F16A468 for ; Wed, 23 May 2007 12:09:33 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from mh2.centtech.com (moat3.centtech.com [64.129.166.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7AA3813C46E for ; Wed, 23 May 2007 12:09:33 +0000 (UTC) (envelope-from anderson@freebsd.org) Received: from neutrino.centtech.com (neutrino.centtech.com [10.177.171.220]) by mh2.centtech.com (8.13.8/8.13.8) with ESMTP id l4NC9Vkw066399; Wed, 23 May 2007 07:09:31 -0500 (CDT) (envelope-from anderson@freebsd.org) Message-ID: <46542EF3.7030809@freebsd.org> Date: Wed, 23 May 2007 07:09:23 -0500 From: Eric Anderson User-Agent: Thunderbird 2.0.0.0 (X11/20070521) MIME-Version: 1.0 To: Nate Lawson References: <4630BCC4.10601@freebsd.org> <4637860D.8060603@freebsd.org> <46378F75.6020007@root.org> <4637944C.5000709@freebsd.org> <46379F42.3040700@freebsd.org> In-Reply-To: <46379F42.3040700@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.88.4/3285/Wed May 23 00:39:59 2007 on mh2.centtech.com X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.6 X-Spam-Checker-Version: SpamAssassin 3.1.6 (2006-10-03) on mh2.centtech.com Cc: freebsd-acpi@freebsd.org Subject: Re: CPU temp AC vs Battery 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, 23 May 2007 12:09:33 -0000 On 05/01/07 15:12, Eric Anderson wrote: > On 05/01/07 14:26, Eric Anderson wrote: >> On 05/01/07 14:05, Nate Lawson wrote: >>> Eric Anderson wrote: >>>> On 04/26/07 09:52, Eric Anderson wrote: >>>>> Hi everyone, >>>>> >>>>> I've just noticed something very odd. On my Dell D820 laptop, when >>>>> running off AC power from boot, by idle CPU temperature sits around 58C. >>>>> >>>>> If I unplug the power, and then plug it back in again, it will drop >>>>> down to around 49-50C within a minute or two. It will stay there. >>>>> With or without powerd running. >>>> Another note: >>>> >>>> If I boot up without the AC adapter plugged in, it still runs hot. Only >>>> the transition from AC -> battery seems to make a difference. >>>> >>>> Anyone with some ideas?? >>> Does the temp change at all or is it stuck at 58C? If stuck, maybe the >>> reading is incorrect and something in the AC line transition kicks the >>> EC back into operation. >> The temp does change, about 10C. > > > Hmm.. Seems also that my performance is reduced quite a bit. Doing some > rather lame CPU benchmarks (ubench -c -s), seems that I get a score of > around 200k on AC before unplugging, and about 104k after > unplugging/plugging back in. It definitely feels slower too.. > > I don't see any speed changes or anything obvious in sysctl output. > > >>> If it changes, then perhaps something is generating a lot of interrupts >>> (perhaps SMI or SCI irqs). More debug prints from the acpi-ca Notify >>> routine caller would help zero in. >>> >> Just add some printfs in there and recompile/reboot? Turns out that adding this to my /boot/loader.conf resolves it: cpufreq_load="YES" Eric