From owner-freebsd-current@FreeBSD.ORG Sun Dec 20 02:42:04 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D69471065672; Sun, 20 Dec 2009 02:42:04 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 8A33D8FC18; Sun, 20 Dec 2009 02:42:04 +0000 (UTC) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id nBK2g4e2009092; Sat, 19 Dec 2009 18:42:04 -0800 (PST) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.3/Submit) id nBK2g3dV009091; Sat, 19 Dec 2009 18:42:03 -0800 (PST) (envelope-from david) Date: Sat, 19 Dec 2009 18:42:03 -0800 From: David Wolfskill To: Doug Barton Message-ID: <20091220024203.GO470@bunrab.catwhisker.org> References: <4B2D4B53.1060503@FreeBSD.org> <4B2D8B9C.5030706@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NJSRbAqOy4NeGDns" Content-Disposition: inline In-Reply-To: <4B2D8B9C.5030706@FreeBSD.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: Systems running hot? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 20 Dec 2009 02:42:04 -0000 --NJSRbAqOy4NeGDns Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 19, 2009 at 06:27:40PM -0800, Doug Barton wrote: > Paul G Webster wrote: > > tried running powerd on it? >=20 > I was not running powerd, but I just enabled it with: > performance_cx_lowest=3D"HIGH" > performance_cpu_freq=3D"HIGH" > economy_cx_lowest=3D"HIGH" > economy_cpu_freq=3D"HIGH" >=20 > If I'm reading the rc.conf man page correctly, that will give me the > benefit of good performance while at the same time dropping the cpu > frequency and power usage when idle? The last two look rather counterintuitive to me. On my laptop, I merely use: g1-119(6.4-S)[1] grep powerd /etc/rc.conf powerd_enable=3D"YES" # Run powerd to lower our power usage. powerd_flags=3D"-a adaptive -b adaptive -n adaptive" # Flags to powerd= (if enabled). g1-119(6.4-S)[2]=20 And CPU freq clmbs to 2400 quite quickly on starting a "make buildworld", while stayng low when the CPU isn't neede so much: g1-119(6.4-S)[2] tmon Sat Dec 19 18:36:38 PST 2009 51.5C 450=20 Sat Dec 19 18:36:48 PST 2009 50.5C 600=20 Sat Dec 19 18:36:58 PST 2009 50.5C 450=20 Sat Dec 19 18:37:08 PST 2009 51.5C 600=20 Sat Dec 19 18:37:18 PST 2009 51.5C 300=20 Sat Dec 19 18:37:28 PST 2009 52.5C 600=20 Sat Dec 19 18:37:38 PST 2009 53.5C 450=20 Sat Dec 19 18:37:48 PST 2009 54.5C 450=20 Sat Dec 19 18:37:58 PST 2009 54.5C 450=20 Sat Dec 19 18:38:08 PST 2009 55.5C 600=20 (For anyone who might care: g1-119(6.4-S)[3] cat bin/tmon #! /bin/sh while (true) do echo "" (date && sysctl -n hw.acpi.thermal.tz0.temperature dev.cpu.0.freq) | \ tr '\012' ' ' sleep 10 done g1-119(6.4-S)[4]=20 The extent to which that works depends on quite a bit, and I didn't make it fancy enough to do any sort of checking: it works for my purposes.) > Any other suggestions are welcome. I tend to use default values unless I have a reason to change them. :-} Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --NJSRbAqOy4NeGDns Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkstjvsACgkQmprOCmdXAD1rKACcDzMRyPUBvWAReR1Q+SzxxJ+W s9cAn061Bh4DuTd1/QOUB9ghr5K+7J4m =QZQj -----END PGP SIGNATURE----- --NJSRbAqOy4NeGDns--