From owner-freebsd-acpi@FreeBSD.ORG Sat Jan 10 00:10:42 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 6DC121065672; Sat, 10 Jan 2009 00:10:42 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: from mail-bw0-f20.google.com (mail-bw0-f20.google.com [209.85.218.20]) by mx1.freebsd.org (Postfix) with ESMTP id 59EE38FC0C; Sat, 10 Jan 2009 00:10:41 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: by bwz13 with SMTP id 13so3379546bwz.19 for ; Fri, 09 Jan 2009 16:10:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=NP5vNa5kh6zhh6JMaCtD5w1pBCe1D9W5xlexwJsQ+sQ=; b=yFLW2vrgeZDXw5rU/isqGk8Cbr3xuxFosYyxNxuo5Z2gkMfMTqkhzYCe5YM6Rh5YhK YLEQqiACJ7PjGRj3O48RgDVk5ZRCfhwbVXG9RH8zN3HJ97pxpkEGt2cotc0S9uMx12+P x5Rfu1/placBqG7eg8kBZVUu8scFzwlIWApAY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jh19U8A0PnOAccmwn98VKgaBUK1KvK0Jd1RoiXDT9s5G4m64LjnnmRJ2ZieOTqaMqu CbgS4iKo1pupauCi0IlgmNNmrQIUuUDDu5tgBAR14zdHruaBQMwLcJoodmVWlQNxFeMa mEXDTqnL4lCBAMOrYJcHVT7FHTGFy3yU1saxM= Received: by 10.180.203.3 with SMTP id a3mr9916835bkg.146.1231546240373; Fri, 09 Jan 2009 16:10:40 -0800 (PST) Received: by 10.181.26.14 with HTTP; Fri, 9 Jan 2009 16:10:40 -0800 (PST) Message-ID: Date: Fri, 9 Jan 2009 19:10:40 -0500 From: "Gabriel Lavoie" To: "Alexander Motin" In-Reply-To: <4967E3F1.3050002@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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> 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:10:43 -0000 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. > >> 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? > > -- > Alexander Motin > Thanks Gabriel -- Gabriel Lavoie glavoie@gmail.com