From owner-freebsd-current@FreeBSD.ORG Sun May 4 17:07:59 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 768BD9BE for ; Sun, 4 May 2014 17:07:59 +0000 (UTC) Received: from i3mail.icecube.wisc.edu (i3mail.icecube.wisc.edu [128.104.255.23]) by mx1.freebsd.org (Postfix) with ESMTP id 4482D1BDB for ; Sun, 4 May 2014 17:07:58 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by i3mail.icecube.wisc.edu (Postfix) with ESMTP id 6651A1F8004 for ; Sun, 4 May 2014 12:07:58 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from i3mail.icecube.wisc.edu ([127.0.0.1]) by localhost (i3mail.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id O4DgHAE-1u_C for ; Sun, 4 May 2014 12:07:58 -0500 (CDT) Received: from comporellon.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) by i3mail.icecube.wisc.edu (Postfix) with ESMTPSA id 201B21F8001 for ; Sun, 4 May 2014 12:07:58 -0500 (CDT) Message-ID: <536673ED.207@freebsd.org> Date: Sun, 04 May 2014 10:07:57 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: Leaving the Desktop Market References: <3F7430D7-3C0F-43E1-8EBD-8AA4F701497C@FreeBSD.org> <20140503155745.GA2457@La-Habana> <20140503192305.GA1847@La-Habana> <20140504142839.GA9271@La-Habana> <53666102.5080205@allanjude.com> <53667352.4030807@allanjude.com> In-Reply-To: <53667352.4030807@allanjude.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 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: Sun, 04 May 2014 17:07:59 -0000 On 05/04/14 10:05, Allan Jude wrote: > On 2014-05-04 11:47, Allan Jude wrote: >> On 2014-05-04 10:28, Matthias Apitz wrote: >>> El día Saturday, May 03, 2014 a las 04:59:48PM -0700, Kevin Oberman escribió: >>> >>>> On Sat, May 3, 2014 at 1:25 PM, Adrian Chadd wrote: >>>> >>>>> Set it to the lowest available Cx state that you see in dev.cpu.0 . >>>>> >>>>> >>>> Available is not required. Set it to C8. That guarantees that you will use >>>> the lowest available. The correct incantation in rc.conf is "Cmax". >>>> performance_cx_lowest="Cmax" >>>> economy_cx_lowest="Cmax" >>>> >>>> But, unless you want laggy performance, you will probably also want: >>>> hint.p4tcc.0.disabled=1 >>>> hint.acpi_throttle.0.disabled=1 >>>> in /boot/loader.conf. Low Cx states and TCC/throttling simply don't mix >>>> well and TCC is not effective, as mentioned earlier in this thread. >>> Re/ powerd I have in /etc/rc.conf: >>> >>> # powerd >>> powerd_enable="YES" >>> powerd_flags="-a max -b adp" >>> # >>> performance_cx_lowest="Cmax" >>> economy_cx_lowest="Cmax" >>> >>> (and the additional hint.* in /boot/loader.conf as well). Which process >>> 'performance_cx_lowest' and 'economy_cx_lowest' target exactly as config >>> values? >>> >>> Thx >>> >>> matthias >>> >> In a pretty unscientific test on my laptop (Lenovo T530 with Intel i5 >> 3320M), setting hw.acpi.cpu.cx_lowest=C8 lowered power consumption at >> idle by about 3 watts, which adds about 30-45 minutes to my battery life >> during conservative usage. >> >> Using PCBSD 10, so hint.acpi_throttle.0.disabled=1 was already set >> (apparently solves some issue with powerd on some AMD systems) >> >> I have added hint.p4tcc.0.disabled=1 but not sure where to expect to see >> a difference. >> > I see the difference now, with the p4tcc stuff disabled, the lowest > cpufreq is now 1200mhz instead of 150mhz > > I just set the default for acpi_throttle and p4tcc in HEAD to disabled by adding these line to the default /boot/device.hints. If you want them back, editing your device.hints will restore them. This can be reverted if many people want throttling enabled by default, but all I have heard so far -- and for the past many years -- is a unanimous chorus to turn it off. -Nathan