From owner-freebsd-current@FreeBSD.ORG Tue May 15 00:09:03 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7AEFC16A400; Tue, 15 May 2007 00:09:03 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by mx1.freebsd.org (Postfix) with ESMTP id E5FC913C45A; Tue, 15 May 2007 00:09:02 +0000 (UTC) (envelope-from rpaulo@fnop.net) Received: from core.fnop.net (mx.fnop.net [82.102.11.82]) by core.fnop.net (Postfix) with ESMTP id DE2F96909A3; Tue, 15 May 2007 01:08:38 +0100 (WEST) Received: by core.fnop.net (Postfix, from userid 1015) id 9EA5A6909C3; Tue, 15 May 2007 01:08:38 +0100 (WEST) X-Spam-Checker-Version: SpamAssassin 3.1.7 (2006-10-05) on core.fnop.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=AWL, BAYES_00, FORGED_RCVD_HELO, RCVD_IN_DSBL,RCVD_IN_SORBS_DUL autolearn=no version=3.1.7 Received: from epsilon.local.fnop.net (87-196-125-241.net.novis.pt [87.196.125.241]) by core.fnop.net (Postfix) with ESMTP id BB1E96909A3; Tue, 15 May 2007 01:08:36 +0100 (WEST) Date: Tue, 15 May 2007 01:08:43 +0100 Message-ID: <86lkfrymlw.wl%rpaulo@fnop.net> From: Rui Paulo To: Harald Schmalzbauer In-Reply-To: <200705142348.07522.h.schmalzbauer@omnisec.de> References: <42BC519E.8010309@satro.sk> <42BC53A2.80205@freebsd.org> <200705142348.07522.h.schmalzbauer@omnisec.de> User-Agent: Wanderlust/2.15.5 (Almost Unreal) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-current@freebsd.org, Colin Percival Subject: Re: cpufreq & enhanced speedstep X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 00:09:03 -0000 At Mon, 14 May 2007 23:48:07 +0200, Harald Schmalzbauer wrote: > > Am Freitag, 24. Juni 2005 schrieb Colin Percival: > ^^^^ > [...] > > > est0: on cpu0 > > > est: CPU supports Enhanced Speedstep, but is not recognized. > > > est: Please update driver or contact the maintainer. > > > est: cpu_vendor GenuineIntel, msr 6120d2606000d26, bus_clk, 64 > > > device_attach: est0 attach returned 6 > > > > ... but I know exactly how est works, since I wrote it. You have a > > recent processor for which Intel hasn't released the frequency/voltage > > tables; as a result, the est driver can't support it. > > > > (Apparently the data I need is in an NDA'ed BIOS writers' guide. Can > > anyone convince Intel to give me a copy?) > > Is this still valid? > I have a E6600 core2 and tried to reduce power dissipation by enabling some > speedstep technology. > acpi_perf seems to work since dev.cpu.freq shows 800 (possible 2400/1600/800) > and goes up while compiling, but I frequently get the following errors: > > kernel: acpi_perf0: Px transition to 1600 failed > kernel: acpi_perf0: set freq failed, err 6 I don't really know why it fails.. > > So I disabled acpi_perf and tried cpufreq with the following result: In your machine acpi_perf gives the values to est. If you disable acpi_perf, est will not work. > I had acpi_perf and powerd enabled the last two days and the "feeling" of my > X11/KDE desktop was a bit bumpy; The mouse frequently hung for some 10s of > ms, in general the respnsiveness suffered a lot with dev.cpu.0.freq=800, a > lot more than 298 with est... 298 comes from p4tcc or acpi_throttle. These values usually reduce a lot the CPU power to prevent thermal problems. Maybe they should be separated... > P.S.: disabling p4tcc (hint.p4tcc.0.disabled=1 in loader.conf when cpufreq is > loaded) hangs the machine at kickstart. In single user mode 'sysctl dev.cpu' > also hangs the machine. Can you try: hint.acpi_throttle.0.disabled=1 hint.p4tcc.0.disabled=1 -- Rui Paulo