From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 30 10:01:37 2010 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90FAE106566B; Tue, 30 Mar 2010 10:01:37 +0000 (UTC) (envelope-from me@janh.de) Received: from mailhost.uni-hamburg.de (mailhost.uni-hamburg.de [134.100.32.155]) by mx1.freebsd.org (Postfix) with ESMTP id 1BEED8FC24; Tue, 30 Mar 2010 10:01:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mailhost.uni-hamburg.de (Postfix) with ESMTP id 073F8902EA; Tue, 30 Mar 2010 12:01:36 +0200 (CEST) X-Virus-Scanned: by University of Hamburg (RRZ/mailhost) Received: from mailhost.uni-hamburg.de ([127.0.0.1]) by localhost (mailhost.uni-hamburg.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KvWbM6RB3gEB; Tue, 30 Mar 2010 12:01:35 +0200 (CEST) Received: from pc861.math.uni-hamburg.de (pc861.math.uni-hamburg.de [134.100.222.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fmjv004) by mailhost.uni-hamburg.de (Postfix) with ESMTPSA id E2D8C90151; Tue, 30 Mar 2010 12:01:35 +0200 (CEST) Message-ID: <4BB1CC22.6090802@janh.de> Date: Tue, 30 Mar 2010 12:02:10 +0200 From: Jan Henrik Sylvester User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.8) Gecko/20100302 Thunderbird/3.0.3 MIME-Version: 1.0 To: Alexander Motin References: <1269872581.00234827.1269859203@10.7.7.3> <4BB19F2B.7020604@FreeBSD.org> In-Reply-To: <4BB19F2B.7020604@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: mobile-list freebsd Subject: Re: Thinkpad T510: LAN? CPU-C3? X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2010 10:01:37 -0000 On 03/30/2010 08:50, Alexander Motin wrote: > Jan Henrik Sylvester wrote: >> - CPU-C3: No C3 (dev.cpu.0.cx_supported: C1/3 C2/245) for i7-620M. >> Battery life will not be good without C3, and Turbo Boost will not work >> either. (Apparently, Linux got C3 support on a quick boot with a live CD.) > > I would say that your C2 state has too high entering latency (at least > from point of my C2D of C1/1 C2/1 C3/57). May be you have some C2E hack > enabled in BIOS, which makes C3 useless and BIOS hides it? FreeBSD > receives all info about supported states from ACPI BIOS, so ACPI can > report whatever it wants about set of C-states. Thanks for the hint. 245 is indeed very high for C2. I did boot up Linux (2.6.28.4) to check what it is saying. /proc/acpi/processor/CPU[0123]/power: active state: C0 max_cstate: C8 bus master activity: 00000000 maximum allowed latency: 16000 usec C1: type[C1] promotion[--] demotion[--] latency[003] C2: not supported C3: type[C1] promotion[--] demotion[--] latency[245] C1 usage CPU0:12462 CPU1:11900 CPU2:10055 CPU3:06025 C3 usage CPU0:53886 CPU1:52762 CPU2:52434 CPU3:53555 I guess what FreeBSD reports as C2 is in fact C3. With the P-/C-states optimizations from the Wiki, I have 85%--95% C2 utilization for an idle xorg+KDE4. I do not think it is about BIOS settings (I pasted them below) but about FreeBSD that cannot deal with C2 missing, but C1 and C3 available. Or? Thanks you all for your help! Jan Henrik #Power# Timer Wake with Battery Operation: Disabled (Enabled) Intel(R) SpeedStep technology: Enabled (Disabled) - Mode for AC: Maximum Battery (Maximum Performance, Battery Optimized, Automatic*) - Mode for Battery: Maximum Battery (Maximum Performance, Battery Optimized*, Automatic) Adaptive Thermal Management - Scheme for AC: Balanced (Maximize Performance*) - Scheme for Battery: Balanced (Maximize Performance) CDROM Speed: Normal (High, Silent) CPU Power Management: Automatic (Disable) PCI Bus Power Management: Automatic (Disable) PCI Express Power Management: Automatic (Disable) #CPU# Core Multi-Processing: Enabled (Disabled) Intel(R) Hyper-Threading Technology: Enabled (Disabled) Intel(R) Virtualization Technology: Disabled (Enabled) Intel(R) VT-d Feature: Disabled (Enabled)