From owner-freebsd-current@FreeBSD.ORG Thu Mar 24 20:56:22 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 481F516A4CE for ; Thu, 24 Mar 2005 20:56:22 +0000 (GMT) Received: from mail23.sea5.speakeasy.net (mail23.sea5.speakeasy.net [69.17.117.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id EADEE43D3F for ; Thu, 24 Mar 2005 20:56:21 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 24894 invoked from network); 24 Mar 2005 20:56:21 -0000 Received: from server.baldwin.cx ([216.27.160.63]) (envelope-sender )AES256-SHA encrypted SMTP for ; 24 Mar 2005 20:56:20 -0000 Received: from [10.50.41.231] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id j2OKuAV8071806; Thu, 24 Mar 2005 15:56:11 -0500 (EST) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Thu, 24 Mar 2005 15:32:36 -0500 User-Agent: KMail/1.6.2 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Message-Id: <200503241532.36403.jhb@FreeBSD.org> X-Spam-Status: No, score=-102.8 required=4.2 tests=ALL_TRUSTED, USER_IN_WHITELIST autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx cc: Daniel Eriksson Subject: Re: Higher interrupt rate after recent SMP/APIC timer changes? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 24 Mar 2005 20:56:22 -0000 On Friday 11 March 2005 05:51 pm, Daniel Eriksson wrote: > After the recent changes to the use of APIC timers on SMP systems, the > reported interrupt rate has gone up significantly: > > # vmstat -i > interrupt total rate > irq1: atkbd0 3 0 > irq0: clk 55294842 1998 > irq4: sio0 656 0 > irq6: fdc0 13 0 > irq13: npx0 1 0 > irq14: ata0 28299 1 > irq15: ata1 28144 1 > irq17: atapci1+ 60822 2 > irq19: atapci3+ 19848 0 > irq20: ciss0 857173 30 > irq21: em0 1 0 > irq22: em1 1 0 > lapic1: timer 110665583 3998 > lapic0: timer 110649350 3998 > Total 277604736 10031 > > This is an SMP box (dual AMD AthlonMP) running with HZ=2000 and POLLING > enabled. Should I worry about the 4k intr/sec reported for lapic0 and > lapic1, or is this the way things should be? > > I should add that system load has not changed noticeably, leading me to > believe that the lapic* interrupt rate is by design and nothing to worry > about. (But I still wanted to ask.) Yes, the lapic timers run at hz * 2, so that is by design. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org