Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jay Estabrook <Jay.Estabrook@compaq.com>
To: axp-list@redhat.com
Subject: Re: IRQ's (was Re: Linux Driver)
Date: Thu, 9 Nov 2000 10:26:43 -0500	[thread overview]
Message-ID: <20001109102643.B1518@linux04.mro.cpqcorp.net> (raw)
In-Reply-To: <Pine.LNX.4.21.0011090610430.8975-100000@fogarty.jakma.org>; from paul@clubi.ie on Thu, Nov 09, 2000 at 06:17:47AM +0000

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
-----------------------------------------------------------------------------




  reply	other threads:[~2000-11-09 15:27 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-01 22:02 Linux Driver Tom Heibel
2000-11-02  0:35 ` Maurice Hilarius
2000-11-02 10:24   ` compiling pgplot library Dybczynski
2000-11-02 15:41     ` Compaq QVision 1024/E smo9
2000-11-02 17:59       ` David Woodhouse
2000-11-02 18:25       ` Christopher C. Chimelis
2000-11-02 18:43       ` Jay Estabrook
2000-11-02 15:44     ` additional info smo9
2000-11-03 20:54   ` Linux Driver Tom Heibel
2000-11-03 21:28     ` Alvin Starr
2000-11-03 22:03     ` Maurice Hilarius
     [not found]     ` <Pine.OSF.4.05.10011031622480.1373-100000@caesar.iplink.net >
2000-11-03 22:16       ` Maurice Hilarius
2000-11-03 23:06         ` Alvin Starr
     [not found]         ` <Pine.OSF.4.05.10011031743390.1373-100000@caesar.iplink.net >
2000-11-03 23:24           ` Maurice Hilarius
2000-11-03 23:50             ` Michal Jaegermann
2000-11-03 19:35               ` IRQ's (was Re: Linux Driver) W Bauske
2000-11-04  2:20                 ` Michal Jaegermann
2000-11-04  6:51                 ` Maurice Hilarius
2000-11-04  8:31                   ` W Bauske
2000-11-04 13:12                     ` Rich Payne
2000-11-09  3:56                       ` Jay Estabrook
2000-11-09  6:17                         ` Paul Jakma
2000-11-09 15:26                           ` Jay Estabrook [this message]
2000-11-04 17:10                     ` Michal Jaegermann
2000-11-09  4:34               ` Linux Driver Jay Estabrook
2000-11-03 23:28     ` Michal Jaegermann
  -- strict thread matches above, loose matches on Subject: below --
2000-11-04  1:07 IRQ's (was Re: Linux Driver) Robert M. Riches Jr.
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox