From owner-freebsd-acpi@FreeBSD.ORG Fri Aug 13 17:15:31 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A11C016A4CE; Fri, 13 Aug 2004 17:15:31 +0000 (GMT) Received: from www.cryptography.com (li-22.members.linode.com [64.5.53.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7381243D1D; Fri, 13 Aug 2004 17:15:31 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-127-84-57.dsl.snfc21.pacbell.net [67.127.84.57]) by www.cryptography.com (8.12.8/8.12.8) with ESMTP id i7DHFM8U030086; Fri, 13 Aug 2004 10:15:23 -0700 Message-ID: <411CF729.5010101@root.org> Date: Fri, 13 Aug 2004 10:15:21 -0700 From: Nate Lawson User-Agent: Mozilla Thunderbird 0.7 (X11/20040702) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kevin Oberman References: <20040813155203.3B45F5D04@ptavv.es.net> In-Reply-To: <20040813155203.3B45F5D04@ptavv.es.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: acpi@freebsd.org cc: current@freebsd.org Subject: Re: HEADSUP: acpi mpsafe committed X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2004 17:15:31 -0000 Kevin Oberman wrote: >>Date: Thu, 12 Aug 2004 23:35:48 -0700 >>From: Nate Lawson >>Sender: owner-freebsd-acpi@freebsd.org >> >>Let me know if there are any problems. >> >>Thanks for testing: Rong-En Fan , Kevin Oberman >>, marcel. >> >>(And now the same to you! :) > > > Why do I see things right AFTER the commit? (O.K. I actually saw them > late last night, but was too tired to do any testing and am still in the > process of building kernels to do some real testing.) > > Since I installed a kernel/modules with the mpsafe patches I have found > that P4_TCC and throttling no longer work. They worked with an unpatched > kernel/modules built on Wednesday and failed with the patched > kernel/modules I am now running. I have not updated the sources between > the two kernel builds, so I think it has to be the patches. > > Now the admission of not knowing what I am doing. The P4 TCC stuff > appears to be very similar to the ACPI throttling capability. I suspect > that the latter simply controls the former, but I really don't know. > > I guess that I really should have removed it when I was able to use ACPI > throttling, but I never removed it and it continued to work until last > night. When I went to battery, hw.p4tcc.cpuperf remained at 100 instead > of dropping to hw.p4tcc.cpuperf_economy. Similarly, > hw.acpi.cpu.thottle_state remains at 8 and hw.acpi.cw_lowest is at C1 > instead of C2 or C3. economy_throttle_state is set to 4 and > economy_cx_lowest is at default (LOW). > > Really takes down the old battery quickly! Ah, I think I see it too. It looks like the power profile change on AC line switch is not working. I'll look into this. For the time being, you can manually set your values low by doing: sysctl hw.acpi.cpu.cx_lowest="C3" sysctl hw.p4tcc.cpuperf="xxx" TCC and throttling are unrelated in this respect, other than they both use the power profile stuff. -Nate