From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id EA4902F446 for ; Thu, 9 Nov 2000 10:27:07 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA9FR7j22406 for axp-list@listman.redhat.com; Thu, 9 Nov 2000 10:27:07 -0500 Received: from ztxmail01.ztx.compaq.com (ztxmail01.ztx.compaq.com [161.114.1.205]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA9FR7D22398 for ; Thu, 9 Nov 2000 10:27:07 -0500 Received: by ztxmail01.ztx.compaq.com (Postfix, from userid 12345) id 084A446F6; Thu, 9 Nov 2000 09:27:02 -0600 (CST) Received: from linux04.mro.cpqcorp.net (linux04.mro.cpqcorp.net [16.129.9.99]) by ztxmail01.ztx.compaq.com (Postfix) with ESMTP id 75EB9468B for ; Thu, 9 Nov 2000 09:27:01 -0600 (CST) Received: (from jestabro@localhost) by linux04.mro.cpqcorp.net (8.9.3/8.9.3) id KAA01571 for axp-list@redhat.com; Thu, 9 Nov 2000 10:26:43 -0500 Date: Thu, 9 Nov 2000 10:26:43 -0500 From: Jay Estabrook To: axp-list@redhat.com Subject: Re: IRQ's (was Re: Linux Driver) Message-ID: <20001109102643.B1518@linux04.mro.cpqcorp.net> Mail-Followup-To: axp-list@redhat.com References: <20001108225656.B3021@linux04.mro.cpqcorp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from paul@clubi.ie on Thu, Nov 09, 2000 at 06:17:47AM +0000 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Thu, Nov 09, 2000 at 06:17:47AM +0000, Paul Jakma wrote: > On Wed, 8 Nov 2000, Jay Estabrook wrote: > > > > > Richard Henderson completed the work by doling out interrupts to CPUs > > on a sort-of static round-robin allocation at register_interrupt() > > how is IRQ distribution done on i386 SMP? iirc it's a lot more > dynamic on it, (irq's are routed to cpu randomly?) That's the way the IO-APIC hardware works, IIRC; only one CPU gets it, and the APIC tries to use some heuristic to determine which one. I'm not really sure I want the chip designers to decide something like that for *me*... ;-} > what's holding the alpha port back from a similar dynamic IRQ > scheme? i imagine alpha PIC must be at least as sophisticated as i386 > APIC if not more.. :) Our hardware doesn't work that way, and I'm not sure we'd want the "sophistication"; ask some of the folks who've had to make that code work how hard it was... :-\ As I said, Andrea's first working attempts used a broadcast of the interrupt to *all* CPUs, with the first one "getting there" doing the processing. Unfortunately, on Alpha, there's a *lot* more overhead in terms of delivering an interrupt, so those CPUs that do NOT get there first take a real hit in terms of overhead (pipeline flushing, PAL mode entry/exit, etc). --Jay++ ----------------------------------------------------------------------------- Jay A Estabrook Alpha Engineering - LINUX Project Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080 200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com -----------------------------------------------------------------------------