linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* generic method to assign IRQs
@ 2003-06-14  4:12 Florin Andrei
  2003-06-14  4:37 ` Mike Dresser
  0 siblings, 1 reply; 4+ messages in thread
From: Florin Andrei @ 2003-06-14  4:12 UTC (permalink / raw)
  To: linux-kernel

Is there any generic method to manually assign IRQs to devices? Not
something that applies to one kernel module or another, but something
that works in general.

It happens quite often, especially on multimedia workstations, when
multiple devices get assigned the same IRQ, the performance goes down
the toilet, and users experience strange things like "my video capture
application stutters when my system sends/receives traffic on the
network card."
In such cases, the usual recommendation is to "shuffle the PCI cards
around." Sometimes that works, sometimes it doesn't. It definitely
doesn't apply to laptops.
Another trick is to enable APIC in the kernel. While this is not a
direct solution, it helps sometimes by providing a larger IRQ space. In
some rare cases it makes the systems less stable.

However, quite often i've heard people saying "i wish i could just
manually assign IRQs to devices, just like i do on That Other Operating
System."

This issue may not matter much on "normal" systems, but it matters a
whole bunch on multimedia machines. Not being able to untangle like five
or six devices assigned to the same IRQ may render an otherwise powerful
system totally unusable for any decent media purpose (i'm talking here
about simple tasks such as watching movies, not necessarily of
professional stuff, which is even more demanding).

Any suggestions?

Thanks,

-- 
Florin Andrei

http://florin.myip.org/


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: generic method to assign IRQs
  2003-06-14  4:12 generic method to assign IRQs Florin Andrei
@ 2003-06-14  4:37 ` Mike Dresser
  2003-06-14  4:39   ` Trever L. Adams
  2003-06-15 22:26   ` Florin Andrei
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Dresser @ 2003-06-14  4:37 UTC (permalink / raw)
  To: linux-kernel

On 13 Jun 2003, Florin Andrei wrote:

> This issue may not matter much on "normal" systems, but it matters a
> whole bunch on multimedia machines. Not being able to untangle like five
> or six devices assigned to the same IRQ may render an otherwise powerful
> system totally unusable for any decent media purpose (i'm talking here
> about simple tasks such as watching movies, not necessarily of
> professional stuff, which is even more demanding).

Some of the problem is that motherboard manufacturers setup their hardware
so that slots HAVE to share IRQ's no matter what you do.  I've seen
motherboards that have shared IRQ's even if there are no cards plugged in.

Mike


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: generic method to assign IRQs
  2003-06-14  4:37 ` Mike Dresser
@ 2003-06-14  4:39   ` Trever L. Adams
  2003-06-15 22:26   ` Florin Andrei
  1 sibling, 0 replies; 4+ messages in thread
From: Trever L. Adams @ 2003-06-14  4:39 UTC (permalink / raw)
  To: Mike Dresser; +Cc: Linux Kernel Mailing List

On Sat, 2003-06-14 at 00:37, Mike Dresser wrote:
> Some of the problem is that motherboard manufacturers setup their hardware
> so that slots HAVE to share IRQ's no matter what you do.  I've seen
> motherboards that have shared IRQ's even if there are no cards plugged in.
> 
> Mike

Valid data point: Asus A7N8X motherboard.  Then again, it does have
everything, including the sink.

Trever
--
"Blessed is the man, who having nothing to say, abstains from giving
wordy evidence of the fact." -- George Eliot 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: generic method to assign IRQs
  2003-06-14  4:37 ` Mike Dresser
  2003-06-14  4:39   ` Trever L. Adams
@ 2003-06-15 22:26   ` Florin Andrei
  1 sibling, 0 replies; 4+ messages in thread
From: Florin Andrei @ 2003-06-15 22:26 UTC (permalink / raw)
  To: linux-kernel

On Fri, 2003-06-13 at 21:37, Mike Dresser wrote:
> On 13 Jun 2003, Florin Andrei wrote:
> 
> > This issue may not matter much on "normal" systems, but it matters a
> > whole bunch on multimedia machines. Not being able to untangle like five
> > or six devices assigned to the same IRQ may render an otherwise powerful
> > system totally unusable for any decent media purpose (i'm talking here
> > about simple tasks such as watching movies, not necessarily of
> > professional stuff, which is even more demanding).
> 
> Some of the problem is that motherboard manufacturers setup their hardware
> so that slots HAVE to share IRQ's no matter what you do.  I've seen
> motherboards that have shared IRQ's even if there are no cards plugged in.

I think i see what you mean.

Still, then what's the explanation for this thing: if i run a non-APIC
kernel, lots of devices are on the same IRQ. Just enable APIC in the
kernel, and change nothing else, and the busy IRQ becomes less busy.
In either case, there are tons of spare IRQs, which just sit there idle,
unused.

If the problem would be entirely in hardware, i would say APIC shouldn't
make a big difference.

Do i miss something?

-- 
Florin Andrei

http://florin.myip.org/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-06-15 22:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-14  4:12 generic method to assign IRQs Florin Andrei
2003-06-14  4:37 ` Mike Dresser
2003-06-14  4:39   ` Trever L. Adams
2003-06-15 22:26   ` Florin Andrei

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).