From owner-freebsd-acpi@FreeBSD.ORG Thu May 17 06:42:48 2007 Return-Path: X-Original-To: acpi@freebsd.org Delivered-To: freebsd-acpi@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6029316A405 for ; Thu, 17 May 2007 06:42:48 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 7C0D613C455 for ; Thu, 17 May 2007 06:42:47 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.14.1/8.14.1) with ESMTP id l4GJVVe4003525; Thu, 17 May 2007 05:31:31 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.14.1/8.14.1/Submit) id l4GJVU3w003524; Thu, 17 May 2007 05:31:30 +1000 (EST) (envelope-from peter) Date: Thu, 17 May 2007 05:31:30 +1000 From: Peter Jeremy To: Nate Lawson Message-ID: <20070516193130.GG1162@turion.vk2pj.dyndns.org> References: <20070515050404.GK49628@obelix.dsto.defence.gov.au> <1179249135.1149.21.camel@vonnegut> <20070516032813.GB3773@obelix.dsto.defence.gov.au> <464AAC1E.7060002@root.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <464AAC1E.7060002@root.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.15 (2007-04-06) Cc: acpi@freebsd.org Subject: Re: PowerTOP for FreeBSD ? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2007 06:42:48 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-May-16 00:00:46 -0700, Nate Lawson wrote: >Normally timers tick every 1 us on FreeBSD. Unless something has changed massively, tradtiionally, hardclock interrupts every 1msec and statclick interrupts at 128Hz (approx 8msec). > Most interrupts are >serviced with no work to be performed, so it's just wasted computation. Using the lapic timer is an excellent example of this. By default it runs at 2000Hz to run hardclock() every 1msec and statclock() every 7.5 msec - just under 50% of the interrupts are completely wasted. --=20 Peter Jeremy --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGS1wS/opHv/APuIcRAiISAJ0Xoeh6+B/LFxhNpy8qYowt2j/55wCeKr7H aCqpIZqeP/fQMt6rdPcl4A4= =n3Ln -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o--