From owner-freebsd-current@FreeBSD.ORG Sun May 4 15:47:22 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 915F03DC for ; Sun, 4 May 2014 15:47:22 +0000 (UTC) Received: from mx1.scaleengine.net (beauharnois2.bhs1.scaleengine.net [142.4.218.15]) by mx1.freebsd.org (Postfix) with ESMTP id 5211F10DE for ; Sun, 4 May 2014 15:47:21 +0000 (UTC) Received: from [10.1.1.1] (S01060001abad1dea.hm.shawcable.net [50.70.146.73]) (Authenticated sender: allan.jude@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 2EDCB70C46 for ; Sun, 4 May 2014 15:47:19 +0000 (UTC) Message-ID: <53666102.5080205@allanjude.com> Date: Sun, 04 May 2014 11:47:14 -0400 From: Allan Jude User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.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> In-Reply-To: <20140504142839.GA9271@La-Habana> X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IUmJGImhpVpKu3R4lj3bdL7Iw07a0CvM2" 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 15:47:22 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --IUmJGImhpVpKu3R4lj3bdL7Iw07a0CvM2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2014-05-04 10:28, Matthias Apitz wrote: > El d=EDa Saturday, May 03, 2014 a las 04:59:48PM -0700, Kevin Oberman e= scribi=F3: >=20 >> On Sat, May 3, 2014 at 1:25 PM, Adrian Chadd wrot= e: >> >>> 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=3D"Cmax" >> economy_cx_lowest=3D"Cmax" >> >> But, unless you want laggy performance, you will probably also want: >> hint.p4tcc.0.disabled=3D1 >> hint.acpi_throttle.0.disabled=3D1 >> in /boot/loader.conf. Low Cx states and TCC/throttling simply don't mi= x >> well and TCC is not effective, as mentioned earlier in this thread. >=20 > Re/ powerd I have in /etc/rc.conf: >=20 > # powerd > powerd_enable=3D"YES" > powerd_flags=3D"-a max -b adp" > # > performance_cx_lowest=3D"Cmax" > economy_cx_lowest=3D"Cmax" >=20 > (and the additional hint.* in /boot/loader.conf as well). Which process= > 'performance_cx_lowest' and 'economy_cx_lowest' target exactly as confi= g > values?=20 >=20 > Thx >=20 > matthias >=20 In a pretty unscientific test on my laptop (Lenovo T530 with Intel i5 3320M), setting hw.acpi.cpu.cx_lowest=3DC8 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=3D1 was already set (apparently solves some issue with powerd on some AMD systems) I have added hint.p4tcc.0.disabled=3D1 but not sure where to expect to se= e a difference. --=20 Allan Jude --IUmJGImhpVpKu3R4lj3bdL7Iw07a0CvM2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (MingW32) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBAgAGBQJTZmEFAAoJEJrBFpNRJZKfOFgP/iwKEjU9SlbhI7yWWgLFrY0b EiJ7fDPU2e59KF+09+2ubxaCD7KkTnrhgEJ1oU5JXnvoX/1S0HR36PBjqGpQcDCz xb1vL/VY7Tv1Gvjq1ZmiwRnig0fHsZFxFL7RtYbNfHezHKO2vyZoHl4yi+zEvLNP gZlJD7tL1oMTPDAKMTbBC8FV7K5NEHWVEMwa+IiZ+W+L97rgNSUx7YAcHCrHjdcX 87E/GSXAF/zqaZTAsmPkuAAIgjhy/cCD3JtrJdsioTYyWOTt1md4jvi30kg5X4k0 lWaEQnUgvW61sUzMMOxEfHqgGgQGDLRJzMAdPTLA6zRFTm9ASlpGNiNo5GZjbTBG f4MrbPbTiXzasPXeHgOQm97X38P7/ig0/r5EldTnY8S24JlC9zzuP/uDNU00WbkV cf3cqXqtnhffTDP9ModUE8KN7XR1CuoAZ4KYhtHF4yn7Co579u5HdU+MVapMInTh bIpRC7Xuq4PyY62rKGxoNEZNV/o8Ase0HZcEzaWX6WtyM2eMz6F/eF/xFdqN4RZO ggRQNHBrmq2ogp15gkeUAbGgKqhRFB78ruYoSKLod2srA+Q+QMLF8c0/QsB3qq/p wL3ICE1Ep4Z8vA3VHLTikOX7f49FN1+w69MJ16GUzFiFWcK5PLfBnhspCO6QAC4Q 2wkconGhzPhNWkMoJ12Q =sm7y -----END PGP SIGNATURE----- --IUmJGImhpVpKu3R4lj3bdL7Iw07a0CvM2--