From owner-freebsd-acpi@FreeBSD.ORG Sat Jan 10 00:13:10 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 B88D1106566B for ; Sat, 10 Jan 2009 00:13:10 +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 4192B8FC1B for ; Sat, 10 Jan 2009 00:13:10 +0000 (UTC) (envelope-from mav@FreeBSD.org) X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 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 231280827; Sat, 10 Jan 2009 02:13:09 +0200 Message-ID: <4967E819.6010305@FreeBSD.org> Date: Sat, 10 Jan 2009 02:13:13 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.17 (X11/20081029) MIME-Version: 1.0 To: Gabriel Lavoie References: <1231471393.00057821.1231461001@10.7.7.3> <1231492987.00057896.1231480801@10.7.7.3> <1231514587.00058037.1231502401@10.7.7.3> <1231532583.00058199.1231520401@10.7.7.3> <1231543382.00058245.1231531801@10.7.7.3> <4967E3F1.3050002@FreeBSD.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-acpi@freebsd.org Subject: Re: EST (Enhanced Intel SpeedStep(R) Technology) on amd64 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: Sat, 10 Jan 2009 00:13:11 -0000 Gabriel Lavoie wrote: > 2009/1/9 Alexander Motin : >> Gabriel Lavoie wrote: >>> Another question. Any reason why powerd doesn't use >>> dev.est.0.freq_settings when it is available instead of >>> dev.cpu.0.freq_levels? >>> >>> On my system: >>> dev.cpu.0.freq_levels: 2500/88000 2187/77000 2000/47608 1750/41657 >>> 1600/44616 1400/39039 1200/41800 1050/36575 900/31350 750/26125 >>> 600/20900 450/15675 300/10450 150/5225 >>> dev.est.0.freq_settings: 2500/88000 2000/47608 1600/44616 1200/41800 >> dev.cpu.0.freq_levels is just a mix of est and p4tcc levels. By default >> powerd uses all of them. If you really wish, you can disable p4tcc with: >> hint.p4tcc.0.disabled=1 >> hint.acpi_throttle.0.disabled=1 >> then dev.cpu.0.freq_levels will be equal to dev.est.0.freq_settings. > > Working like a charm! I wasn't sure so I added both 0 and 1 for both > cores and it seems to be correct. I had to add them in loader.conf or > device.hints? Put them in loader.conf and it seems to be OK. Whatever you prefer, >>> If I don't lower the polling time of powerd to 100ms, my system >>> becomes way too much unresponsive because powerd takes too much time >>> to increase the frequency, step by step and there are a lot of >>> settings with dev.est.0.freq_settings (14). With >>> dev.est.0.freq_settings, the minimal setting is high enough so the >>> system stays responsive and powerd would bring it up to max frequency >>> quickly enough, even if the polling time is still kept at 500ms. This >>> would work more like Windows or Linux where the lowest frequency at >>> which the CPU will drop is the lowest EIST gives (here 1200 MHz). >> I have just merged updated powerd to 7-STABLE to address this issue. > > If I run release, it means it will be available in 7.2? 7.2 and 8.0. -- Alexander Motin