From owner-freebsd-current@FreeBSD.ORG Tue Apr 5 19:46:34 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 AEAC516A4CE for ; Tue, 5 Apr 2005 19:46:34 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0071A43D1D for ; Tue, 5 Apr 2005 19:46:34 +0000 (GMT) (envelope-from dan.cojocar@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so463611wra for ; Tue, 05 Apr 2005 12:46:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=pdjFzdSPMerihK1wLbKXjSz0prVjzXQXZ7h645nBNv8xg8CtiVp+fin0kNr4fGNltHjkt4uOFQpQxlGHu82xglKoC521Lh8XAb4TWK3GEsvWa3wAeezoFBcVIj1JagYSiN/kr0rD6OEFAyVOS2sW729e1nqW9wS0GZAYLWn4mcs= Received: by 10.54.7.36 with SMTP id 36mr1156810wrg; Tue, 05 Apr 2005 12:46:32 -0700 (PDT) Received: by 10.54.26.4 with HTTP; Tue, 5 Apr 2005 12:46:32 -0700 (PDT) Message-ID: Date: Tue, 5 Apr 2005 22:46:32 +0300 From: Dan Cojocar To: freebsd-current@freebsd.org In-Reply-To: <200504051423.29530.jhb@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <200504051030.42657.jhb@FreeBSD.org> <200504051423.29530.jhb@FreeBSD.org> cc: Jung-uk Kim Subject: Re: Interrupt storm X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dan Cojocar List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Apr 2005 19:46:34 -0000 On Apr 5, 2005 9:23 PM, John Baldwin wrote: > On Tuesday 05 April 2005 12:44 pm, Dan Cojocar wrote: > > On Apr 5, 2005 5:30 PM, John Baldwin wrote: > > > On Tuesday 29 March 2005 01:35 pm, Jung-uk Kim wrote: > > > > On Tuesday 29 March 2005 01:22 pm, Dan Cojocar wrote: > > > > > Hello all, > > > > > > > > > > I noticed the following interrupt storm in my dmesg: > > > > > > > > > > Interrupt storm detected on "irq11: rl1"; throttling interrupt > > > > > source Interrupt storm detected on "irq5: rl0"; throttling > > > > > interrupt source > > > > > > > > > > Here is my vmstat -i: > > > > > interrupt total rate > > > > > irq0: clk 128600 199 > > > > > irq1: atkbd0 2499 3 > > > > > irq4: sio0 2 0 > > > > > irq5: rl0 128901 200 > > > > > irq8: rtc 82294 127 > > > > > irq11: rl1 128902 200 > > > > > irq12: psm0 16152 25 > > > > > irq14: ata0 12600 19 > > > > > irq15: ata1 71 0 > > > > > Total 500021 776 > > > > > > > > > > and here is my dmesg: > > > > > http://cs.ubbcluj.ro/~dan/dmesg.txt > > > > > > > > > > I have options DEVICE_POLLING and options HZ=200, i have tested > > > > > with greater HZ values like 1000, and without DEVICE_POLLING but i > > > > > have the same storm. > > > > > > > > Try this: > > > > > > > > http://docs.freebsd.org/cgi/mid.cgi?200503161154.04555.jkim > > > > > > He's not using an APIC so that won't make any difference. > > > > If I use APIC, I will get "watchdog timeout" as i posted in an old > email: > > >rl0: watchdog timeout > > >rl1: watchdog timeout > > >rl0: watchdog timeout > > >rl1: watchdog timeout > > >rl1: watchdog timeout > > >rl1: watchdog timeout > > >rl1: watchdog timeout > > > > Thanks, > > Dan > > That's indicative of other interrupt routing problems. This is with APIC + > ACPI, yes? If you disable ACPI, does APIC work or is it not found? Also, if > you disable ACPI, does non-APIC work ok? > Yes i get "watchdog timeout" if i use ACPI+APIC. Here is my dmesg for current+acpi+apic. http://cs.ubbcluj.ro/~dan/current+acpi+apic.txt If i disable acpi, the system is not able to boot to the login prompt. I did a break into debugger after waiting for 15 minutes and i noticed that the interrupts for rl0 are increasing very quickly, so i think that is why the system is so slow. Here is a dmesg for current without ACPI and with APIC, but only in single mode without if_rl module and many other modules. http://cs.ubbcluj.ro/~dan/current+noacpi+apic+singlemode.txt And if I disable ACPI i don't see the interrupts storms but i don't have ACPI :( http://cs.ubbcluj.ro/~dan/current+noacpi+noapic.txt And here is current with ACPI and without APIC: http://cs.ubbcluj.ro/~dan/current+acpi+noapic.txt Thanks, Dan