From owner-freebsd-questions@FreeBSD.ORG Tue Dec 9 14:52:29 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D46071065672 for ; Tue, 9 Dec 2008 14:52:29 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 599F88FC1B for ; Tue, 9 Dec 2008 14:52:28 +0000 (UTC) (envelope-from glavoie@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1840fgb.35 for ; Tue, 09 Dec 2008 06:52:27 -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=y5o++9+/+ybUG6HFzEYcAcPbvK632KJhSrX8M1nQtnM=; b=rlbg+MKAyw5bp+VGiS7Q/JydTSDxP3jDlqJaiFVCnx6NTY46eP7NReKUHifmaHaEhN 0beFizgB/LCEsxEFhx54YdSfIKg2S+sfj16eGraZQXiUWnDJnKYztkfdXWeB0TrlD+2H zMFnhPqPaWZDkRIkOdIDrzDkDQP/BTlATXO3c= 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=l44r9MxsAdG8cAW334piLpo0FAQMc2UpagcSneEl/niT4qE1c0x23960ZH+lcniV0C 5BovKkY2FAjqORteBqzXWx2Fw6Pu6IVGZ8t97RpgSXAmWQDTN+VbJ2xPXseihV4Y8HmG iCy7/ZAxRKfIw6MoJWBjZuzItWEIo2wk08wg0= Received: by 10.181.148.3 with SMTP id a3mr64489bko.74.1228834347382; Tue, 09 Dec 2008 06:52:27 -0800 (PST) Received: by 10.181.16.18 with HTTP; Tue, 9 Dec 2008 06:52:26 -0800 (PST) Message-ID: Date: Tue, 9 Dec 2008 09:52:26 -0500 From: "Gabriel Lavoie" To: "Ian Smith" In-Reply-To: <20081209233239.F94168@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081209030117.BDE66106575E@hub.freebsd.org> <20081209163440.J94168@sola.nimnet.asn.au> <20081209233239.F94168@sola.nimnet.asn.au> Cc: freebsd-questions@freebsd.org Subject: Re: Intel Pentium Dual Core E5200 and Enhanced Speedstep X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 14:52:30 -0000 2008/12/9 Ian Smith > [ skipping lots until you've seen how powerd goes on it .. and please > drop gmail's HTML attachments on messages to the FreeBSD lists] I found the option to disable HTML in the reply. Is it better now? I enabled powerd and it seems to work for now. > Ok. If updated est code isn't in 7.0p6 you maybe could apply a patch if > you won't be upgrading to 7.1, assuming I'm right about recent new code. I do plan to upgrade to 7.1 when it's out as it will probably include the driver for my onboard network adapter. > There may be some BIOS stuff about SpeedStep options too. Basically you > should expect FreeBSD to ignore BIOS settings, except how they influence > the ACPI implementation, but some BIOSes can contain surprises. Yes, there are options about SpeedStep. > I suspect 3-4W, even per core, would be at a much lower freq than 1GHz, > probably nearer the minimum of ~125MHz. The < 5W consumption isn't even at the lowest speed. The 45nm CPUs are supposed to have an excellent power efficiency. Under Windows/Linux, Enhanced Intel SpeedStep Technology (EIST) doesn't step down the frequency at the lowest value possible. On my C2D (65nm), like I said, it drops to 2 GHz from 2.66. It seems the idle power consumption of those C2D is around 15W. With EIST on the 45nm Intel CPUs, the idle power usage has been tested to be under 4W with a quad-core unit, and this is not at the lowest possible frequency. The 1.25 GHz frequency I see in the BIOS is probably related to the frequency step down EIST automatically does as with my C2D, the BIOS always shows 2 GHz but under Windows/Linux, when the CPU is working, the frequency comes back to 2.66 GHz. I guess that the FreeBSD est driver needs to work with my processor to enable this behaviour. See this: http://www.intel.com/cd/channel/reseller/asmo-na/eng/203838.htm http://www.tomshardware.com/reviews/intel-penryn-4ghz-air-cooling,1712-13.html > No, if it were based on load while looking at the BIOS it'd show you the > lowest speed for sure. This sounds like a selection more than a report? No, it's a report. > 2GHz is hardly idling .. maybe there's a BIOS option affecting that too, > but it should only affect the starting freq, which powerd should ignore. The 2 GHz is the stop down EIST does when the CPU is idling. I was surprised to see this when I got my C2D last January. I was wondering why the CPU was at 2 GHz when it was supposed to be running at 2.66 GHz. > > Under powerd it should drop right back at idle. In fact there've been > problems with some machines dropping back to 125, 100, even 75MHz under > no or very light load, such that interactive responsiveness is shot and > some processes needing fast interrupt response (bursts of wifi traffic, > for one) have had issues, prompting some recent new work on algorithms > for powerd on SMP systems. I noticed that after I enabled powerd. At 313 MHz with my system the responsiveness took a hit. I enabled powerd with those parameters and it seems to step up the frequency quickly enough. Responsiveness doesn't seems to be a problem with a polling time of 100ms. powerd_flags="-i 90 -r 90 -p 100" > > See cpufreq(4) about all this, and especially you might want to set > debug.cpufreq.lowest to some sensible minimum freq, say 3-500MHz? > > The acpi@ list is really a better place for this; not too many of the > heavy hitters there seem to have much spare time to read questions@ and > where I'm mostly just an interested bystander, trying to learn :) I'll ask there if there are still problems after I check my BIOS settings tonight. > > cheers, Ian Gabriel -- Gabriel Lavoie glavoie@gmail.com