From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 3 00:05:19 2008 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 1A8ED1065680; Mon, 3 Nov 2008 00:05:19 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.26]) by mx1.freebsd.org (Postfix) with ESMTP id 897A98FC25; Mon, 3 Nov 2008 00:05:18 +0000 (UTC) (envelope-from gaijin.k@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so917751qwb.7 for ; Sun, 02 Nov 2008 16:05:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=wS/o3dJhK7FzhRnBZft4e6ENVqV3Kioy4Z6/Xe1tr8w=; b=QTr+AJvW/niA3KB/PQCZ6mfRt23DMxkllh0uEzOotQc3WO2zXYOtLYjG1aYUZfOb6Z Uk3hT2HmKneLzNBBjHKgLCcSzJMoaCBLZi/SIDto8inizd6iQ7Cuo2KEyx5yV4mixITU ty+E+lbkUne4+rW+7qEnw3ORmrxE0lNOXouWA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=MbBO038be/5VdhjFbIHx77hlXo/Jokqi72Jt2LpWQEHAfKDWz7NCMsGq3nSnEB35X/ Uz6KG9uvBoIhMEcSC5ehOyBhCjPMmx4IL80m+xbqJuvm5SRQYHq1UexwuOW+2TnpY3QM aTvODBrSlZnOYqwgdplTwV3nRBTAmIjx4/WCs= Received: by 10.214.181.21 with SMTP id d21mr10801316qaf.63.1225670717819; Sun, 02 Nov 2008 16:05:17 -0800 (PST) Received: from ?10.0.3.231? ([70.111.21.88]) by mx.google.com with ESMTPS id 30sm8470483yxk.4.2008.11.02.16.05.16 (version=SSLv3 cipher=RC4-MD5); Sun, 02 Nov 2008 16:05:17 -0800 (PST) From: "Alexandre \"Sunny\" Kovalenko" To: Alexander Motin In-Reply-To: <490E2D19.1030502@FreeBSD.org> References: <490DF584.5080506@FreeBSD.org> <1225656933.1202.2.camel@RabbitsDen> <490E245C.7070900@FreeBSD.org> <1225664813.1202.5.camel@RabbitsDen> <490E2D19.1030502@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Date: Sun, 02 Nov 2008 19:04:46 -0500 Message-Id: <1225670686.1153.8.camel@RabbitsDen> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit Cc: FreeBSD acpi , freebsd-mobile@FreeBSD.org Subject: Re: Is the C3 possible with SMP? 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: Mon, 03 Nov 2008 00:05:19 -0000 On Mon, 2008-11-03 at 00:43 +0200, Alexander Motin wrote: > Alexandre "Sunny" Kovalenko wrote: > > You would not happen to have USB loaded or built into kernel? If you do, > > At home I have external USB keyboard and mouse, so yes, it is built in. > It would be difficult to unload and reload it each time I connect something. I am not sure, I follow. When my laptop is on my desk (and plugged into the power supply), I am loading usb modules for all the necessary devices, including, but not limited to my mouse and keyboard. At this point, I do not get much of C3: dev.cpu.0.cx_usage: 0.00% 100.00% 0.00% dev.cpu.1.cx_usage: 0.00% 99.76% 0.23% When laptop is moving around with me, all USB modules are unloaded and I get about 4 hours of battery life with wireless on, admittedly on the light usage (reading/writing E-mails, browsing web, typing up occasional document). I consider this good for 4.4lbs (<2kg) laptop. My Kill-A-Watt device shows miniscule (~4%) even if stable difference between C3 and no-C3 when plugged into the outlet. > > I have read in ICH8M datasheet about special feature of reducing USB > busmaster activity on idle periods to support C3 state. Do you know > something about it? Unfortunately, I do not. > > > you will practically never go into C3. What does > > > > sysctl dev.cpu | grep cx_usage > > > > say? > > %sysctl -a | grep cx_ > hw.acpi.cpu.cx_lowest: C2 > dev.cpu.0.cx_supported: C1/1 C2/1 C3/57 > dev.cpu.0.cx_lowest: C2 > dev.cpu.0.cx_usage: 0.00% 100.00% 0.00% > dev.cpu.1.cx_supported: C1/1 C2/1 C3/57 > dev.cpu.1.cx_lowest: C3 > dev.cpu.1.cx_usage: 0.00% 0.43% 99.56% > OK, so we have C3. Is this the machine you see no difference in power consumption between C3 and no C3? How did you measure it? -- Alexandre "Sunny" Kovalenko (Олександр Коваленко)