From owner-freebsd-stable@FreeBSD.ORG Thu Jun 5 14:57:44 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CABF1065709 for ; Thu, 5 Jun 2008 14:57:44 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (bigknife-pt.tunnel.tserv9.chi1.ipv6.he.net [IPv6:2001:470:1f10:75::2]) by mx1.freebsd.org (Postfix) with ESMTP id C15E88FC13 for ; Thu, 5 Jun 2008 14:57:43 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from localhost.corp.yahoo.com (john@localhost [IPv6:::1]) (authenticated bits=0) by server.baldwin.cx (8.14.2/8.14.2) with ESMTP id m55Ev2oO098582; Thu, 5 Jun 2008 10:57:36 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-stable@freebsd.org Date: Thu, 5 Jun 2008 10:56:55 -0400 User-Agent: KMail/1.9.7 References: <4847072E.5000709@ispro.net> <20080604225312.GA2625@slackbox.xs4all.nl> <484720AF.8000405@ispro.net> In-Reply-To: <484720AF.8000405@ispro.net> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200806051056.55675.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [IPv6:::1]); Thu, 05 Jun 2008 10:57:37 -0400 (EDT) X-Virus-Scanned: ClamAV 0.91.2/7369/Thu Jun 5 09:19:11 2008 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=4.2 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: Evren Yurtesen , Andrew Snow , Roland Smith Subject: Re: cpufreq broken on core2duo 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, 05 Jun 2008 14:57:44 -0000 On Wednesday 04 June 2008 07:09:35 pm Evren Yurtesen wrote: > Roland Smith wrote: > > On Thu, Jun 05, 2008 at 08:33:24AM +1000, Andrew Snow wrote: > >> Here's another one: > >> CPU: Intel(R) Xeon(R) CPU E5410 @ 2.33GHz > >> cpu0: on acpi0 > >> est0: on cpu0 > >> est: CPU supports Enhanced Speedstep, but is not recognized. > >> est: cpu_vendor GenuineIntel, msr 720072006000720 > >> device_attach: est0 attach returned 6 > >> p4tcc0: on cpu0 > > > > I had this on a new core2 quad. Updating to a recent 7-STABLE fixed the > > issue for me. > > Did any of you tried chkfreq which comes with acpi_ppc > http://www.spa.is.uec.ac.jp/~nfukuda/software/ to check if the cpu frequency is > actually changing? chkfreq checks the frequency by reading the TSC and comparing it across a sleep. However, newer CPUs actually fix the TSC to increment at a constant rate (so at lower CPU speeds 1 CPU tick may actuall be N TSC ticks) to make it easier to use the TSC for timekeeping. Thus, chkfreq will think that newer CPUs are running at the maximum speed when they aren't. This is actually a feature of newer CPUs. Try turning off powerd and using 'openssl speed rsa' at different frequencies to check for real frequency changes. -- John Baldwin