From owner-freebsd-stable@FreeBSD.ORG Thu Jan 12 13:40:30 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79CD216A41F for ; Thu, 12 Jan 2006 13:40:30 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBD1C43D45 for ; Thu, 12 Jan 2006 13:40:29 +0000 (GMT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1Ex2gY-0003UF-00; Thu, 12 Jan 2006 14:40:14 +0100 Date: Thu, 12 Jan 2006 14:40:13 +0100 To: Mike Jakubik Message-ID: <20060112134013.GC22983@poupinou.org> References: <43C5A261.1020407@rogers.com> <200601121554.55657.doconnor@gsoft.com.au> <43C5EAB0.3090805@rogers.com> <200601121635.09835.doconnor@gsoft.com.au> <43C5F328.4030507@rogers.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43C5F328.4030507@rogers.com> User-Agent: Mutt/1.5.9i From: Bruno Ducrot Cc: freebsd-stable@freebsd.org Subject: Re: powerd effectiveness X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jan 2006 13:40:30 -0000 Hi Make, On Thu, Jan 12, 2006 at 01:11:52AM -0500, Mike Jakubik wrote: > Daniel O'Connor wrote: > >Wow, that's weird, wish my AMD would do speeds like that :) > > > >As for your temperature observation - I have no idea sorry. It would > >appear that powerd is doing the right thing but for some reason your CPU > >is not benefiting. That said checking by measuring temperature is fraught > >with complexity because there is probably a significant delay between a > >change in power consumption and a corresponding chaange in heatsink > >temperature. > > > > Actually, i took readings from the wrong box :P > > CPU: AMD Athlon(tm) Processor (1210.79-MHz 686-class CPU) > acpi0: on motherboard > > root@mail:~# sysctl dev.cpu. > dev.cpu.0.%desc: ACPI CPU > dev.cpu.0.%driver: cpu > dev.cpu.0.%location: handle=\_PR_.CPU0 > dev.cpu.0.%pnpinfo: _HID=none _UID=0 > dev.cpu.0.%parent: acpi0 > dev.cpu.0.freq: 75 > dev.cpu.0.freq_levels: 1215/-1 1139/-1 1063/-1 987/-1 911/-1 835/-1 > 759/-1 683/-1 607/-1 531/-1 455/-1 379/-1 303/-1 227/-1 151/-1 75/-1 > > Thats the correct one, it is 75mhz. I was suspecting hardwares > limitations in terms of modulating the frequency quickly enough. Just > wanted to make sure. What you have noticed is acpi_throttle(4). The combinaison of some VIA chipset and AMD processors give 16 frequencies. powerd(8) is not designed for thermal stuff, and will never be. It's up to acpi_thermal(4) to cool the processor if needed. Note that I think acpi_throttle(4) can only be used for cooling a processor. I don't think it is usefull for power comsuption at all for which powerd(4) is designed. Some other people may have different opinion of course. BTW you may want to try to check if setting hw.acpi.cpu.cx_lowest to C2 permit to cool the processor. There are a lot of old systems based upon AMD processors that require this for resolving overheating issues. You may also want to check if sysutlis/fvcool can help you if setting the above sysctl is not possible (but don't mix the two). Cheers, -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.