From owner-freebsd-acpi@FreeBSD.ORG Sun Oct 14 21:30:10 2007 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 921F416A417 for ; Sun, 14 Oct 2007 21:30:10 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 0FBA013C46B for ; Sun, 14 Oct 2007 21:30:09 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-31-60.bredband.comhem.se ([83.253.31.60]:55069 helo=falcon.midgard.homeip.net) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1IhAnX-0004sl-5V for freebsd-acpi@freebsd.org; Sun, 14 Oct 2007 23:14:56 +0200 Received: (qmail 47501 invoked from network); 14 Oct 2007 23:14:52 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 14 Oct 2007 23:14:52 +0200 Received: (qmail 72801 invoked by uid 1001); 14 Oct 2007 23:14:52 +0200 Date: Sun, 14 Oct 2007 23:14:52 +0200 From: Erik Trulsson To: Abdullah Ibn Hamad Al-Marri Message-ID: <20071014211452.GA72643@owl.midgard.homeip.net> Mail-Followup-To: Abdullah Ibn Hamad Al-Marri , Peter Jeremy , freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org References: <58790.8375.qm@web33704.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58790.8375.qm@web33704.mail.mud.yahoo.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-Originating-IP: 83.253.31.60 X-Scan-Result: No virus found in message 1IhAnX-0004sl-5V. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1IhAnX-0004sl-5V b5d96e4573cd416a702ceb022b5597b4 Cc: Peter Jeremy , freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.0 interrupt storm with irq0: clk 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: Sun, 14 Oct 2007 21:30:10 -0000 On Sun, Oct 14, 2007 at 01:03:44PM -0700, Abdullah Ibn Hamad Al-Marri wrote: > On 2007-Oct-14 15:36:39 +0300, Abdullah Ibn Hamad Al-Marri > wrote: > >On 10/13/07, Nate Lawson wrote: > >> Rolf Witt wrote: > >> > Abdullah Ibn Hamad Al-Marri schrieb: > >> >> Hello, > >> >> > >> >> I'm getting interrupt storm lately. > ... > >But still same issue with irq0: clk but less now. > > > >IM# vmstat -i > >interrupt total rate > >irq0: clk 37009569 1000 > > >So far, you haven't provided any evidence of any "interrupt storm" or > >how it might be related to acpi. And 7.0 isn't stable yet. > > >The default HZ is 1000 so unless you explicitly change it in your > >kernel config, you should have 1000 clock interrupts/sec. > > >-- > >Peter Jeremy > > > > > Actually no more interrupt after I added these options back to my kernel while it's UP not SMP, and vmstat output has changed totally. > > # To make an SMP kernel, the next two lines are needed > options SMP # Symmetric MultiProcessor Kernel > device apic # I/O APIC > > IM# vmstat -i > interrupt total rate > irq14: ata0 4837 0 > irq23: fxp0 2203298 86 > cpu0: timer 50755929 1999 > Total 52964064 2086 > > I even don't see irq0 in vmstat at all. > > Any hints? It looks like different timecounters are used depending on your kernel options. In the first case you probably used TSC or i8254 as timecounter while in the second (where you get timer interrupts on cpu0 instead of on irq0) you use ACPI as timecounter. The output of 'sysctl kern.timecounter.choice' for both cases might be illuminating. In any case there is still no indication of any interrupt storm. -- Erik Trulsson ertr1013@student.uu.se