From owner-freebsd-current@FreeBSD.ORG Sat Sep 1 21:26:20 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A6DC16A41B for ; Sat, 1 Sep 2007 21:26:20 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-20-82.belrs4.nsw.optusnet.com.au [220.239.20.82]) by mx1.freebsd.org (Postfix) with ESMTP id 0CD5913C46B for ; Sat, 1 Sep 2007 21:26:19 +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 l81KnlSr021850; Sun, 2 Sep 2007 06:49:47 +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 l81Knl60021849; Sun, 2 Sep 2007 06:49:47 +1000 (EST) (envelope-from peter) Date: Sun, 2 Sep 2007 06:49:47 +1000 From: Peter Jeremy To: Bruce Cran Message-ID: <20070901204947.GY1181@turion.vk2pj.dyndns.org> References: <46D83351.9000407@cran.org.uk> <46D8719A.1070109@cran.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3uo+9/B/ebqu+fSQ" Content-Disposition: inline In-Reply-To: <46D8719A.1070109@cran.org.uk> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.16 (2007-06-09) Cc: current@freebsd.org Subject: Re: High interrupt load on VIA C3 machine 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: Sat, 01 Sep 2007 21:26:20 -0000 --3uo+9/B/ebqu+fSQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Aug-31 20:52:58 +0100, Bruce Cran wrote: >This appears to be an issue with powerd/cpufreq - disabling powerd reduces= =20 >the interrupt load to a couple of percent at most, and the clock interrupt= =20 >task now only accumulates CPU time very slowly (previously it was using 7%= =20 >CPU all the time). I'm not familiar with the VIA CPUs but how slowly can powerd make the CPU run? The top extract you posted show the system was idle so its likely that powerd had wound the clock to a minimum. The amount of code executed by the interrupt handlers remains the same but will take longer at slower clock speeds so the percenatage is higher. You can experiment for yourself by enabling only cpufreq and using sysctl. dev.cpu.0.freq_levels lists all supported possible CPU rates and you can change the clock frequency by assigning dev.cpu.0.freq. --=20 Peter Jeremy --3uo+9/B/ebqu+fSQ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFG2dBr/opHv/APuIcRAhZGAJ99vbxkNlD+K8rT7e1sTfL+vmzecwCfSZ4I AOwdQ7a9lnMFYVYQwYI7cJU= =vK+Y -----END PGP SIGNATURE----- --3uo+9/B/ebqu+fSQ--