From owner-freebsd-stable@FreeBSD.ORG Sun Oct 14 21:14:57 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 576B616A418 for ; Sun, 14 Oct 2007 21:14:57 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id C833913C468 for ; Sun, 14 Oct 2007 21:14:56 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-31-60.bredband.comhem.se ([83.253.31.60]:65256 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1IhAnX-0004IM-8Z for freebsd-stable@freebsd.org; Sun, 14 Oct 2007 23:14:55 +0200 Received: (qmail 47502 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-0004IM-8Z. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1IhAnX-0004IM-8Z 3927acbfc6ff83232b01ad20e9760a75 Cc: Peter Jeremy , freebsd-acpi@freebsd.org, freebsd-stable@freebsd.org Subject: Re: FreeBSD 7.0 interrupt storm with irq0: clk X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2007 21:14:57 -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