From owner-freebsd-current@FreeBSD.ORG Thu Dec 11 09:55:35 2003 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 DCF5916A4D7 for ; Thu, 11 Dec 2003 09:55:35 -0800 (PST) Received: from hex.athame.co.uk (guru164.netsonic.fi [194.29.193.164]) by mx1.FreeBSD.org (Postfix) with ESMTP id 366A843D2F for ; Thu, 11 Dec 2003 09:55:34 -0800 (PST) (envelope-from andy@athame.co.uk) Received: from vimes.int.athame.co.uk ([192.168.1.3]) by hex.athame.co.uk with esmtp (Exim 4.24; FreeBSD 5.1) id 1AUV2B-0006MQ-KN; Thu, 11 Dec 2003 19:55:31 +0200 From: Andy Fawcett To: Nate Lawson Date: Thu, 11 Dec 2003 19:55:36 +0200 User-Agent: KMail/1.5.94 References: <20031208094524.A38857@root.org> <20031209093848.W42685@root.org> <200312101218.25117.andy@athame.co.uk> In-Reply-To: <200312101218.25117.andy@athame.co.uk> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200312111955.36886.andy@athame.co.uk> cc: current@freebsd.org Subject: Re: PATCH - acpica-20031203 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, 11 Dec 2003 17:55:36 -0000 On Wednesday 10 December 2003 12:18, Andy Fawcett wrote: > On Tuesday 09 December 2003 7:44 pm, Nate Lawson wrote: > > On Tue, 9 Dec 2003, Andy Fawcett wrote: > > > I've just installed 5.2-CURRENT (post -BETA branching) to my Asus > > > P2B-DS based system, and I am seeing slow performance. Looking at > > > the output of "ps -axu" I can see massive amounts of Interrupt > > > activity (removed VSZ and RSS fields to save space): > > > > > > USER PID %CPU %MEM TT STAT STARTED TIME COMMAND > > > root 30 95.3 0.0 ?? RL 1:08PM 4:11.77 (irq20: > > > acpi0) root 12 53.9 0.0 ?? RL 1:08PM 5:08.86 (idle: > > > cpu0) root 11 50.0 0.0 ?? RL 1:08PM 4:28.89 (idle: > > > cpu1) I've now got it at 5.2-RC code-level. > > Try this in loader.conf to disable APIC irq routing: > > > > hint.apic.0.disabled=1 > > That has removed the spurious interrupt problem from my system. I'll > do some more experimenting later, and provide some feedback if I find > anything out. This turned my SMP system into a UP system, so a regression from 5.1R. However, I applied the (uncommitted) patch from http://www.FreeBSD.org/~jhb/patches/acpi_irq.patch rebuilt the kernel, and removed the hint, and rebooted. acpi0: on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 20 SMP: AP CPU #1 Launched! I now have my SMP system back, and no spurious interrupts either. Maybe this patch should be committed, if it causes no problems elsewhere? Cheers Andy -- Andy Fawcett | andy@athame.co.uk | tap@kde.org "In an open world without walls and fences, | tap@lspace.org we wouldn't need Windows and Gates." -- anon | tap@fruitsalad.org