From owner-freebsd-current@FreeBSD.ORG Sun Sep 2 10:58:12 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 F1CA116A419 for ; Sun, 2 Sep 2007 10:58:12 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.bluestop.org (muon.bluestop.org [80.68.94.188]) by mx1.freebsd.org (Postfix) with ESMTP id B5AC513C461 for ; Sun, 2 Sep 2007 10:58:12 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.draftnet (dyn-62-56-105-44.dslaccess.co.uk [62.56.105.44]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.bluestop.org (Postfix) with ESMTP id 146AD3000D; Sun, 2 Sep 2007 11:53:48 +0100 (BST) Message-ID: <46DA96DB.2090700@cran.org.uk> Date: Sun, 02 Sep 2007 11:56:27 +0100 From: Bruce Cran User-Agent: Thunderbird 2.0.0.6 (X11/20070809) MIME-Version: 1.0 To: Peter Jeremy References: <46D83351.9000407@cran.org.uk> <46D8719A.1070109@cran.org.uk> <20070901204947.GY1181@turion.vk2pj.dyndns.org> <46D9EE1E.9030009@cran.org.uk> <20070902095417.GN1181@turion.vk2pj.dyndns.org> In-Reply-To: <20070902095417.GN1181@turion.vk2pj.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Sun, 02 Sep 2007 10:58:13 -0000 Peter Jeremy wrote: > On 2007-Sep-01 23:56:30 +0100, Bruce Cran wrote: > >> The VIA C3 supports 2 frequencies - 531 and 265 MHz. The high interrupt >> load only occurs when I set dev.cpu.0.freq to 265, which makes sense. >> > > Half the clock rate implies twice the interrupt load - it it should be > about 3.5% at 531MHz if its 7% at 265MHz. If you're seeing something > significantly different then there is some other factor at work. > > It seems there is something different happening, but I don't know if it's to do with FreeBSD or just the way the CPU works. At 531MHz the "swi4: clock sio" task uses 0.2% CPU and the "interrupt" line in top goes up to about 1.6%. At 265MHz the "swi4: clock sio" task uses about 10% CPU and the "interrupt" line varies between 14 and 20%. -- Bruce Cran